Function at 0x43e980
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add ecx, esi
sub ecx, dword [esp + 0x4c]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x24], ecx
cmp ecx, esi
jbe 0x43ecb0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
lea ebp, [ecx - 1]
xor edi, edi
mov dword [esp], 0
mov dword [esp + 0x10], 0
jmp 0x43e9e8
add esi, ecx
mov edi, dword [esp + 4]
inc esi
cmp esi, dword [esp + 0x24]
jae 0x43ecb0
mov dword [esp + 4], edi
test edx, edx
je 0x43e9f5
cmp byte [edx], 0x3f
je 0x43ea00
movzx ecx, byte [esi]
mov eax, dword [esp + 0x48]
cmp cl, byte [eax]
jne 0x43e9d9
cmp dword [esp + 0x4c], 2
jb 0x43ea40
xor ecx, ecx
jmp 0x43ea28
movzx edx, byte [esi + ecx + 1]
mov eax, dword [esp + 0x48]
cmp dl, byte [eax + ecx + 1]
mov edx, dword [esp + 0x50]
jne 0x43e9d7
inc ecx
cmp ebp, ecx
je 0x43ea40
test edx, edx
je 0x43ea10
cmp byte [edx + ecx + 1], 0x3f
jne 0x43ea10
jmp 0x43ea23
mov edi, dword [esp + 4]
mov ecx, edi
mov eax, dword [esp]
sub ecx, eax
cmp edi, dword [esp + 0x10]
je 0x43ea5a
mov edi, dword [esp + 4]
jmp 0x43ec9b
mov dword [esp + 0xc], ecx
sar ecx, 2
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x43ea70
mov edi, eax
lea eax, [edi*4]
push eax
call fcn.0040c4e0
add esp, 4
mov edx, dword [esp]
test edx, edx
mov dword [esp + 8], eax
je 0x43ec78
mov dword [esp + 0x10], edi
cmp eax, edx
mov ebx, dword [esp + 0xc]
jbe 0x43eb52
cmp dword [esp + 4], eax
jbe 0x43eb52
test ebx, ebx
je 0x43ec61
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
add eax, edx
dec eax
mov ecx, dword [esp + 8]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x43eae4
neg edi
xor edx, edx
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43ead0
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov edi, dword [esp]
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x43ec61
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43eb00
jmp 0x43ec61
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, dword [esp + 8]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [esp + 8]
add eax, edx
add edx, ecx
mov ecx, ebx
not ecx
or ecx, 3
mov dword [esp + 0x14], ecx
lea edi, [ebx + ecx]
mov dword [esp + 0x20], edi
add ecx, ebx
inc ecx
mov dword [esp + 0x18], ecx
shr ecx, 1
mov dword [esp + 0x1c], edx
mov edi, eax
mov ebx, dword [esp + 0x1c]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 0x18]
not edi
or edi, 1
mov ecx, dword [esp + 0x20]
add ecx, edi
inc ecx
inc ecx
je 0x43ec61
mov ebx, dword [esp + 0x18]
and ebx, 0xfffffffe
add edx, ebx
add eax, ebx
mov ebx, dword [esp + 0x14]
add ebx, edi
add ebx, dword [esp + 4]
sub ebx, dword [esp]
mov edi, ecx
and ecx, 7
je 0x43ebfd
mov dword [esp + 0x14], ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
mov byte [eax + edi], bl
inc edi
cmp ecx, edi
jne 0x43ebe0
add edx, edi
add eax, edi
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, edi
add ecx, 2
jmp 0x43ebff
mov ecx, edi
inc ebx
cmp ebx, 7
jb 0x43ec61
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, ecx
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
movzx ecx, byte [edx + edi + 1]
mov byte [eax + edi + 1], cl
movzx ecx, byte [edx + edi + 2]
mov byte [eax + edi + 2], cl
movzx ecx, byte [edx + edi + 3]
mov byte [eax + edi + 3], cl
movzx ecx, byte [edx + edi + 4]
mov byte [eax + edi + 4], cl
movzx ecx, byte [edx + edi + 5]
mov byte [eax + edi + 5], cl
movzx ecx, byte [edx + edi + 6]
mov byte [eax + edi + 6], cl
movzx ecx, byte [edx + edi + 7]
mov byte [eax + edi + 7], cl
mov ecx, ebx
add edi, 8
cmp ebx, edi
jne 0x43ec10
push dword [esp]
call fcn.0040c4f0
add esp, 4
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov dword [ebx], eax
lea edx, [eax + edi*4]
mov edi, eax
mov ecx, dword [esp + 0xc]
add edi, ecx
mov dword [esp + 0x10], edx
mov dword [ebx + 8], edx
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx], esi
add edi, 4
mov dword [ebx + 4], edi
mov eax, dword [esp + 0x4c]
add esi, eax
dec esi
jmp 0x43e9dd
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret