Function at 0x428350
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp + 0xc]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.004285e5
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
jge 0x4283b9
push dword [ebp - 4]
call fcn.004280a8
pop ecx
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ebx
test ebx, ebx
mov dword [ecx], eax
jbe 0x4283dd
push dword [ebp + 0xc]
call fcn.0042810f
pop ecx
mov esi, eax
xor ecx, ecx
cmp esi, ecx
jbe 0x4283dd
cmp dword [ebp + 0x10], 0xfffffffe
jne 0x428406
cmp dword [ebp + 0xc], ecx
jle 0x428406
lea eax, [esi + 0x2e]
or word [eax], 0xffff
inc ecx
add eax, 0x30
cmp ecx, dword [ebp + 0xc]
jl 0x4283aa
jmp 0x428406
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004281cd
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
jbe 0x4283dd
push dword [ebp + 0xc]
call fcn.004282dc
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
ja 0x4283e5
or eax, 0xffffffff
jmp 0x428549
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x4283fd
add eax, 0x2e
mov word [eax], 1
inc ecx
add eax, 0x30
cmp ecx, dword [ebp + 0xc]
jl 0x4283ef
add dword [ebp - 4], esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x428546
jmp 0x428413
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [edi + 8]
call fcn.004285a9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov ecx, esi
xor edx, edx
lea eax, [eax + eax*2]
add esp, 0xc
shl eax, 4
add esi, eax
cmp dword [ebp - 0xc], edx
mov dword [ebp + 0x10], esi
jle 0x428472
mov ax, word [edi + 6]
mov word [ebx], ax
mov ax, word [edi + 4]
mov word [ebx + 2], ax
mov ax, word [edi + 0x10]
mov word [ebx + 8], ax
mov dword [ebx + 4], ecx
movsx eax, word [edi + 0x10]
add ebx, 0x18
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
inc edx
cmp edx, dword [ebp - 0xc]
jl 0x428440
mov dword [ebp + 8], ebx
mov esi, dword [edi + 8]
test esi, esi
je 0x428533
push esi
push dword [edi + 8]
call fcn.00428584
pop ecx
mov ebx, eax
pop ecx
push esi
call fcn.0042855e
pop ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
test ebx, ebx
jle 0x428521
mov dword [ebp - 0x10], ebx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x42851c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jle 0x428518
mov ax, word [esi + 0xa]
mov word [ecx], ax
mov ax, word [esi + 8]
mov word [ecx + 2], ax
mov ax, word [edx + 4]
mov word [ecx + 4], ax
mov eax, dword [edx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 8]
mov dword [ecx + 0x18], eax
mov ax, word [edx + 0x18]
mov word [ecx + 0x1e], ax
mov ax, word [esi + 0x18]
cmp ax, 3
jne 0x428505
cmp dword [edx + 0xc], 0
jne 0x428505
mov word [ecx + 0x1c], 4
jmp 0x428509
mov word [ecx + 0x1c], ax
movsx eax, word [edi + 0x10]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
dec ebx
jne 0x4284b0
mov edx, dword [edx]
jmp 0x4284a5
dec dword [ebp - 0x10]
jne 0x4284a2
mov esi, dword [esi + 4]
add dword [ebp - 8], 0x30
test esi, esi
jne 0x42847d
mov ebx, dword [ebp + 8]
mov esi, dword [edi]
push edi
call fcn.0042b06a
test esi, esi
pop ecx
mov edi, esi
jne 0x428410
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret