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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x4f819a
mov edx, dword [esi + 0x2cc]
test edx, edx
jne 0x4f7d83
cmp dword [esi + 0x2d0], 0
je 0x4f819a
lea eax, [esi + 0x2d0]
lea ecx, [edx + 0xc]
test edx, edx
xorps xmm0, xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x18], 1
mov edx, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x2d4]
mov dword [esp + 0x90], edx
cmove ecx, eax
movzx eax, word [ecx]
rol ax, 8
mov word [esp + 6], ax
lea eax, [esp + 6]
mov dword [esp + 0x154], eax
mov dword [esp + 0x14c], 2
mov dword [esp + 0x158], 0
lea eax, [esp + 0x14c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c8]
test eax, eax
je 0x4f7e47
mov byte [esp + 5], al
lea eax, [esp + 5]
mov dword [esp + 0x114], eax
mov dword [esp + 0x10c], 1
mov dword [esp + 0x118], 0
lea eax, [esp + 0x10c]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x48]
mov ecx, dword [esi + 4]
mov dword [esp + 0x144], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x148], 0
lea eax, [esp + 0x13c]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x24c]
mov ecx, dword [esi + 0x248]
mov dword [esp + 0x134], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x138], 0
lea eax, [esp + 0x12c]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x270]
mov ecx, dword [esi + 0x26c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x128], 0
lea eax, [esp + 0x11c]
mov dword [esp + 0x4c], eax
push 0
push 0x3b9aca00
push dword [esi + 0x2bc]
push dword [esi + 0x2b8]
call fcn.00788230
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
push 0
push 0x3b9aca00
push dword [esi + 0x2b4]
push dword [esi + 0x2b0]
call fcn.00788230
add esp, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x2a8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x2a0]
mov dword [esp + 0x48], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x29c]
test eax, eax
je 0x4f7f70
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0063b810
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jle 0x4f7f70
cmp dword [esp + 0x10], 0
je 0x4f7f70
lea eax, [esp + 8]
mov dword [esp + 0x94], eax
mov edi, dword [esi + 0x2e0]
test edi, edi
je 0x4f814b
push edi
call fcn.00786b90
add esp, 4
mov dword [esp + 0x104], edi
mov dword [esp + 0xfc], eax
mov dword [esp + 0x108], 0
lea eax, [esp + 0xfc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x2e4]
test eax, eax
je 0x4f7fdf
mov ecx, dword [esi + 0x2e8]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf8], 0
lea eax, [esp + 0xec]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4f7ff5
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov eax, dword [esi + 0x2f0]
mov dword [esp + 0x60], eax
mov ebx, dword [esi + 0x290]
xor edi, edi
mov eax, 0
test ebx, ebx
je 0x4f8039
push ebx
call fcn.00786b90
add esp, 4
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc8], 0
lea eax, [esp + 0xbc]
mov dword [esp + 0x68], eax
mov ebx, dword [esi + 0x294]
test ebx, ebx
je 0x4f8070
push ebx
call fcn.00786b90
add esp, 4
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd8], 0
lea edi, [esp + 0xcc]
mov dword [esp + 0x6c], edi
mov ebx, dword [esi + 0x304]
xor edi, edi
mov eax, 0
test ebx, ebx
je 0x4f80ae
push ebx
call fcn.00786b90
add esp, 4
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], 0
lea eax, [esp + 0xdc]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x310]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov eax, dword [esi + 0x2f4]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x4f8101
mov ecx, dword [esi + 0x2fc]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb8], 0
lea edi, [esp + 0xac]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x84], edi
movzx ecx, byte [esi + 0x300]
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0x308]
test ecx, ecx
je 0x4f8164
mov edx, dword [esi + 0x30c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa8], 0
lea ecx, [esp + 0x9c]
jmp 0x4f8166
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x2e4]
test eax, eax
jne 0x4f7fb5
jmp 0x4f7fdf
xor ecx, ecx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x18]
push 0x974bd0
push eax
push ecx
call fcn.00576610
add esp, 0xc
mov esi, eax
push 0xdd
push 0x974bac
push dword [esp + 0x18]
call fcn.005db5b0
mov eax, esi
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret