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

Disassembly:
sub esp, 0x60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
inc dword [0x537da0]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4035ec
cmp byte [eax], bl
je 0x4035ec
mov eax, dword [ebp + 4]
test eax, eax
je 0x4035ec
cmp byte [eax], bl
je 0x4035ec
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0040c4b0
add esp, 8
cmp dword [esp + 0x14], ebx
je 0x40330e
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x14]
jmp 0x403312
mov esi, dword [esp + 0x74]
test ax, ax
je 0x40331f
mov di, ax
jmp 0x4035f4
push 1
mov eax, dword [0x537da0]
push eax
push 0x1d
push esi
call fcn.0040f090
add esp, 0x10
test ax, ax
je 0x403340
mov di, 0xff7d
jmp 0x4035f4
lea edi, [esp + 0x1c]
xor eax, eax
mov ecx, 0x14
rep stosd dword es:[edi], eax
mov word [esp + 0x1c], 0x50
mov eax, dword [ebp + 0x84]
mov ecx, dword [ebp + 0x8c]
mov word [esp + 0x1e], 0x222
mov edx, dword [ebp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x98]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov ax, word [ebp + 0xac]
test ax, ax
mov word [esp + 0x48], ax
jne 0x4033b9
mov word [esp + 0x48], 1
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + 0xa8]
mov dword [esp + 0x40], eax
test esi, esi
mov eax, 0
mov dword [esp + 0x44], ecx
je 0x4033df
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x403400
test esi, esi
je 0x4033f6
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x58], ecx
jmp 0x40340a
mov dword [esp + 0x58], 0
jmp 0x40340a
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0x58], eax
mov ax, word [ebp + 0xb8]
lea ecx, [esp + 0x1c]
mov word [esp + 0x68], ax
push ecx
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
call fcn.00403820
add esp, 0x10
test ax, ax
je 0x40343b
mov di, ax
jmp 0x4035f4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x134], eax
mov edx, dword [ebp + 0x7c]
test edx, edx
je 0x40349d
lea edi, [esp + 0x1c]
xor eax, eax
mov ecx, 0x15
rep stosd dword es:[edi], eax
mov word [esp + 0x1c], 0x54
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
mov word [esp + 0x1e], 0x222
mov dword [esp + 0x24], edx
push eax
mov edx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x48], 0xb
push edx
push esi
call fcn.0040d8c0
add esp, 0x10
test ax, ax
je 0x40349d
mov di, 0xffdf
jmp 0x4035f4
mov eax, dword [ebp + 0x80]
xor edi, edi
test eax, eax
je 0x40352e
lea ecx, [esp + 0x1c]
mov dword [ecx], edi
push eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov word [esp + 0x20], 0x14
mov word [esp + 0x22], 0x222
mov edx, dword [eax + 0x7c]
push edx
push 0xffffffffffffffff
push edi
push esi
call fcn.004b1540
mov dword [esp + 0x38], eax
add esp, 0x14
cmp eax, edi
jne 0x4034f3
mov di, 0xffea
jmp 0x4035f4
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push 0
push ecx
push esi
call fcn.004056d0
mov di, ax
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x403520
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.004b11f0
add esp, 8
test di, di
je 0x40352e
mov di, 0xff9a
jmp 0x4035f4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x98]
mov edi, dword [edx + 0x28]
test edi, edi
je 0x4035d7
cmp dword [edi + 8], 0
je 0x4035d7
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x28]
test ebp, ebp
je 0x40358f
test esi, esi
je 0x40356e
mov eax, dword [esi + 0xac]
test eax, eax
je 0x40356e
mov ecx, dword [eax + 0x2c]
jmp 0x403570
xor ecx, ecx
mov eax, dword [ebp + 0x34]
mov ebx, dword [edi]
mov edx, dword [eax + 8]
push edx
push ebx
push ecx
call fcn.004ae9e0
add esp, 0xc
test ax, ax
jne 0x40358f
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x40355b
xor ebx, ebx
test ebp, ebp
jne 0x4035d7
lea eax, [esp + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push eax
lea edx, [esp + 0x1c]
mov dword [eax + 0xc], ebx
push edx
mov dword [eax + 0x10], ebx
mov word [esp + 0x24], 0x14
mov word [esp + 0x26], 0x222
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
push ecx
push esi
call fcn.004056d0
mov di, ax
add esp, 0x10
cmp di, bx
jne 0x4035f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
pop ebp
pop edi
pop esi
mov dword [eax], ecx
xor ax, ax
pop ebx
add esp, 0x60
ret
mov di, 0xfff3
mov esi, dword [esp + 0x74]
dec dword [0x537da0]
test di, di
jge 0x403633
cmp dword [esp + 0x10], 0
je 0x40361f
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00405190
mov ax, di
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x60
ret
cmp dword [esp + 0x14], 0
je 0x403633
mov eax, dword [esp + 0x14]
push eax
call fcn.0040ce40
add esp, 4
mov ax, di
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x60
ret