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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x674014]
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 - 0x1c]
mov ecx, esi
mov esi, dword [ebp - 0x28]
push edi
call ebx
mov ecx, esi
push edi
call fcn.005b1282
cmp byte [edi + 0xb], 0
jns 0x5b1082
push dword [ebp - 0x1c]
call fcn.005dc756
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 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 ecx, ecx
dec ecx
push ecx
push edx
push eax
call fcn.005aff2b
add esp, 0xc
mov dword [esi + 0x44], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [esi + 0x4c]
push edx
push eax
push ecx
call fcn.005b6510
add esp, 0xc
lea eax, [ebp - 0x1e]
xor ecx, ecx
dec ecx
mov dword [eax - 2], ecx
mov dword [eax - 6], ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x14]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [ebp - 0x24]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22]
push eax
push edi
call ebx
movzx eax, word [edi + 6]
movzx ecx, word [edi + 2]
mov edx, dword [edi]
shl edx, 0x10
or edx, ecx
mov ecx, dword [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 - 0x1e]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22]
push eax
push edi
call ebx
movzx eax, word [edi + 2]
mov ecx, dword [edi]
shl ecx, 0x10
or ecx, eax
movzx eax, word [edi + 6]
mov edx, dword [edi + 4]
mov edi, dword [ebp + 8]
mov dword [esi + 0x64], ecx
shl edx, 0x10
or edx, eax
mov dword [esi + 0x68], edx
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [eax - 2]
cmp ecx, 2
jae 0x5b118a
mov eax, 2
jmp 0x5b1191
cmp eax, 1
je 0x5b1191
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x5b11f8
push 0x48
call fcn.005dc726
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005af1e8
mov dword [ebx], 0x61ad58
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 - 0x18]
push dword [ebp - 0x1c]
call fcn.004528c4
jmp 0x5b1238
push 0x64
call fcn.005dc726
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005af1e8
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], 0x61ade8
mov ecx, ebx
push edi
call fcn.005b0e0e
mov edi, dword [esi + 0xac]
mov dword [esi + 0xac], ebx
test edi, edi
je 0x5b125a
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5b126d
mov dword [ebp - 0x18], eax
push eax
call fcn.005dc756
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4