Function at 0x1007bd20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
mov esi, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], 0
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x1007c7d8
mov edx, 0x65
test esi, esi
je 0x1007bd6d
movzx edx, byte [esi]
lea eax, [edx - 0x13]
mov dword [esp + 0x18], edx
cmp eax, 0x8e
ja case.0x1007bd86.21
movzx eax, byte [eax + 0x1007cb04]
jmp dword [eax*4 + 0x1007ca98]
movsx eax, word [esi + 0x22]
mov edx, dword [esi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x1007bdab
mov eax, dword [eax + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x1007bd86.152
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push esi
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x62
call fcn.10063580
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x1007bdf1
mov ecx, dword [edi + 0x38]
test ecx, ecx
jle 0x1007bdee
movsx eax, word [esi + 0x20]
add eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x3c]
movzx eax, byte [esi + 0x26]
mov edx, dword [esi + 0x2c]
push eax
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.1007bac0
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x2c]
push esi
push 0
call fcn.1007b600
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
push esi
push 0
mov edx, dword [edx + 8]
call fcn.1007b570
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
mov edx, dword [ebp + 8]
call fcn.100637b0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, 0x50
push esi
push 0
call fcn.100636d0
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
lea ecx, [esi + 2]
call fcn.10047610
mov ecx, dword [esp + 0xc]
lea edx, [esi + 2]
lea edi, [eax - 1]
mov ecx, dword [ecx]
push edi
call fcn.100487f0
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x52
push 0
sar eax, 1
push esi
push eax
call fcn.10063930
add esp, 0x14
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
mov edx, 0x53
push eax
call fcn.100636d0
mov eax, dword [esi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x1007ca8e
mov edx, dword [esp + 0x2c]
mov esi, dword [edi + 0x1a8]
mov ecx, esi
movsx edx, word [edx + 0x20]
call fcn.10048d10
mov ecx, dword [esp + 0xc]
mov edx, eax
push 0xfffffffffffffffe
mov dword [esi], 0
call fcn.100643c0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.1007bd20
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
cmp ecx, eax
je 0x1007bf5d
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov edx, 0x56
call fcn.100636d0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.10083270
mov ecx, dword [esp + 0xc]
mov edx, 0x5e
movsx eax, al
push eax
push dword [ebp + 8]
call fcn.100636d0
mov edx, dword [esp + 0x28]
mov ecx, edi
push 1
call fcn.1007b850
mov eax, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x1c], 0x80
cmp edx, 0x1d
sete al
lea edx, [eax + 0x24]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.10076c10
mov ecx, edi
test eax, eax
je 0x1007bfdd
push dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, esi
call fcn.10076d90
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.1007cc70
mov edx, dword [esp + 0x30]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
mov edx, dword [edx + 0x10]
push eax
call fcn.1007cc70
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [ebp + 8]
or ecx, 0x20
push ecx
push edx
mov edx, dword [esp + 0x28]
mov ecx, edi
push eax
mov eax, dword [esp + 0x38]
push esi
push dword [esp + 0x28]
push dword [eax + 0x10]
call fcn.10076b50
add esp, 0x18
jmp 0x1007c18d
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1007cc70
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
call fcn.1007cc70
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push esi
push eax
call fcn.10063580
add esp, 0xc
jmp 0x1007c18d
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0x86
jne 0x1007c098
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
push 1
call fcn.1007b600
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp al, 0x84
jne 0x1007c0b5
mov esi, dword [ebp + 8]
mov edx, dword [edx + 8]
push esi
push 1
call fcn.1007b570
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 0x86
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], 0x4400
mov ecx, edi
mov dword [esp + 0x4c], 0
call fcn.1007cc70
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
call fcn.1007cc70
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
push esi
push eax
mov edx, 0x30
call fcn.10063580
add esp, 0xc
jmp 0x1007c18d
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1007cc70
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
call fcn.100636d0
add esp, 8
jmp 0x1007c18d
mov edx, dword [ebp + 8]
push edx
push 1
mov edx, 0x4d
call fcn.100636d0
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.1007cc70
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push eax
call fcn.10063660
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x4d
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.100636d0
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, esi
call fcn.10063eb0
mov edx, dword [esp + 0x14]
test edx, edx
je 0x1007c1cc
mov al, byte [edi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x1007c1cc
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x98]
xor ecx, ecx
test esi, esi
jle 0x1007c1bd
cmp dword [eax + 0xc], edx
je 0x1007c21c
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x1007c1b0
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x160], edx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1007ca8e
mov al, byte [edi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x1007ca8e
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x98]
xor ecx, ecx
test esi, esi
jle 0x1007c204
cmp dword [eax + 0xc], edx
je 0x1007c222
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x1007c1f7
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x160], edx
inc byte [edi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 6], 1
jmp 0x1007c1cc
mov byte [eax + 6], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1007c250
push dword [esi + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.10047760
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0
mov al, byte [eax + 0x42]
mov byte [esp + 0x28], al
je 0x1007c2a5
mov ecx, esi
call fcn.10078df0
test eax, eax
je 0x1007c2a5
push 0xffffffffffffffff
mov edx, esi
mov ecx, edi
call fcn.1007cba0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
je 0x1007c3a4
mov dword [esp + 0x18], 0
xor eax, eax
mov ecx, dword [esi + 8]
mov edx, ecx
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x48], eax
call fcn.10088ab0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1007c5e3
cmp dword [eax + 0x10], 0
jne 0x1007c5e3
movzx eax, word [eax + 2]
test eax, 0x200
je 0x1007c3ba
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.10063b40
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.1007cd30
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, 1
jle 0x1007c390
dec eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x20], eax
lea esp, [esp]
push dword [esp + 0x28]
mov edx, 0x23
mov ecx, esi
push dword [ebp + 8]
call fcn.100636d0
mov edx, dword [ebp + 8]
mov ecx, edi
push 1
call fcn.1007b850
mov eax, dword [esp + 0x24]
add esp, 0xc
inc dword [edi + 0x40]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.1007cd30
add esp, 4
mov ecx, edi
call fcn.1007b8d0
add dword [esp + 0x1c], 0x18
dec dword [esp + 0x20]
jne 0x1007c340
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.10063b90
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1007c2ba
mov eax, dword [eax]
jmp 0x1007c2bc
test eax, 0x400
je 0x1007c3dd
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.1007bd20
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x1007c476
mov esi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
jge 0x1007c428
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + eax]
call fcn.10078d90
mov edx, dword [esp + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x1007c428
or dword [esp + 0x38], eax
mov edi, dword [esp + 0x14]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x34]
je 0x1007c45e
cmp dword [esp + 0x20], 0
jne 0x1007c45e
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [edx + eax]
call fcn.10076930
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x18
inc ecx
rol eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
cmp ecx, edx
jl 0x1007c400
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1007c4f6
cmp dword [esp + 0x38], 0
je 0x1007c49a
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, edx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x2c], eax
jmp 0x1007c4a9
mov ecx, edi
call fcn.1007e110
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
test byte [edx + 2], 0xc0
je 0x1007c4d2
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov al, byte [eax]
cmp al, 0x98
je 0x1007c4c6
cmp al, 0x9a
jne 0x1007c4d2
mov al, byte [edx + 2]
mov edx, dword [esp + 0x34]
and al, 0xc0
mov byte [edx + 0x26], al
inc dword [edi + 0x40]
mov edx, ecx
push 3
push 0
push dword [esp + 0x18]
mov ecx, edi
call fcn.1007cef0
add esp, 0xc
mov ecx, edi
call fcn.1007b8d0
mov ecx, dword [esp + 0x18]
jmp 0x1007c4fe
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x3c]
cmp edx, 2
jl 0x1007c52c
test byte [esi + 4], 0x80
je 0x1007c52c
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x1c]
mov ecx, esi
push dword [eax + 0x18]
push edx
mov edx, dword [esp + 0x1c]
call fcn.100a9980
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x1007c552
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x1007c54e
mov eax, dword [ecx + 4]
mov ecx, esi
push dword [eax]
push edx
mov edx, dword [esp + 0x1c]
call fcn.100a9980
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x1007c552
mov eax, dword [esp + 0x14]
test byte [eax + 2], 0x20
je 0x1007c585
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1007c563
mov eax, dword [esi + 8]
mov esi, dword [esp + 0xc]
mov edx, 0x59
push 0xfffffffffffffffd
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.10063930
mov eax, dword [esp + 0x28]
add esp, 0x14
jmp 0x1007c589
mov esi, dword [esp + 0xc]
push 0xfffffffffffffffc
push eax
push dword [ebp + 8]
mov edx, 0x5a
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x48]
call fcn.10063930
mov eax, dword [esp + 0x50]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.10063e90
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1007ca8e
cmp dword [esp + 0x38], 0
jne 0x1007ca8e
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.1007e170
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push str.unknown_function:__s__
push edi
call fcn.10047760
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x77
jne 0x1007c629
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x1007c629
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.10047760
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.10079db0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x1007c65c
push 0
push 0
mov ecx, edi
call fcn.10079db0
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1007c67f
mov ecx, dword [esi + 0xc]
call fcn.10076c50
cmp edx, eax
je 0x1007c67f
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.10047760
add esp, 0x10
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10063b40
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.10063b40
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edx, 0x50
push 0
mov edi, eax
call fcn.100636d0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push edi
push esi
call fcn.1007a410
push dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov edx, 0x4d
push 1
call fcn.100636d0
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.10063b90
mov esi, dword [ebp + 8]
mov edx, 0x5c
push 0
push esi
call fcn.100636d0
mov ecx, dword [esp + 0x2c]
add esp, 0x20
mov edx, edi
call fcn.10063b90
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x2c]
push 0
push 0
push esi
call fcn.1007d0f0
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.1007bd20
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov edx, 0x90
push dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], eax
movsx ecx, word [eax + 0x2a]
movsx eax, word [esi + 0x20]
inc ecx
imul ecx, dword [esi + 0x1c]
inc eax
add eax, ecx
mov ecx, edi
push eax
call fcn.100636d0
movzx eax, word [esi + 0x20]
add esp, 8
test ax, ax
js 0x1007ca8e
movsx ecx, ax
mov eax, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x1007ca8e
push dword [ebp + 8]
mov edx, 0x5d
mov ecx, edi
call fcn.10063660
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push edi
call fcn.10047760
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x80], 0
jne 0x1007c7e0
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.10047760
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x1007c7f8
mov eax, dword [edi + 0x7c]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0xc]
mov al, byte [esi + 1]
push 0
cmp al, 4
jne 0x1007c820
push dword [esi + 8]
mov edx, 0x4c
push 0
push 4
push 0
call fcn.10063930
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.10087ab0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
call fcn.10063b40
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x1007c8f0
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmm0, xmmword [edx + 0x20]
lea edx, [esp + 0x44]
movdqu xmmword [esp + 0x64], xmm0
call fcn.1007bc60
and dword [esp + 0x48], 0xffffefff
add esp, 4
mov ecx, eax
mov al, byte [esp + 0x40]
mov byte [esp + 0x66], al
lea eax, [esp + 0x70]
mov byte [esp + 0x40], 0x9d
push 0x30
push 0
push eax
mov dword [esp + 0x68], ecx
call sub.MSVCR120.dll_memset
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x4c]
mov dword [esp + 0x88], eax
add esp, 0xc
lea eax, [esp + 0x70]
mov byte [esp + 0x70], 0x25
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x1007c9e9
mov eax, dword [esp + 0x1c]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x34], ecx
nop
inc dword [edi + 0x40]
mov eax, dword [eax]
test edx, edx
je 0x1007c922
mov dword [esp + 0x80], eax
jmp 0x1007c926
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1007c963
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10044dc0
mov ecx, dword [esp + 0x40]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1007c971
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
push 0x10
push eax
push dword [esp + 0x28]
mov dword [esp + 0x44], eax
push edi
call fcn.1007d560
mov edx, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.1007cd30
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ecx, esi
call fcn.10063740
mov ecx, edi
call fcn.1007b8d0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x1007c9cc
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add eax, 0x30
dec dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jne 0x1007c910
mov eax, dword [esp + 0x30]
test al, 1
je 0x1007ca14
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
inc dword [edi + 0x40]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.1007cd30
add esp, 4
mov ecx, edi
call fcn.1007b8d0
jmp 0x1007ca6f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007ca3a
push 0
push dword [ebp + 8]
mov edx, 0x50
mov ecx, esi
push 0
call fcn.10063540
add esp, 0xc
jmp 0x1007ca6f
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x1007ca8e
mov eax, dword [esp + 0x10]
lea ecx, [eax*4 + 4]
sub edx, ecx
mov ecx, dword [esi + 0x88]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret