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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call ebx
mov ecx, dword [esi + 0xa8]
test ecx, ecx
mov dword [ebp - 0x3c], esi
jne 0x5110ce
lea edi, [esi + 0xa8]
push 0x4c
call fcn.005283f4
add esp, 4
mov ebx, eax
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
movdqu xmmword [eax + 0x14], xmm0
movdqu xmmword [eax + 0x24], xmm0
xor esi, esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x34], esi
push 4
call fcn.005283f4
add esp, 4
mov dword [eax], esi
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov esi, dword [ebp - 0x3c]
mov dword [ebx], 0x57c368
mov ecx, edi
push ebx
call fcn.0050ec32
mov ecx, dword [edi]
lea eax, [ebp - 0x28]
push eax
call fcn.0052175e
cmp byte [ebp - 0x1d], 0
jns 0x5110e8
push dword [ebp - 0x28]
call fcn.00528424
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.0050f4a8
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.00516aa0
add esp, 0xc
lea eax, [ebp - 0x12]
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 - 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 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 edx, [eax - 1]
xor ecx, ecx
cmp edx, 2
ja 0x5111f6
mov ecx, dword [eax*4 + 0x58ef1c]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], 0
lea esi, [ebp - 0x38]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push esi
call ebx
mov ebx, edi
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x51126b
push 0x48
call fcn.005283f4
add esp, 4
mov ebx, eax
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
movdqu xmmword [eax + 0x14], xmm0
movdqu xmmword [eax + 0x24], xmm0
movdqu xmmword [eax + 0x34], xmm0
mov dword [eax], 0x57c098
mov dword [eax + 0x44], 0
lea ecx, [eax + 0x3c]
push esi
push edi
call fcn.00431efc
jmp 0x51132d
push 0x64
call fcn.005283f4
add esp, 4
mov esi, ebx
mov ebx, eax
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
movdqu xmmword [eax + 0x14], xmm0
movdqu xmmword [eax + 0x24], xmm0
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x34], eax
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x44], ecx
movdqu xmmword [ebx + 0x40], xmm0
mov dword [ebx + 0x51], eax
mov dword [ebx + 0x4d], eax
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x40], ecx
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x53445352
mov dword [ebx], 0x57c128
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea esi, [ebp - 0x28]
push esi
call edi
mov ecx, dword [ebp - 0x40]
push esi
call fcn.0042edbc
cmp byte [ebp - 0x1d], 0
jns 0x5112f0
push dword [ebp - 0x28]
call fcn.00528424
add esp, 4
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x28], xmm0
lea esi, [ebp - 0x2c]
mov dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x28]
push eax
call edi
mov eax, dword [esi]
movdqu xmm0, xmmword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
movdqu xmmword [ecx], xmm0
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + 0xac]
mov dword [eax + 0xac], ebx
test edi, edi
je 0x511352
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 - 0x28]
lea eax, [ebp - 0x38]
mov dword [ecx], eax
call fcn.0042e83a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 4