Function at 0x4032d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4254b8
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x42fcec]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42fcec]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdc]
mov ebx, ecx
mov edi, edx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x34], 2
mov dword [esp + 0x58], ecx
cmp ecx, 2
jae 0x403346
push edi
push eax
call fcn.00402fe0
jmp 0x403802
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], ax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
lea eax, [ebx + 0x136]
mov ecx, eax
mov dword [esp + 0xd4], ebp
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4033c0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x80]
call fcn.00404cd0
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 4]
mov eax, dword [ebx + 0x101c4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [edi]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0xac], ecx
mov ecx, dword [ebx + 0xa0]
mov dword [esp + 0xb0], edx
mov edx, dword [ebx + 0xa4]
mov dword [esp + 0x98], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebp
cmp eax, ebp
je 0x403493
cmp dword [ebx + 0x101c8], ebp
jne 0x403493
add dword [ebx + 0x30], 1
mov eax, esi
push eax
adc dword [ebx + 0x34], ebp
lea edi, [ebx + 0x10140]
mov dword [esp + 0xc0], 5
call fcn.00404a90
cmp dword [esp + 0x94], 8
jb 0x403489
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00407d1d
add esp, 4
mov eax, 1
jmp 0x403802
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
and edx, dword [eax + 4]
cmp edx, 0xffffffff
jne 0x403607
mov ebp, 1
mov dword [esp + 0x18], ebp
jmp 0x4034b4
mov ebp, dword [esp + 0x18]
mov eax, dword [edi + 0x14]
dec eax
cmp ebp, eax
jae 0x403746
mov ecx, dword [edi + 0x1c]
xor eax, eax
mov esi, ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
call fcn.00402790
test eax, eax
je 0x403724
mov esi, ebp
cmp ebp, dword [edi + 0x14]
jae 0x403746
mov edx, dword [esp + 0x68]
lea eax, [ebp + ebp*4]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x64], eax
lea eax, [eax + edx + 8]
mov dword [esp + 0x78], eax
cmp esi, ebp
je 0x40354f
mov ecx, dword [eax - 0x30]
add ecx, dword [eax - 0x28]
mov edx, dword [eax - 0x2c]
adc edx, dword [eax - 0x24]
cmp ecx, dword [eax - 8]
jne 0x40354f
cmp edx, dword [eax - 4]
je 0x403559
add dword [esp + 0x1c], 1
adc dword [esp + 0x20], 0
cmp dword [esp + 0x20], 0
ja 0x403576
jb 0x403569
cmp dword [esp + 0x1c], 2
ja 0x403576
mov ecx, dword [eax]
add dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
adc dword [esp + 0x50], edx
mov ecx, dword [eax]
add dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
adc dword [esp + 0x40], edx
inc esi
add eax, 0x28
cmp esi, dword [edi + 0x14]
jb 0x403535
xor esi, esi
cmp dword [esp + 0x20], esi
ja 0x40359f
cmp dword [esp + 0x1c], 2
jb 0x403748
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
mov eax, ebx
call fcn.00402660
test eax, eax
jne 0x403610
mov eax, dword [edi + 0x14]
dec eax
cmp ebp, eax
jae 0x403748
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea eax, [eax + ecx + 0x28]
mov ecx, dword [eax - 0x28]
add ecx, dword [eax - 0x20]
mov edx, dword [eax - 0x24]
adc edx, dword [eax - 0x1c]
cmp ecx, dword [eax]
jne 0x403606
cmp edx, dword [eax + 4]
jne 0x403606
mov ecx, dword [edi + 0x14]
inc ebp
dec ecx
add eax, 0x28
cmp ebp, ecx
jb 0x4035e0
jmp 0x403748
inc ebp
mov dword [esp + 0x18], ebp
jmp 0x4034b4
mov eax, dword [esp + 0x78]
mov esi, ebp
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp dword [esp + 0x28], ecx
jb 0x40366a
ja 0x403629
cmp dword [esp + 0x24], edx
jb 0x40366a
inc dword [esp + 0x30]
sub dword [esp + 0x24], edx
mov edx, dword [eax + 8]
sbb dword [esp + 0x28], ecx
add dword [esp + 0x44], edx
mov ecx, dword [eax + 0xc]
adc dword [esp + 0x48], ecx
cmp esi, ebp
je 0x40365d
mov ecx, dword [eax - 0x30]
add ecx, dword [eax - 0x28]
mov edx, dword [eax - 0x2c]
adc edx, dword [eax - 0x24]
cmp ecx, dword [eax - 8]
jne 0x40365d
cmp edx, dword [eax - 4]
je 0x403661
inc dword [esp + 0x38]
inc esi
add eax, 0x28
cmp esi, dword [edi + 0x14]
jb 0x403616
cmp dword [esp + 0x38], 1
mov ebx, dword [esp + 0x60]
jne 0x403682
add ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
jmp 0x4034b4
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x90], edx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x94], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [ecx + eax + 0x20]
mov dword [ebx + 0x98], edx
mov eax, dword [ecx + eax + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, edi
mov ecx, ebx
call fcn.004027f0
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x4034b0
xor esi, esi
cmp dword [esp + 0x34], esi
je 0x40373b
mov ecx, dword [edi + 0x1c]
dec dword [esp + 0x34]
push ecx
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
call fcn.00407d1d
mov edx, dword [esp + 0x30]
add esp, 4
push edx
mov ecx, edi
mov dword [edi + 0x1c], esi
call fcn.00402af0
xor ebp, ebp
jmp 0x403493
mov dword [ebx + 0x10138], 1
mov dword [esp + 0xbc], 3
jmp 0x403746
mov dword [esp + 0xbc], 2
xor esi, esi
mov eax, dword [edi + 0x1c]
push eax
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
call fcn.00407d1d
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
mov ecx, edi
mov dword [edi + 0x1c], esi
call fcn.00402af0
mov edx, dword [esp + 0x58]
sub dword [ebx + 0x58], edx
mov ecx, 1
sbb dword [ebx + 0x5c], esi
mov eax, dword [edi + 0x10]
cmp eax, ecx
jbe 0x4037ac
add dword [ebx + 0x58], eax
adc dword [ebx + 0x5c], esi
add dword [ebx + 0x30], ecx
adc dword [ebx + 0x34], esi
cmp dword [esp + 0xbc], 2
jae 0x4037ca
mov dword [esp + 0xbc], ecx
jmp 0x4037ca
add dword [ebx + 0x48], ecx
push edi
push ebx
adc dword [ebx + 0x4c], esi
call fcn.00402c20
cmp dword [esp + 0xbc], 2
jae 0x4037ca
mov dword [esp + 0xbc], esi
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x7c]
push ecx
lea edi, [ebx + 0x10140]
mov dword [esp + 0xa4], eax
call fcn.00404a90
cmp dword [esp + 0x94], 8
jb 0x4037fe
mov edx, dword [esp + 0x80]
push edx
call fcn.00407d1d
add esp, 4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00413fdc
add esp, 0xc4
ret 4