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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4fa0d6
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0xac], eax
mov byte [esp + 0x33], 0
mov byte [esp + 0xc8], 0
mov eax, dword [esp + 0xb4]
test byte [eax], al
mov dword [esp], eax
call fcn.00460250
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x4fa0e0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0xac], ecx
mov byte [esp + 0x33], 1
call fcn.00484500
lea edi, [esp + 0x50]
lea esi, [esp]
call fcn.00451f8e
movzx eax, byte [esp + 0xc4]
test al, al
je 0x4f9dd0
xor eax, eax
jmp 0x4f9e34
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.00451f8e
mov dword [esp + 0x18], 0xfffffff2
mov dword [esp + 0x14], 0x7b8a800
call fcn.00483ac0
lea edi, [esp + 0x78]
lea esi, [esp + 0x1c]
call fcn.00451f8e
mov eax, dword [esp + 0xb4]
lea esi, [eax + 0x18]
lea edi, [esp + 0x64]
call fcn.00451f8e
lea edi, [esp]
lea esi, [esp + 0x64]
call fcn.00451f8e
lea edi, [esp + 0x14]
lea esi, [esp + 0x78]
call fcn.00451f8e
call fcn.004826f0
movzx eax, byte [esp + 0x28]
test al, al
jne 0x4f9f7d
mov eax, dword [esp + 0xb4]
lea edi, [eax + 0x18]
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x4f9e5b
lea esi, [esp + 0x50]
call fcn.00451f8e
jmp 0x4f9e7c
lea eax, [0x58a200]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040ebc0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x4f9e90
mov edx, dword [esp + 0xb8]
jmp 0x4f9eb6
mov dword [esp], 0
call fcn.004fa7d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4f9f5e
mov eax, ecx
mov ecx, edx
mov edx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
lea eax, [0x573b40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.0040aee0
mov eax, dword [0x7e73a0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4f9ef2
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x2c], ecx
jmp 0x4f9f03
mov edx, dword [esp + 0xb4]
lea edi, [edx + 0x2c]
mov eax, ecx
call fcn.004518b0
lea eax, [0x573780]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.0040aee0
mov eax, dword [0x7e73a0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4f9f3b
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x30], ecx
jmp 0x4f9f4e
mov ebx, dword [esp + 0xb4]
lea edi, [ebx + 0x30]
mov eax, ecx
call fcn.004518b0
mov eax, ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f9f9c
mov edx, dword [esp + 0x44]
xor ebx, ebx
jmp 0x4f9fcb
mov byte [esp + 0xc8], 0
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov byte [esp + 0xc8], 0
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov byte [esp + 0xc8], 1
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov ebp, dword [esp + 0x44]
lea edx, [ebp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edx
lea edi, [esp + 0x8c]
mov esi, edx
call fcn.00451f70
mov ecx, dword [eax + 0x2c]
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x34], ebx
lea eax, [0x573b40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.0040e140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x8c]
lea ebx, [0x573780]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040cf90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4fa0b4
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x34], ebp
lea esi, [0x573780]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040d0f0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x7e73a0]
test eax, eax
jne 0x4fa0ab
mov eax, dword [esp + 0x40]
mov dword [edi], eax
jmp 0x4fa0b4
mov eax, dword [esp + 0x40]
call fcn.004518b0
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jg 0x4f9fbb
jmp 0x4f9f9c
call fcn.00450480
jmp fcn.004f9d30