Function at 0x5384d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
test esi, esi
jbe 0x5385a6
xor ebx, ebx
xor edx, edx
mov bl, byte [eax + 9]
mov dl, byte [eax + 8]
mov esi, ebx
mov ebx, dword [esp + 0x34]
dec ebx
je 0x538494
dec ebx
je 0x5383d3
dec ebx
je 0x538312
mov ebx, dword [esp + 0x40]
dec ebx
je 0x5382b5
xor ebx, ebx
mov bl, byte [eax + 7]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov bl, byte [eax + 3]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
dec ebx
je 0x538376
xor ebx, ebx
mov bl, byte [eax + 6]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov bl, byte [eax + 2]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
dec ebx
je 0x538437
xor ebx, ebx
mov bl, byte [eax + 5]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov bl, byte [eax + 1]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
dec ebx
je 0x5384f7
xor ebx, ebx
mov bl, byte [eax + 4]
mov eax, ebx
mov ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add ebx, dword [ebp + edx*4]
sar ebx, 0x10
add ebx, eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ebp, dword [edi + edx*4]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [esp + 0x18]
shl ebx, 8
mov ebp, dword [eax + esi*4]
mov eax, dword [esp + 0x24]
add ebp, eax
xor eax, eax
mov al, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
or ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov bl, byte [eax]
mov eax, dword [ebp + esi*4]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x14]
add eax, dword [ebx + edx*4]
mov ebx, dword [esp + 0x48]
mov edx, dword [edi + edx*4]
sar eax, 0x10
add eax, ebx
xor ebx, ebx
mov bl, byte [eax + ecx]
mov eax, dword [esp + 0x48]
add edx, eax
xor eax, eax
mov al, byte [edx + ecx]
mov edx, dword [esp + 0x18]
or eax, 0xffffff00
shl eax, 8
or ebx, eax
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x48]
add eax, edx
xor edx, edx
shl ebx, 8
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x30]
or ebx, edx
mov edx, dword [esp + 0x34]
cmp edx, 4
mov dword [eax], ebx
jae 0x53856f
mov esi, eax
mov eax, dword [esp + 0x2c]
shl edx, 2
add esi, edx
add eax, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
xor edx, edx
jmp 0x53858b
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, 0x10
add ebx, eax
add esi, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
sub edx, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
add eax, 0xa
test edx, edx
mov dword [esp + 0x4c], eax
ja 0x53822c
mov edx, dword [esp + 0x40]
cmp edx, 2
jbe 0x5385df
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
shl esi, 2
add ebx, esi
sub edx, 2
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x2c]
pop esp
and al, 0x2c
add ebx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x44]
add eax, ebx
test edx, edx
mov dword [esp + 0x4c], eax
ja 0x538218
invalid
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret