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

Disassembly:
push ebp
sub esp, 0x168
mov ebp, ecx
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x4f0714
mov eax, dword [eax]
test eax, eax
je 0x4f03ba
add esp, 0x168
pop ebp
ret
lea edx, [esp]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov dword [edx + 0x6c], eax
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], eax
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], eax
mov dword [edx + 0x98], eax
mov dword [edx + 0x9c], eax
mov dword [edx + 0xa0], eax
mov dword [edx + 0xa4], eax
mov dword [edx + 0xa8], eax
mov dword [edx + 0xac], eax
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], eax
mov dword [edx + 0xb8], eax
mov dword [edx + 0xbc], eax
mov dword [edx + 0xc0], eax
mov dword [edx + 0xc4], eax
mov al, byte [ebp + 4]
test al, al
je 0x4f05e0
lea edx, [esp + 0x118]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov byte [esp + 0x11e], 0xa
mov edx, 0x2c
mov word [esp + 0x118], dx
mov byte [esp + 0x11f], 0x18
mov al, 0
mov dl, 1
mov byte [esp + 0x11b], al
mov ecx, ebp
mov dword [esp + 0x124], 0xc8
mov byte [esp + 0x11c], dl
mov dword [esp + 0x128], 0x32
mov byte [esp + 0x11d], al
mov dword [esp + 0x130], 0x30
mov byte [esp + 0x120], dl
mov byte [esp + 0x134], 0x25
lea edx, [esp]
mov dword [esp + 0x12c], edx
mov byte [esp + 0x135], al
mov byte [esp + 0x136], al
mov byte [esp + 0x137], al
mov byte [esp + 0x138], al
mov byte [esp + 0x139], al
mov byte [esp + 0x13a], al
mov byte [esp + 0x13b], al
mov byte [esp + 0x13c], al
mov byte [esp + 0x13d], al
lea eax, [esp + 0x118]
push eax
call fcn.004f07c8
movzx eax, al
test eax, eax
je 0x4f05cf
movzx eax, byte [esp + 4]
movzx edx, byte [esp + 5]
movzx ecx, byte [esp + 6]
mov ebp, dword [ebp + 0x58]
shl eax, 0x18
shl edx, 0x10
add eax, edx
movzx edx, byte [esp + 7]
shl ecx, 8
add ecx, edx
add eax, ecx
mov dword [ebp], eax
add esp, 0x168
pop ebp
ret
mov eax, dword [ebp + 0x58]
mov dword [eax], 0
add esp, 0x168
pop ebp
ret
lea edx, [esp + 0xc8]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp + 0x58]
mov byte [esp + 0xc8], 2
mov al, byte [ecx + 0x1c]
mov byte [esp + 0xca], al
mov dl, byte [ecx + 0x20]
mov byte [esp + 0xd0], dl
mov al, byte [ecx + 0x24]
mov byte [esp + 0xd1], al
mov byte [esp + 0xcb], 0x48
mov ecx, ebp
mov dword [esp + 0xd4], 8
lea eax, [esp]
mov dword [esp + 0xd8], eax
mov byte [esp + 0xdc], 0xe
mov al, 0
mov byte [esp + 0xdd], 0xa
mov byte [esp + 0xfa], al
mov byte [esp + 0xfb], al
mov byte [esp + 0xf8], 0x25
mov byte [esp + 0xfc], al
mov byte [esp + 0xfd], al
mov byte [esp + 0xfe], al
mov byte [esp + 0xff], al
mov byte [esp + 0x100], al
mov byte [esp + 0x101], al
lea eax, [esp + 0xc8]
push eax
call fcn.004f0728
movzx eax, al
test eax, eax
je 0x4f0703
movzx eax, byte [esp + 4]
movzx edx, byte [esp + 5]
movzx ecx, byte [esp + 6]
mov ebp, dword [ebp + 0x58]
shl eax, 0x18
shl edx, 0x10
add eax, edx
movzx edx, byte [esp + 7]
shl ecx, 8
add ecx, edx
add eax, ecx
mov dword [ebp], eax
add esp, 0x168
pop ebp
ret
mov eax, dword [ebp + 0x58]
mov dword [eax], 0
add esp, 0x168
pop ebp
ret
mov dword [ebp + 0x80], 8
add esp, 0x168
pop ebp
ret