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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4f59a3
sub esp, 0x90
mov ebx, dword [esp + 0x94]
test byte [ebx], al
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x4f5680
jmp 0x4f5682
jmp 0x4f56fa
lea eax, [0x516a60]
mov dword [esp], eax
mov dword [esp + 4], 0x11f
mov dword [esp + 8], 0x11f
call fcn.004711a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x11f
mov dword [esp + 0x8c], 0x11f
mov ecx, dword [esp + 0x94]
test byte [ecx], al
mov dword [ecx + 0x10], 0x11f
mov dword [ecx + 0x14], 0x11f
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4f56e4
jmp 0x4f56e6
jmp 0x4f56f5
call fcn.004757c0
mov dword [edi], eax
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
jmp 0x4f56f5
mov dword [ecx + 0xc], eax
jmp 0x4f56fa
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x54], ebx
lea ecx, [ebx + 1]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x94]
test byte [ebx], al
mov edx, dword [ebx + 0x14]
mov ebx, dword [ebx + 0xc]
cmp edx, ecx
jae 0x4f5724
jmp 0x4f599d
jmp 0x4f5726
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x34], 0
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], ebx
jmp 0x4f576c
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x48], ebx
jg 0x4f577b
jmp 0x4f580f
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x78]
lea ebx, [ebp + ebx*4]
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x4f579b
jmp 0x4f57e2
mov word [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x40], ax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
movzx esi, word [esp + 0x40]
cmp ecx, eax
ja 0x4f57d1
jmp 0x4f5998
lea ebp, [ebp + eax*8]
mov word [ebp], si
mov dword [ebp + 4], ebx
inc dword [esp + 0x34]
jmp 0x4f5804
mov ebx, dword [esp + 0x94]
test byte [ebx], al
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, eax
ja 0x4f57f9
jmp 0x4f5993
lea ebx, [ebx + eax*4 + 2]
mov word [ebx], 0
jmp 0x4f5804
jmp 0x4f5806
inc dword [esp + 0x4c]
jmp 0x4f576c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
cmp edx, ecx
jae 0x4f5820
jmp 0x4f598e
jmp 0x4f5822
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x34], 2
jle 0x4f582f
jmp 0x4f585d
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], ecx
jmp 0x4f5911
mov eax, dword [esp + 0x94]
test byte [eax], al
add eax, 0x68
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004f5b90
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.004f4a90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x94]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call fcn.004f5400
add esp, 0x90
ret
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x38], edx
jg 0x4f591d
jmp 0x4f5982
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x84]
lea edx, [ebx + edx*8]
movzx ebx, word [edx]
mov edx, dword [edx + 4]
mov word [esp + 0x20], bx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x94]
test byte [edx], al
mov ecx, dword [edx + 4]
mov edx, dword [edx]
movzx eax, word [esp + 0x20]
cmp ecx, eax
ja 0x4f595b
jmp 0x4f5989
lea eax, [edx + eax*4]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], 1
call fcn.004f45d0
jmp 0x4f597c
inc dword [esp + 0x3c]
jmp 0x4f5911
add esp, 0x90
ret
call fcn.00475830
call fcn.00475870
call fcn.00475830
call fcn.00475830
call fcn.00475870
nop
call fcn.004743b0
jmp fcn.004f5650