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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x431428
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x43140c
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x431181
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x431170
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x431170
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x431170
cmp dword [edx + 4], 1
jne 0x431170
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae 0x4311b7
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0x62610c], ecx
ja 0x4311a6
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00446fa0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4313fb
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call fcn.00447be0
cmp dword [esp + 0x10], 0xffffffff
jne 0x4313ea
mov eax, dword [esp + 0x34]
lea ecx, [eax + 0x23]
cmp byte [eax + 0x23], 1
ja 0x4313d8
xor edx, edx
test edx, edx
je 0x43122d
lea ebx, [0x580f10]
cmp edx, ebx
jne 0x43123e
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.004475e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x23], 4
ja 0x4313c5
xor ebx, ebx
test ebx, ebx
jne 0x431341
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp ecx, 8
jge 0x431315
xor edx, edx
test dl, dl
je 0x4312e0
mov edx, 1
test dl, dl
je 0x4312a3
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
cmp ecx, 8
jge 0x4312bf
xor eax, eax
test al, al
jne 0x431292
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov dword [esp], eax
lea eax, [0x542850]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.004026c0
movzx eax, byte [esp + 0xc]
jmp 0x4312aa
cmp ecx, 0x11
jge 0x4312e9
xor edx, edx
jmp 0x43128e
mov dword [esp], eax
lea ecx, [0x546e11]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.004026c0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x43128e
mov dword [esp], eax
lea ecx, [0x542870]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.004026c0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x431285
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.00447ae0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4313b8
cmp eax, 0x100000
jae 0x43141d
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00447660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x431272
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x431272
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x30]
lea ebp, [esi + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x43126a
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x43121f
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov ecx, 0x100000
call fcn.004598d0
nop
call fcn.00458300
jmp fcn.00431140