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

Disassembly:
push 0xffffffffffffffff
push 0x59167b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x2c]
push eax
call fcn.004cf8d0
mov dword [esp + 0x78], 0
cmp dword [esp + 0x3c], 0
jne 0x4cfa57
mov byte [esp + 0x17], 0
jmp 0x4cfda1
push 0x34
call fcn.0056590a
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x78], 1
test esi, esi
je 0x4cfa88
push 0x34
push 0
push esi
call fcn.0056cbb0
add esp, 0xc
mov ecx, esi
call fcn.0050f830
mov edi, eax
jmp 0x4cfa8a
xor edi, edi
mov byte [esp + 0x78], 0
test edi, edi
je 0x4cfa98
lea esi, [edi + 8]
jmp 0x4cfa9a
xor esi, esi
mov dword [esp + 0x28], esi
test esi, esi
je 0x4cfaa9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x78], 2
lea eax, [esp + 0x2c]
push ecx
push 3
push 1
push SysReAllocString
push eax
lea ecx, [edi + 0x18]
call fcn.004b7ec0
test al, al
jne 0x4cfad2
mov byte [esp + 0x17], al
jmp 0x4cfd91
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 3
lea eax, [esp + 0x17]
push eax
push 0x84
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0
call fcn.004b7160
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0
mov ecx, esi
mov eax, dword [esi]
push 0x84
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x4cfd62
cmp dword [esp + 0x24], 0x84
jne 0x4cfd62
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov eax, edi
mov edx, ebx
sub eax, ebx
push ecx
add eax, 0xfffffff0
lea ecx, [esp + 0x48]
push eax
call fcn.00506030
add esp, 8
mov byte [esp + 0x78], 4
cmp dword [esp + 0x54], 0
je 0x4cfd4d
lea edx, [edi - 0x10]
mov edi, 0xc
lea eax, [esp + 0x5c]
jmp 0x4cfb90
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x4cfd4d
add eax, 4
add edx, 4
sub edi, 4
jae 0x4cfb90
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], ecx
movzx ecx, byte [ebx + 4]
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 7]
shl ecx, 8
or ecx, eax
or dword [ebp + 8], ecx
movzx eax, byte [ebx + 8]
movzx ecx, byte [ebx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [ebp], 0
mov dword [ebp + 4], ecx
movzx ecx, byte [ebx + 0xc]
movzx eax, byte [ebx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xf]
shl ecx, 8
or ecx, eax
or dword [ebp], ecx
movzx eax, byte [ebx + 0x10]
movzx ecx, byte [ebx + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], ecx
movzx eax, byte [ebx + 0x14]
movzx ecx, byte [ebx + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x17]
shl ecx, 8
or ecx, eax
or dword [ebp + 0x10], ecx
movzx eax, byte [ebx + 0x18]
shl eax, 0x18
mov dword [ebp + 0x18], eax
movzx edx, byte [ebx + 0x19]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x18], edx
movzx ecx, byte [ebx + 0x1a]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x18], ecx
movzx eax, byte [ebx + 0x1b]
or eax, ecx
mov byte [esp + 0x17], 1
mov dword [ebp + 0x18], eax
movzx eax, byte [ebx + 0x1c]
shl eax, 0x18
mov dword [ebp + 0x1c], eax
movzx edx, byte [ebx + 0x1d]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x1c], edx
movzx ecx, byte [ebx + 0x1e]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x1c], ecx
movzx eax, byte [ebx + 0x1f]
or eax, ecx
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx + 0x20]
shl eax, 0x18
mov dword [ebp + 0x20], eax
movzx edx, byte [ebx + 0x21]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x20], edx
movzx ecx, byte [ebx + 0x22]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x20], ecx
movzx eax, byte [ebx + 0x23]
or eax, ecx
mov dword [ebp + 0x20], eax
movdqu xmm0, xmmword [ebx + 0x24]
movdqu xmmword [ebp + 0x24], xmm0
movdqu xmm0, xmmword [ebx + 0x28]
movdqu xmmword [ebp + 0x34], xmm0
movdqu xmm0, xmmword [ebx + 0x38]
movdqu xmmword [ebp + 0x44], xmm0
movdqu xmm0, xmmword [ebx + 0x48]
movdqu xmmword [ebp + 0x54], xmm0
movdqu xmm0, xmmword [ebx + 0x58]
movdqu xmmword [ebp + 0x64], xmm0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.00403b40
jmp 0x4cfd67
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.00403b40
jmp 0x4cfd67
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 2
test ebx, ebx
je 0x4cfd91
push ebx
call fcn.00564de3
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 0
test esi, esi
je 0x4cfda1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4cfdbc
push dword [esp + 0x2c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov al, byte [esp + 0x17]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00564de8
add esp, 0x68
ret