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

Disassembly:
push 0xffffffffffffffff
push 0x4071c8
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x40b020]
xor eax, esp
mov dword [esp + 0xa8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40b020]
xor eax, esp
push eax
lea eax, [esp + 0xaa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xab4]
xor edi, edi
push 0x400
lea eax, [esp + 0x6a2]
push edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov word [esp + 0x6a8], di
call fcn.00404b50
add esp, 0xc
mov ecx, ebp
mov dword [esp + 0x20], 0x200
call dword [0x408158]
push 0x208
lea ecx, [esp + 0x496]
push edi
push ecx
mov word [esp + 0x49c], di
call fcn.00404b50
push 0x208
lea edx, [esp + 0x8a]
push edi
push edx
mov word [esp + 0x90], di
call fcn.00404b50
mov esi, dword [0x4080f8]
add esp, 0x18
push 0x104
lea eax, [esp + 0x7c]
push eax
push edi
call esi
test eax, eax
je 0x4033f7
lea ecx, [esp + 0x78]
push ecx
call dword [0x408284]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x494]
push 0x104
push eax
call dword [0x40820c]
add esp, 0xc
push 0x408770
lea ecx, [esp + 0x7c]
push ecx
call dword [0x40827c]
lea edx, [esp + 0x78]
push edx
call dword [0x408288]
test eax, eax
je 0x4033f7
lea eax, [esp + 0x490]
push eax
mov ecx, ebp
call dword [0x408170]
lea eax, [edi + 1]
jmp 0x403662
xor eax, eax
push 0x1c
lea ecx, [esp + 0x28]
push ecx
push fcn.00403120
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [0x4080bc]
test eax, eax
jbe 0x4034f9
push 0x208
lea edx, [esp + 0x28a]
push edi
push edx
mov word [esp + 0x290], di
call fcn.00404b50
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0x104
lea eax, [esp + 0x288]
push eax
push ecx
call esi
mov ebx, dword [0x408184]
lea edx, [esp + 0x284]
push 0x5c
push edx
call ebx
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4034f9
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x44]
mov word [esi], di
call dword [0x40815c]
push 0x4086fc
lea ecx, [esp + 0x44]
mov dword [esp + 0xab0], edi
call dword [0x408174]
push 0x408770
lea ecx, [esp + 0x44]
call dword [0x408174]
lea ecx, [esp + 0x40]
call dword [0x408164]
push eax
call dword [0x408288]
test eax, eax
jne 0x40352e
lea ecx, [esp + 0x284]
push 0x5c
push ecx
call ebx
add esp, 8
lea ecx, [esp + 0x40]
mov esi, eax
mov dword [esp + 0xaac], 0xffffffff
call dword [0x40816c]
cmp esi, edi
jne 0x403480
push 0x4087f4
push 0x408804
mov dword [esp + 0x24], edi
call dword [0x4080c0]
push eax
call dword [0x408098]
mov esi, eax
cmp esi, edi
je 0x40355f
lea eax, [esp + 0x1c]
push eax
call dword [0x40804c]
push eax
call esi
test eax, eax
jne 0x40355f
jmp 0x403563
lea edx, [esp + 0x284]
push edx
mov ecx, ebp
call dword [0x408170]
lea ecx, [esp + 0x40]
mov esi, 1
mov dword [esp + 0xaac], 0xffffffff
call dword [0x40816c]
mov eax, esi
jmp 0x403662
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, 0x200
lea ecx, [esp + 0x18]
push ecx
mov esi, 1
add eax, esi
push eax
push edi
push 0x408818
push 0x80000002
call dword [0x408024]
cmp eax, edi
jne 0x403616
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x6a0]
push eax
push edi
push edi
push 0x40884c
push ecx
call dword [0x408020]
test eax, eax
jne 0x403603
lea edx, [esp + 0x69c]
push edx
lea eax, [esp + 0x7c]
push 0x104
push eax
call dword [0x40820c]
add esp, 0xc
push 0x408770
lea ecx, [esp + 0x7c]
push ecx
call dword [0x40827c]
lea edx, [esp + 0x78]
push edx
call dword [0x408288]
test eax, eax
je 0x403603
lea eax, [esp + 0x69c]
push eax
mov ecx, ebp
call dword [0x408170]
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x40801c]
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x403662
lea ecx, [esp + 0x5c]
call dword [0x408168]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0xab0], esi
call fcn.00403690
add esp, 4
test eax, eax
je 0x403649
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call dword [0x408160]
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0xaac], 0xffffffff
call dword [0x40816c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xaa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8c]
xor ecx, esp
call fcn.00404b40
add esp, 0xa9c
ret