Function at 0x42a450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0x20], ebx
mov dl, byte [esi + 6]
mov ecx, dword [esi + 8]
test dl, dl
jns 0x42a4ae
lea eax, [ecx - 1]
test ecx, eax
je 0x42a4ae
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov edi, ecx
shr edi, 0x10
or edi, ecx
inc edi
mov dword [esp + 0x24], edi
jmp 0x42a4b4
mov edi, ecx
mov dword [esp + 0x24], ecx
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
and dl, 0x7f
mov byte [esi + 6], dl
lea edx, [esp + 0x34]
mov dword [esi + 8], edi
call fcn.0042a300
add esp, 4
cmp ebx, edi
jae 0x42a5d2
mov al, byte [esi + 7]
mov ecx, ebx
mov byte [esp + 0xe], al
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x37]
mov byte [esi + 7], al
mov eax, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
shl ecx, 4
mov dword [esi + 8], ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x10], ecx
nop
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [esp + 0x18], eax
test byte [eax + 8], 0xf
je 0x42a587
lea eax, [ebx + 1]
mov ecx, esi
push 0
push eax
call fcn.0042ad70
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x1c], eax
cmp byte [eax + 8], 0x20
jne 0x42a567
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 1]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push edx
push eax
mov edx, esi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 3
call fcn.0042aa80
add esp, 8
jmp 0x42a583
mov edi, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], ecx
mov ecx, edi
mov al, byte [edx + 8]
mov edi, dword [esp + 0x24]
mov byte [ecx + 8], al
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x10
mov dword [esp + 0x10], ecx
cmp ebx, edi
jb 0x42a510
mov bl, byte [esp + 0xe]
mov al, byte [esi + 7]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esi + 7], bl
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esi + 8], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x37], al
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x42a5e6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x37]
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x14]
shl ecx, 4
push ecx
shl edi, 4
mov eax, dword [eax + 0x10]
push edi
push edx
mov dword [esp + 0x34], eax
push dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
call eax
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x10]
test ecx, ecx
jne 0x42a63f
test eax, eax
je 0x42a63f
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push edi
call fcn.00418d40
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x42a64c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
sub eax, edi
add dword [edx + 0xc], eax
test ecx, ecx
jne 0x42a654
test ebx, ebx
jne 0x42a758
mov eax, dword [esi + 0x10]
mov dl, byte [esi + 7]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0xf]
mov byte [esi + 7], al
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0xe], dl
mov dword [esi + 0xc], ecx
mov dword [esi + 8], ebx
cmp eax, ebx
jae 0x42a6a0
sub ebx, eax
nop
mov eax, dword [esi + 0xc]
lea edi, [edi + 0x10]
mov byte [edi + eax - 8], 0x10
sub ebx, 1
jne 0x42a690
mov eax, 1
mov cl, dl
mov ebx, eax
shl ebx, cl
test ebx, ebx
jle 0x42a71a
mov edi, dword [esp + 0x10]
add edi, 8
test byte [edi], 0xf
je 0x42a70b
mov eax, dword [edi + 8]
lea edx, [esp + 0x50]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x50], eax
mov al, byte [edi + 1]
mov dword [esp + 0x54], ecx
mov ecx, esi
mov byte [esp + 0x58], al
call fcn.0042af00
mov edx, eax
lea ecx, [edi - 8]
cmp byte [edx + 8], 0x20
jne 0x42a6fc
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
mov edx, esi
call fcn.0042aa80
add esp, 8
jmp 0x42a70b
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, byte [edi]
mov byte [edx + 8], al
add edi, 0x18
sub ebx, 1
jne 0x42a6b6
mov dl, byte [esp + 0xe]
lea eax, [ebx + 1]
cmp dword [esp + 0x20], 0
je 0x42a746
mov cl, dl
shl eax, cl
push 0
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x18]
shl edi, 3
push edi
push dword [esp + 0x18]
mov esi, dword [eax + 0x10]
push dword [esi + 4]
mov eax, dword [esi]
call eax
add esp, 0x10
sub dword [esi + 0xc], edi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434cb0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.0042a2c0
mov ecx, dword [esp + 0x14]
mov edx, 4
call fcn.0040e220
int3