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 0x42f7e8
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
jne 0x42f7cc
mov edx, dword [ecx + 0x54]
test edx, edx
jne 0x42f541
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 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 0x42f577
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
sub ecx, eax
cmp dword [0x4f8050], ecx
ja 0x42f566
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00443bf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x42f7bb
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.00444900
cmp dword [esp + 0x10], 0xffffffff
jne 0x42f7aa
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x27]
cmp byte [eax + 0x27], 1
ja 0x42f798
xor edx, edx
test edx, edx
je 0x42f5ed
lea ebx, [0x5270f0]
cmp edx, ebx
jne 0x42f5fe
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.00444250
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x27], 3
ja 0x42f785
xor ebx, ebx
test ebx, ebx
jne 0x42f701
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
cmp ecx, 8
jge 0x42f6d5
xor edx, edx
test dl, dl
je 0x42f6a0
mov edx, 1
test dl, dl
je 0x42f663
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
cmp ecx, 8
jge 0x42f67f
xor eax, eax
test al, al
jne 0x42f652
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, [0x50e7ea]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00402790
movzx eax, byte [esp + 0xc]
jmp 0x42f66a
cmp ecx, 0x11
jge 0x42f6a9
xor edx, edx
jmp 0x42f64e
mov dword [esp], eax
lea ecx, [0x50fe72]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.00402790
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x42f64e
mov dword [esp], eax
lea ecx, [0x50e7fa]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.00402790
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x42f645
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.00444880
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x42f778
cmp eax, 0x100000
jae 0x42f7dd
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.00444370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x42f632
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x42f632
mov ebp, dword [edx + 0x1c]
mov esi, dword [esp + 0x2c]
lea ebp, [esi + ebp*4 + 0xd]
mov ebx, dword [ebp]
jmp 0x42f62a
mov ebx, dword [eax + 0x1c]
mov ebp, ecx
lea ebx, [ecx + ebx*4 + 5]
mov edx, dword [ebx]
mov ecx, ebp
jmp 0x42f5df
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.00454bc0
nop
call fcn.004535d0
jmp fcn.0042f500