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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f541
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x42f52d
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x42f2c9
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x42f2c0
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jne 0x42f2c0
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x42f2c0
cmp dword [edx + 4], 1
jne 0x42f2c0
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae 0x42f2f7
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0x5ea0f8], ecx
ja 0x42f2ee
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00445940
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x42f524
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.00446440
cmp dword [esp + 0x14], 0xfffffffe
je 0x42f51b
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x23]
cmp byte [eax + 0x23], 1
ja 0x42f509
xor edx, edx
test edx, edx
je 0x42f375
lea ebx, [0x5433e0]
cmp edx, ebx
jne 0x42f37e
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.00445f40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x23], 4
ja 0x42f4f6
xor ebx, ebx
test ebx, ebx
jne 0x42f476
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
cmp eax, 8
jge 0x42f44a
xor edx, edx
test dl, dl
je 0x42f418
mov edx, 1
test dl, dl
je 0x42f3ed
mov eax, 1
test al, al
je 0x42f3e4
mov byte [esp + 0x4c], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 1
add esp, 0x38
ret
nop
cmp eax, 8
jge 0x42f3f7
xor eax, eax
jmp 0x42f3d7
mov dword [esp], ecx
lea eax, [0x51c48a]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402380
movzx eax, byte [esp + 0xc]
jmp 0x42f3d7
cmp eax, 0x11
jge 0x42f421
xor edx, edx
jmp 0x42f3ce
mov dword [esp], ecx
lea eax, [0x51e3bd]
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 0x42f3ce
mov dword [esp], ecx
lea eax, [0x51c49a]
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 0x42f3c5
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.00446440
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x42f4e9
cmp eax, 0x100000
jae 0x42f536
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.00445fc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jmp 0x42f3b2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
jmp 0x42f3b2
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x2c]
lea ebp, [esi + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x42f3aa
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x42f367
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.00455fa0
nop
call fcn.004546e0
jmp fcn.0042f290