Function at 0x429050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov al, byte [esi + 6]
lea ecx, [esi + 8]
mov dword [esp + 0x14], ecx
test al, al
jns 0x4290a0
mov edx, dword [ecx]
lea eax, [edx - 1]
test edx, eax
je 0x4290a0
mov eax, edx
shr eax, 1
or edx, eax
mov eax, edx
shr eax, 2
or edx, eax
mov eax, edx
shr eax, 4
or edx, eax
mov eax, edx
shr eax, 8
or edx, eax
mov edi, edx
shr edi, 0x10
or edi, edx
inc edi
jmp 0x4290a6
mov edi, dword [ecx]
mov dword [esp + 0x14], ecx
push dword [ebp + 0xc]
and byte [esi + 6], 0x7f
lea edx, [esp + 0x44]
mov dword [ecx], edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.00428f80
mov ebx, dword [ebp + 8]
add esp, 4
cmp ebx, edi
jae 0x4291c9
mov eax, dword [esp + 0x14]
mov edi, ebx
shl edi, 4
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [eax], ebx
mov al, byte [esi + 7]
mov ebx, dword [esp + 0x18]
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x47]
mov byte [esi + 7], al
mov eax, dword [esp + 0x50]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x14], eax
add edi, dword [esi + 0xc]
test byte [edi + 8], 0xf
je 0x429174
lea eax, [ecx + 1]
mov ecx, esi
push 0
push eax
mov dword [esp + 0x2c], eax
call fcn.004299a0
mov ecx, eax
add esp, 8
cmp byte [ecx + 8], 0x20
jne 0x429160
mov eax, dword [esp + 0x24]
mov edx, esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 3
call fcn.00429730
add esp, 8
jmp 0x429170
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov al, byte [edi + 8]
mov byte [ecx + 8], al
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
inc ecx
add edi, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
cmp ecx, ebx
jb 0x429110
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x28]
mov edx, dword [esi + 0x14]
mov dword [eax], ebx
mov bl, byte [esp + 0xf]
mov al, byte [esi + 7]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x2c]
mov byte [esi + 7], bl
mov ebx, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x47], al
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x4291dd
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x47]
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
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 + 0x2c], ecx
mov dword [esp + 0x3c], edx
call eax
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x1c]
test ecx, ecx
jne 0x429236
test eax, eax
je 0x429236
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.00432820
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x429243
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub eax, edi
add dword [edx + 0xc], eax
test ecx, ecx
jne 0x42924b
test ebx, ebx
jne 0x429340
mov eax, dword [esi + 0x10]
mov dl, byte [esi + 7]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0xe]
mov byte [esi + 7], al
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [eax], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
jae 0x429294
sub ebx, eax
mov eax, dword [esi + 0xc]
lea edi, [edi + 0x10]
mov byte [eax + edi - 8], 0x10
sub ebx, 1
jne 0x429284
mov eax, 1
mov cl, dl
shl eax, cl
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x429311
mov edi, dword [esp + 0x1c]
mov ebx, eax
add edi, 8
mov edi, edi
test byte [edi], 0xf
je 0x429305
mov eax, dword [edi + 8]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov ecx, esi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov al, byte [edi + 1]
mov byte [esp + 0x38], al
call fcn.00429b00
mov ecx, eax
lea edx, [edi - 8]
cmp byte [ecx + 8], 0x20
jne 0x4292f6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push eax
mov edx, esi
call fcn.00429730
add esp, 8
jmp 0x429305
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov al, byte [edi]
mov byte [ecx + 8], al
add edi, 0x18
sub ebx, 1
jne 0x4292b0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0
je 0x429339
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x10]
push 0
shl edi, 3
push edi
mov esi, dword [eax + 0x10]
push dword [esp + 0x24]
push dword [esi + 4]
mov eax, dword [esi]
call eax
add esp, 0x10
sub dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
call fcn.00428f40
mov ecx, dword [esp + 0x10]
mov edx, 4
call fcn.0042b780
int3