Function at 0x536a80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edx + 0x20]
imul ecx, dword [eax + 4]
mov eax, dword [eax]
lea ebx, [ecx + eax*4]
mov eax, dword [ebp + 8]
add ebx, dword [edx + 0x1c]
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
test eax, eax
je 0x536ac6
mov edx, dword [edi + 4]
cmp edx, dword [eax + 0x18]
jae 0x536ac6
mov ecx, dword [eax + 0x20]
imul ecx, edx
add ecx, dword [eax + 0x1c]
jmp 0x536ac8
xor ecx, ecx
mov eax, dword [edi]
lea esi, [ecx + eax*4]
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x536d3f
test esi, esi
je 0x536d3f
movsd xmm1, qword [ebp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.005067d0
mov edx, dword [edi + 8]
mov ecx, edx
mov eax, dword [esp + 0x1c]
and ecx, 3
sub edx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
test edx, edx
je 0x536b17
mov edx, dword [edx + 0x20]
mov dword [esp + 0x1c], edx
jmp 0x536b1f
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
mov edx, ecx
sub edx, dword [edi + 8]
shl edx, 2
add esi, edx
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi]
test esi, esi
je 0x536b3f
mov esi, dword [esi + 0x20]
jmp 0x536b41
xor esi, esi
add edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [edi + 0xc], edx
jbe 0x536d32
nop word [eax + eax]
mov edi, dword [esp + 0x20]
lea edi, [ebx + edi*4]
cmp ebx, edi
jae 0x536c93
nop
movzx ecx, byte [esi + 2]
movzx edx, byte [ebx + 2]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
mov byte [ebx + 2], cl
movzx ecx, byte [esi + 1]
movzx edx, byte [ebx + 1]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
mov byte [ebx + 1], cl
movzx edx, byte [esi]
movzx ecx, byte [ebx]
movzx ecx, byte [ecx + eax]
add cl, byte [edx + eax + 0x100]
movzx edx, byte [ebx + 6]
mov byte [ebx], cl
movzx ecx, byte [esi + 6]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 5]
mov byte [ebx + 6], cl
movzx ecx, byte [esi + 5]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 4]
mov byte [ebx + 5], cl
movzx ecx, byte [esi + 4]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 0xa]
mov byte [ebx + 4], cl
movzx ecx, byte [esi + 0xa]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 9]
mov byte [ebx + 0xa], cl
movzx ecx, byte [esi + 9]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 8]
mov byte [ebx + 9], cl
movzx ecx, byte [esi + 8]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 0xe]
mov byte [ebx + 8], cl
movzx ecx, byte [esi + 0xe]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 0xd]
mov byte [ebx + 0xe], cl
movzx ecx, byte [esi + 0xd]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [ebx + 0xc]
mov byte [ebx + 0xd], cl
movzx ecx, byte [esi + 0xc]
add esi, 0x10
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
mov byte [ebx + 0xc], cl
add ebx, 0x10
cmp ebx, edi
jb 0x536b70
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
xor edi, edi
test ecx, ecx
je 0x536d11
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 2]
sub ecx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
nop word [eax + eax]
movzx ecx, byte [ecx + esi]
lea esi, [esi + 4]
movzx edx, byte [esi - 4]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [esi - 5]
mov byte [esi - 4], cl
movzx ecx, byte [ebx + edi*4 + 1]
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
movzx edx, byte [esi - 6]
mov byte [esi - 5], cl
movzx ecx, byte [ebx + edi*4]
inc edi
movzx ecx, byte [ecx + eax + 0x100]
add cl, byte [edx + eax]
mov byte [esi - 6], cl
mov ecx, dword [esp + 0x24]
cmp edi, dword [esp + 0x14]
jb 0x536cb0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
inc edx
add ebx, dword [esp + 0x28]
add esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edx
cmp edx, dword [edi + 0xc]
jb 0x536b60
test eax, eax
je 0x536d3f
push eax
call fcn.005815f5
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18