Function at 0x4389d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, edx
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x438b09
mov edx, dword [esi + 4]
cmp edx, 8
jne 0x438a28
cmp dword [esi + 0x10], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov al, byte [eax + ecx]
mov byte [ebp], al
mov byte [edi], al
mov byte [ebx], al
je 0x438af9
movzx eax, al
cmp eax, dword [esi + 0x14]
jmp 0x438ae7
cmp edx, 0x10
jne 0x438a5c
cmp dword [esi + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea edx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp], al
mov byte [edi], al
mov byte [ebx], al
je 0x438af9
movzx ecx, al
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
jmp 0x438ae4
mov ecx, edx
mov eax, 1
shl eax, cl
xor ecx, ecx
dec eax
mov dword [esp + 0x1c], eax
mov eax, edx
imul eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [edx - 1]
cmp eax, edx
jae 0x438acb
mov ebp, dword [esp + 0x2c]
lea esi, [edx - 1]
mov ebx, dword [esp + 0x18]
xor edi, edi
nop dword [eax + eax]
mov al, bl
mov cl, 7
and al, 7
sub cl, al
mov eax, ebx
shr eax, 3
inc ebx
mov al, byte [eax + ebp]
shr al, cl
mov ecx, esi
and al, 1
dec esi
movzx eax, al
shl eax, cl
add edi, eax
cmp esi, edx
jb 0x438a90
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
imul eax, ecx, 0xff
xor edx, edx
div dword [esp + 0x1c]
cmp dword [esi + 0x10], 0
mov byte [ebp], al
mov byte [edi], al
mov byte [ebx], al
je 0x438af9
cmp ecx, dword [esi + 0x14]
jne 0x438af9
mov ecx, dword [esp + 0x28]
xor al, al
pop edi
pop esi
pop ebp
mov byte [ecx], al
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x28]
or al, 0xff
pop edi
pop esi
pop ebp
mov byte [ecx], al
pop ebx
add esp, 0x10
ret
cmp eax, 2
jne 0x438beb
cmp dword [esi + 4], 8
jne 0x438b75
cmp dword [esi + 0x10], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea eax, [eax + ecx*2]
mov dl, byte [ecx + eax]
mov byte [ebx], dl
mov bl, byte [ecx + eax + 1]
mov cl, byte [ecx + eax + 2]
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x28]
mov byte [edi], bl
mov byte [ebp], cl
je 0x438bdf
movzx eax, byte [esp + 0x34]
cmp eax, dword [esi + 0x14]
jne 0x438bdf
movzx eax, bl
cmp eax, dword [esi + 0x18]
jne 0x438bdf
movzx eax, cl
cmp eax, dword [esi + 0x1c]
jne 0x438bdf
pop edi
pop esi
xor al, al
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x2c]
lea edx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebx], al
mov bh, byte [edx + 2]
mov bl, byte [edx + 4]
mov byte [edi], bh
mov byte [ebp], bl
je 0x438bdb
movzx ecx, al
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
cmp ecx, dword [esi + 0x14]
jne 0x438bdb
movzx eax, byte [edx + 3]
movzx ecx, bh
shl ecx, 8
add ecx, eax
cmp ecx, dword [esi + 0x18]
jne 0x438bdb
movzx eax, byte [edx + 5]
movzx ecx, bl
shl ecx, 8
add ecx, eax
cmp ecx, dword [esi + 0x1c]
jne 0x438bdb
mov edx, dword [esp + 0x28]
xor al, al
pop edi
pop esi
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
pop edi
pop esi
or al, 0xff
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
cmp eax, 3
jne 0x438c97
mov eax, dword [esi + 4]
cmp eax, 8
jne 0x438c0a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
movzx ebp, byte [eax + ecx]
jmp 0x438c50
mov edx, eax
lea edi, [eax - 1]
imul edx, dword [esp + 0x30]
xor ebp, ebp
cmp edi, eax
jae 0x438c48
mov ebx, dword [esp + 0x2c]
nop
mov al, dl
mov cl, 7
and al, 7
sub cl, al
mov eax, edx
shr eax, 3
inc edx
mov al, byte [eax + ebx]
shr al, cl
mov ecx, edi
and al, 1
dec edi
movzx eax, al
shl eax, cl
add ebp, eax
cmp edi, dword [esi + 4]
jb 0x438c20
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp ebp, dword [esi + 0xc]
jb 0x438c71
mov byte [ebx], 0
or bl, 0xff
xor bh, bh
xor al, al
mov byte [edi], al
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov byte [eax], bh
mov byte [edx], bl
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 8]
lea ecx, [eax + ebp*4]
movzx eax, byte [ecx]
mov byte [ebx], al
mov al, byte [ecx + 1]
mov bl, byte [ecx + 3]
mov bh, byte [ecx + 2]
mov byte [edi], al
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov byte [eax], bh
mov byte [edx], bl
pop ebx
add esp, 0x10
ret
cmp eax, 4
jne 0x438cf2
cmp dword [esi + 4], 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
jne 0x438cce
mov dl, byte [eax + ecx*2 + 1]
mov al, byte [eax + ecx*2]
mov byte [ebp], al
mov byte [edi], al
pop edi
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x24]
mov byte [ebx], al
mov al, byte [esp + 0x30]
pop esi
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
mov bl, byte [eax + ecx*4 + 2]
mov al, byte [eax + ecx*4]
mov byte [ebp], al
mov byte [esp + 0x34], bl
mov ebx, dword [esp + 0x10]
mov byte [edi], al
pop edi
pop esi
mov byte [ebx], al
mov al, byte [esp + 0x2c]
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
cmp eax, 6
jne 0x438d43
cmp dword [esi + 4], 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
jne 0x438d28
lea ecx, [eax + ecx*4]
movzx eax, byte [ecx]
mov byte [ebx], al
movzx eax, byte [ecx + 1]
mov byte [edi], al
movzx eax, byte [ecx + 2]
pop edi
mov byte [ebp], al
movzx eax, byte [ecx + 3]
pop esi
pop ebp
mov byte [edx], al
pop ebx
add esp, 0x10
ret
lea ecx, [eax + ecx*8]
movzx eax, byte [ecx]
mov byte [ebx], al
movzx eax, byte [ecx + 2]
mov byte [edi], al
movzx eax, byte [ecx + 4]
mov byte [ebp], al
movzx eax, byte [ecx + 6]
mov byte [edx], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret