Function at 0x4fa180
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0x10]
call fcn.004cb890
mov dword [esp], 0x98
mov ecx, eax
call fcn.004cba30
mov ebx, eax
mov eax, dword [ebp + 0xc]
sub esp, 4
movzx edx, byte [ebx + 0x1e]
mov byte [ebx + 0x1d], 1
and byte [ebx + 0x78], 0x80
or byte [ebx + 0x80], 0xf
and edx, 0xfffffff0
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 0x20]
mov byte [ebx + 0x1e], dl
and byte [ebx + 0x28], 0xc0
mov byte [ebp - 0x19], al
and byte [ebp - 0x19], 0xfe
movzx eax, byte [ebp - 0x19]
mov dword [ebx + 0xc], 0
and word [ebx + 0x2a], 0xfe3f
mov byte [ebx + 0x20], al
movzx eax, byte [ebx + 0x7c]
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 1
mov dword [ebx], 0x6f25c8
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x7c], al
mov dword [ebx + 0x18], 0x6f2308
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov byte [ebx + 0x74], 0
mov byte [ebx + 0x75], 0
mov dword [ebx + 0x24], 0
and word [ebx + 0x28], 0xc03f
movzx eax, word [ebx + 0x42]
movzx ecx, word [ebx + 0x56]
or byte [ebx + 0x4c], 0x7f
and byte [ebx + 0x2d], 0x80
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [ebx + 0x42], ax
movzx eax, byte [ebx + 0x40]
mov word [ebx + 0x56], cx
shr cx, 8
or ecx, 0xffffffe0
and byte [ebx + 0x30], 0x80
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x40], al
mov eax, dword [ebx + 0x48]
or dword [ebx + 0x44], 0x7fff8000
or word [ebx + 0x3c], 0xfff
or word [ebx + 0x4c], 0x780
or eax, 0x7f8000
mov dword [ebx + 0x48], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebx + 0x4b], al
or dword [ebx + 0x50], 0x1ff80
or word [ebx + 0x54], 0x1ff8
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x5d], 0
mov byte [ebx + 0x5e], 0
mov byte [ebx + 0x5f], 0
mov dword [ebx + 0x60], 0xfffff800
mov byte [ebx + 0x57], cl
and byte [ebx + 0x5b], 0x1f
and byte [ebx + 0x5c], 0xe0
and dword [ebx + 0x28], 0xffc03fff
mov byte [ebx + 0x58], 0xff
movzx eax, byte [esi + 4]
mov byte [ebx + 0x84], 0
mov dword [ebx + 0x88], 0x6f1b88
mov dword [ebx + 0x8c], 0
mov byte [ebx + 0x1c], al
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x60], eax
movzx ecx, byte [esi + 5]
and ecx, 0xf
mov byte [ebx + 0x1d], cl
movzx eax, byte [esi + 5]
and eax, 0xfffffff0
or eax, ecx
mov ecx, edi
mov byte [ebx + 0x1d], al
movzx eax, byte [esi + 6]
and eax, 0xf
or eax, edx
mov byte [ebx + 0x1e], al
movzx eax, byte [esi + 8]
and eax, 1
or al, byte [ebp - 0x19]
mov byte [ebx + 0x20], al
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004ebeb0
mov ecx, dword [edi + 0x58]
sub esp, 0xc
mov dword [esp], ebx
call fcn.005a7250
sub esp, 4
test al, al
je 0x4fa442
mov eax, dword [edi + 0x58]
mov edx, dword [eax + 4]
sub edx, dword [eax]
cmp edx, 0x13
jg 0x4fa436
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
mov dword [esp], ebx
call eax
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [edi]
mov ecx, ebx
mov esi, dword [eax + 0x70]
mov eax, dword [ebx]
xor ebx, ebx
call dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6c9447
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call esi
jmp 0x4fa436