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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f81f4
sub esp, 0x5c
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov edx, eax
jmp 0x4f7f8e
mov ebx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x7c]
cmp ebx, eax
jle 0x4f81d2
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov byte [esp + 0x23], cl
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004f4710
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4f7fd2
mov byte [esp + 0x22], 0
lea ecx, [eax - 1]
xor edx, edx
jmp 0x4f7f88
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 8]
mov edi, esp
lea esi, [esp + 0x64]
call fcn.00459f6e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov ebx, dword [edx]
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
movzx eax, byte [esp + 0x55]
test al, al
je 0x4f8198
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp byte [esp + 0x22], 0x1e
ja 0x4f81db
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
movzx eax, byte [esp + 0x22]
movzx ecx, byte [esp + 0x38]
add eax, ecx
mov byte [esp + 0x22], al
cmp al, 0x1e
jbe 0x4f8167
mov byte [esp + 0x22], 0
mov eax, 2
test eax, eax
jne 0x4f8134
movzx eax, byte [esp + 0x23]
cmp byte [esp + 0x56], al
jb 0x4f811d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
movzx edx, byte [ecx + 4]
test dl, dl
je 0x4f80f7
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
movzx edx, byte [esp + 0x51]
test dl, 0x10
jne 0x4f80b5
movzx edx, byte [esp + 0x56]
movzx ebx, byte [esp + 0x55]
mov ebp, dword [esp + 0x24]
add ebx, ebp
mov ecx, eax
mov eax, ebx
jmp 0x4f7f88
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x4f80e4
movzx edx, byte [esp + 0x80]
test dl, dl
je 0x4f80e0
mov dword [esp + 0x84], ecx
mov byte [esp + 0x88], 1
add esp, 0x5c
ret
mov ecx, eax
jmp 0x4f80cd
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 0
add esp, 0x5c
ret
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
movzx edx, byte [esp + 0x49]
test dl, 4
je 0x4f809c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jmp 0x4f80bf
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 0
add esp, 0x5c
ret
cmp eax, 1
jne 0x4f8142
mov eax, dword [esp + 0x24]
jmp 0x4f8076
cmp eax, 2
je 0x4f8150
mov eax, dword [esp + 0x28]
jmp 0x4f8076
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 0
add esp, 0x5c
ret
test cl, cl
jne 0x4f8191
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
movzx ecx, byte [esp + 0x41]
and ecx, 3
mov byte [esp + 0x22], cl
mov eax, 1
jmp 0x4f805b
xor eax, eax
jmp 0x4f805b
movzx eax, byte [esp + 0x80]
test al, al
je 0x4f81bb
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 1
add esp, 0x5c
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], 1
add esp, 0x5c
ret
mov ecx, ebx
mov eax, edx
jmp 0x4f80bf
lea eax, [0x51e540]
mov dword [esp], eax
lea eax, [0x581028]
mov dword [esp + 4], eax
call fcn.0042f780
nop
call fcn.00458300
jmp fcn.004f7f60