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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [ebp - 0x28]
mov ecx, esi
push edi
call ebx
mov ecx, dword [ebp - 0x2c]
push edi
call fcn.00506640
cmp byte [edi + 0xb], 0
jns 0x50643a
push dword [ebp - 0x28]
call fcn.005327b0
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor edi, edi
dec edi
push edi
push edx
push eax
call fcn.00501b8b
add esp, 0xc
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
call ebx
lea ecx, [esi + 0x4c]
push edx
push eax
push ecx
call fcn.00500ac8
add esp, 0xc
lea eax, [ebp - 0x12]
mov dword [eax - 2], edi
mov dword [eax - 6], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [ebp - 0x18]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x16]
push eax
push edi
call ebx
movzx eax, word [edi + 6]
movzx ecx, word [edi + 2]
movzx edx, word [edi]
shl edx, 0x10
or edx, ecx
movzx ecx, word [edi + 4]
mov dword [esi + 0x5c], edx
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x60], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x16]
push eax
push edi
call ebx
movzx eax, word [edi + 2]
movzx ecx, word [edi]
shl ecx, 0x10
or ecx, eax
movzx eax, word [edi + 6]
movzx edx, word [edi + 4]
mov dword [esi + 0x64], ecx
shl edx, 0x10
or edx, eax
mov dword [esi + 0x68], edx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea edx, [eax - 1]
xor ecx, ecx
cmp edx, 2
ja 0x50654f
mov ecx, dword [eax*4 + 0x57a1a4]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], 0
xor eax, eax
dec eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea eax, [ebp - 0x28]
push eax
call ebx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x5065b9
push 0x48
call fcn.00532780
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005009ba
mov dword [ebx], 0x57a0d0
lea ecx, [ebx + 0x3c]
xor eax, eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00408908
jmp 0x5065f9
push 0x64
call fcn.00532780
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005009ba
xorps xmm0, xmm0
movups xmmword [ebx + 0x40], xmm0
xor eax, eax
mov dword [ebx + 0x51], eax
mov dword [ebx + 0x4d], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x53445352
mov dword [ebx], 0x57a0a0
mov ecx, ebx
push edi
call fcn.005061e0
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 0xac]
mov dword [eax + 0xac], ebx
test edi, edi
je 0x50661e
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
mov dword [ecx], eax
call fcn.0040348e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4