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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4372f8
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x4372dc
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x437051
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x437040
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x437040
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x437040
cmp dword [edx + 4], 1
jne 0x437040
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae 0x437087
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0xa861fc], ecx
ja 0x437076
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0044fa20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4372cb
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 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.004507b0
cmp dword [esp + 0x10], 0xffffffff
jne 0x4372ba
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x27]
cmp byte [eax + 0x27], 1
ja 0x4372a8
xor edx, edx
test edx, edx
je 0x4370fd
lea ebx, [0x8a7bd8]
cmp edx, ebx
jne 0x43710e
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00450080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x27], 3
ja 0x437295
xor ebx, ebx
test ebx, ebx
jne 0x437211
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp ecx, 8
jge 0x4371e5
xor edx, edx
test dl, dl
je 0x4371b0
mov edx, 1
test dl, dl
je 0x437173
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
cmp ecx, 8
jge 0x43718f
xor eax, eax
test al, al
jne 0x437162
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, [0x805c50]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.004028f0
movzx eax, byte [esp + 0xc]
jmp 0x43717a
cmp ecx, 0x11
jge 0x4371b9
xor edx, edx
jmp 0x43715e
mov dword [esp], eax
lea ecx, [0x80b110]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.004028f0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x43715e
mov dword [esp], eax
lea ecx, [0x805c80]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.004028f0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x437155
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp], edx
mov eax, dword [esp + 0x34]
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.004506b0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x437288
cmp eax, 0x100000
jae 0x4372ed
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004501a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x437142
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x437142
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x2c]
lea ebp, [esi + ebp*4 + 0xd]
mov ebx, dword [ebp]
jmp 0x43713a
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x4370ef
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.004661b0
nop
call fcn.00464bd0
jmp fcn.00437010