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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f7b1
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x42f79d
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x42f539
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x42f530
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x42f530
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x42f530
cmp dword [edx + 4], 1
jne 0x42f530
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae 0x42f567
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0x64a0fc], ecx
ja 0x42f55e
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00445bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x42f794
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.004466b0
cmp dword [esp + 0x14], 0xfffffffe
je 0x42f78b
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x23]
cmp byte [eax + 0x23], 1
ja 0x42f779
xor edx, edx
test edx, edx
je 0x42f5e5
lea ebx, [0x5895a8]
cmp edx, ebx
jne 0x42f5ee
mov byte [esp + 0x4c], 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.004461b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x23], 4
ja 0x42f766
xor ebx, ebx
test ebx, ebx
jne 0x42f6e6
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
cmp eax, 8
jge 0x42f6ba
xor edx, edx
test dl, dl
je 0x42f688
mov edx, 1
test dl, dl
je 0x42f65d
mov eax, 1
test al, al
je 0x42f654
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 1
add esp, 0x38
ret
nop
cmp eax, 8
jge 0x42f667
xor eax, eax
jmp 0x42f647
mov dword [esp], ecx
lea eax, [0x55b616]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402380
movzx eax, byte [esp + 0xc]
jmp 0x42f647
cmp eax, 0x11
jge 0x42f691
xor edx, edx
jmp 0x42f63e
mov dword [esp], ecx
lea eax, [0x55d739]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.00402380
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x42f63e
mov dword [esp], ecx
lea eax, [0x55b626]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402380
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x42f635
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 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.004466b0
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x42f759
cmp eax, 0x100000
jae 0x42f7a6
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.00446230
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jmp 0x42f622
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
jmp 0x42f622
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x2c]
lea ebp, [esi + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x42f61a
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x42f5d7
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov ecx, 0x100000
call fcn.00455c70
nop
call fcn.004543b0
jmp fcn.0042f500