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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f81de
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f8105
lea ebx, [0x928080]
mov eax, dword [ebx + 0x50]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
cmp eax, 0x15
jne 0x4f810e
lea eax, [0x80f860]
mov dword [esp], eax
mov ecx, dword [0xc5badc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
call fcn.0040ea60
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4f808d
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f8084
lea ecx, [0x928080]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea edx, [0x80f860]
mov dword [esp], edx
mov edx, dword [0xc5badc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
call fcn.0040ede0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [0xc6f140]
test edx, edx
jne 0x4f8074
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea eax, [0x80eb20]
mov dword [esp], eax
mov eax, dword [0xc5bae4]
mov dword [esp + 4], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
call fcn.0040b180
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [0xc6f140]
test eax, eax
jne 0x4f8069
mov eax, dword [esp + 0x78]
mov dword [edi], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
call fcn.0044c860
jmp 0x4f8065
lea edi, [eax + 4]
mov eax, dword [esp + 0x20]
call fcn.0044c860
mov edx, eax
jmp 0x4f8022
xor ecx, ecx
xor eax, eax
jmp 0x4f7fd7
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea eax, [0x8af3ab]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ca020
add esp, 0x6c
ret
xor edx, edx
xor ebx, ebx
jmp 0x4f7f6b
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
lea eax, [0x80a3e0]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x8a9ab6]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b0290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427650
ud2
call fcn.0044b100
jmp fcn.004f7f30