Function at 0x5adba0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi + 0x22]
mov dword [ebp - 8], eax
movzx eax, word [edi + 0x2c]
mov dword [ebp - 0xc], eax
lea eax, [ebx*4]
push eax
push esi
call fcn.00438720
add esp, 8
test eax, eax
jne 0x5adbdc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 4]
test ebx, ebx
je 0x5ade1d
lea ecx, [edi + 4]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, ebx
div dword [ebp - 0xc]
test edx, edx
jne 0x5add39
cmp dword [ebp - 8], 1
mov edx, dword [ebp + 8]
jbe 0x5adcd2
movzx eax, byte [edi]
sub ebx, 0xe
mov byte [ecx], al
movzx eax, byte [edi + 1]
mov byte [edx + 5], al
movzx eax, byte [edi + 3]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 2]
or ecx, eax
mov dword [edx + 8], ecx
movzx eax, byte [edi + 5]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 4]
or ecx, eax
mov dword [edx + 0xc], ecx
movzx eax, byte [edi + 7]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 6]
or ecx, eax
mov dword [edx + 0x10], ecx
movzx eax, byte [edi + 9]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 8]
or ecx, eax
mov dword [edx + 0x14], ecx
movzx eax, byte [edi + 0xb]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 0xa]
or ecx, eax
mov dword [edx + 0x18], ecx
movzx eax, byte [edi + 0xd]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 0xc]
add edi, 0xe
or ecx, eax
mov dword [edx + 0x1c], ecx
mov ecx, dword [edx + 0x18]
mov eax, ecx
sar eax, 8
mov byte [esi + 1], al
mov byte [esi], cl
mov ecx, dword [edx + 0x1c]
mov eax, ecx
sar eax, 8
mov byte [esi + 3], al
mov byte [esi + 2], cl
mov ecx, dword [edx + 0x10]
mov eax, ecx
sar eax, 8
mov byte [esi + 5], al
mov byte [esi + 4], cl
mov ecx, dword [edx + 0x14]
mov eax, ecx
sar eax, 8
mov byte [esi + 7], al
mov byte [esi + 6], cl
add esi, 8
jmp 0x5add33
mov al, byte [edi]
sub ebx, 7
mov byte [ecx], al
movzx eax, byte [edi + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 1]
or ecx, eax
mov dword [edx + 8], ecx
movzx eax, byte [edi + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 3]
or ecx, eax
mov dword [edx + 0x10], ecx
movzx eax, byte [edi + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edi + 5]
add edi, 7
or ecx, eax
mov dword [edx + 0x18], ecx
mov eax, ecx
sar eax, 8
mov byte [esi + 1], al
mov byte [esi], cl
mov ecx, dword [edx + 0x10]
mov eax, ecx
sar eax, 8
mov byte [esi + 3], al
mov byte [esi + 2], cl
add esi, 4
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x10], ebx
mov bl, byte [edi]
mov al, bl
shr al, 4
cmp dword [ebp - 8], 1
push 0
movzx eax, al
push eax
push ecx
jbe 0x5addd4
call fcn.005ade30
movsx ecx, ax
and bl, 0xf
mov eax, ecx
mov byte [esi], cl
sar eax, 8
mov byte [esi + 1], al
push 1
movzx eax, bl
push eax
push dword [ebp - 4]
call fcn.005ade30
sub dword [ebp + 0x10], 2
movsx ecx, ax
mov eax, ecx
mov byte [esi + 2], cl
sar eax, 8
mov byte [esi + 3], al
mov bl, byte [edi + 1]
add edi, 2
mov al, bl
shr al, 4
push 0
movzx eax, al
push eax
push dword [ebp - 4]
call fcn.005ade30
movsx ecx, ax
and bl, 0xf
mov eax, ecx
mov byte [esi + 4], cl
sar eax, 8
mov byte [esi + 5], al
push 1
movzx eax, bl
push eax
push dword [ebp - 4]
call fcn.005ade30
movsx ecx, ax
add esp, 0x30
mov eax, ecx
mov byte [esi + 6], cl
sar eax, 8
mov byte [esi + 7], al
add esi, 8
jmp 0x5ade0f
dec dword [ebp + 0x10]
inc edi
call fcn.005ade30
movsx ecx, ax
and bl, 0xf
mov eax, ecx
mov byte [esi], cl
sar eax, 8
mov byte [esi + 1], al
push 0
movzx eax, bl
push eax
push dword [ebp - 4]
call fcn.005ade30
movsx ecx, ax
add esp, 0x18
mov eax, ecx
mov byte [esi + 2], cl
sar eax, 8
mov byte [esi + 3], al
add esi, 4
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
test ebx, ebx
jne 0x5adbf0
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax + 4], esi
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret