Function at 0x42b790
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x764
mov eax, dword [0x48b114]
push ebp
push esi
mov esi, dword [esp + 0x774]
mov dword [esp + 0x768], eax
mov eax, esi
mov ebp, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b7b2
sub eax, edx
mov edx, eax
push ebx
push edi
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x370]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x550]
shl eax, 1
xor ebx, ebx
test edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jle 0x42b87c
lea eax, [esp + 0x370]
mov edi, esi
mov dword [esp + 0x14], eax
lea esi, [esp + 0x70]
movsx ecx, byte [edi]
push ecx
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x42b83b
push 2
push edi
push esi
call fcn.0045af60
mov eax, dword [esp + 0x784]
add esp, 0xc
lea edx, [esp + 0x68]
push edx
push 2
push esi
push eax
call dword [0x47e040]
inc ebx
inc edi
jmp 0x42b85d
push 1
push edi
push esi
call fcn.0045af60
mov edx, dword [esp + 0x784]
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
push 1
push esi
push edx
call dword [0x47e040]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 4
mov dword [eax - 4], ecx
add esi, 3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
inc ebx
inc edi
cmp ebx, eax
jl 0x42b805
mov edx, dword [ebp + 0x53c]
mov ecx, dword [ebp + 0x540]
mov eax, 1
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x544]
mov dword [ebp + 0x53c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x554]
mov dword [ebp + 0x540], eax
mov dword [ebp + 0x544], eax
mov eax, dword [ebp + 0x550]
mov dword [esp + 0x50], eax
lea edi, [eax*4]
add eax, eax
lea ebx, [ecx + ecx]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], edx
mov ecx, ebx
jns 0x42b8d7
xor eax, eax
test ecx, ecx
jge 0x42b8dd
xor ecx, ecx
mov dword [ebp + 0x550], eax
mov eax, dword [ebp + 0x3dc]
push 0x47f3a2
mov dword [ebp + 0x554], ecx
push eax
mov ecx, ebp
call fcn.004227f0
lea eax, [edi + edi*2 + 6]
shl eax, 1
mov dword [esp + 0x54], eax
lea eax, [ebx + 2]
imul eax, eax, 0xf00
mov dword [esp + 0x40], eax
mov esi, dword [ebp + 0x410]
lea eax, [ebx + 4]
imul eax, eax, 0x780
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x3e0]
lea edx, [edi + edi*2 + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x550]
lea ecx, [ebx + 0x10]
imul ecx, ecx, 0x780
lea eax, [edx + edx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x554]
add eax, 8
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
jle 0x42bc60
sar ebx, 1
mov dword [esp + 0x5c], ebx
sar edi, 1
lea ebx, [esp + 0x70]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], ebx
jmp 0x42b996
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b9b0
sub eax, ecx
push eax
mov eax, dword [ebp + 0x3dc]
push ebx
push 8
push 8
push eax
call dword [0x47e03c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [ebp + 0x54c]
mov edi, dword [esp + 0x14]
push 0xcc0020
push eax
push ecx
sub edx, 4
push edx
mov edx, dword [ebp + 0x548]
lea edx, [edx + edi - 4]
push edx
mov edx, dword [esp + 0x78c]
push edx
add eax, eax
push eax
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp + 0x40c]
push 0
push 0
push eax
call dword [0x47e038]
mov eax, dword [esp + 0x40]
mov ecx, 0x1e00
cmp eax, ecx
mov dword [esp + 0x10], ecx
jle 0x42bb0b
lea esp, [esp]
mov eax, dword [esp + 0x54]
cmp eax, 0xc
jle 0x42baf5
mov edi, dword [esp + 0x44]
lea edx, [eax - 0xd]
mov eax, 0xaaaaaaab
mul edx
mov ebx, edi
sub ebx, esi
shr edx, 1
add ecx, 0xc
inc edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edx
jmp 0x42ba63
mov ebx, dword [esp + 0x24]
lea eax, [ecx + esi]
cmp byte [ebx + eax], 0
jne 0x42bac9
movzx ebx, byte [ecx + edi - 3]
movzx edx, byte [ecx + edi - 0x780]
add edx, ebx
movzx ebx, byte [ecx + edi + 3]
add edx, ebx
movzx ebx, byte [ecx + edi + 0x780]
add edx, ebx
je 0x42ba98
mov dl, 0x80
mov byte [eax], dl
mov byte [ecx + esi + 1], dl
jmp 0x42badb
movzx ebx, byte [ecx + edi - 0xf00]
movzx edx, byte [ecx + edi - 6]
add edx, ebx
movzx ebx, byte [ecx + edi + 6]
add edx, ebx
movzx ebx, byte [ecx + edi + 0xf00]
add edx, ebx
je 0x42badf
mov byte [eax], 0
mov byte [ecx + esi + 1], 0
mov byte [ecx + esi + 2], 0
jmp 0x42badf
mov dl, byte [esp + 0x18]
mov byte [eax], dl
mov al, byte [esp + 0x34]
mov dl, byte [esp + 0x2c]
mov byte [ecx + esi + 1], al
mov byte [ecx + esi + 2], dl
mov eax, dword [esp + 0x1c]
add ecx, 3
dec eax
mov dword [esp + 0x1c], eax
jne 0x42ba5f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add ecx, 0x780
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x42ba30
mov ecx, dword [esp + 0x30]
mov eax, 0x1e00
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x42bbf7
mov ecx, dword [esp + 0x3c]
mov edi, 0xc
cmp ecx, edi
jle 0x42bbe2
lea edx, [esi + 1]
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x24], ebx
lea ebx, [esi + 2]
sub ebx, edx
lea ecx, [edx + eax + 0xc]
mov dword [esp + 0x1c], ebx
lea esp, [esp]
add eax, edi
shl eax, 1
movzx ebx, byte [esi + eax + 0x780]
movzx edx, byte [esi + eax + 3]
add edx, ebx
movzx ebx, byte [esi + eax + 0x783]
add edx, ebx
movzx ebx, byte [eax + esi]
add edx, ebx
mov ebx, dword [esp + 0x24]
sar edx, 2
mov byte [ebx + ecx], dl
movzx ebx, byte [esi + eax + 0x781]
movzx edx, byte [esi + eax + 4]
add edx, ebx
movzx ebx, byte [esi + eax + 0x784]
add edx, ebx
movzx ebx, byte [esi + eax + 1]
add edx, ebx
sar edx, 2
mov byte [ecx], dl
movzx ebx, byte [esi + eax + 0x782]
movzx edx, byte [esi + eax + 5]
add edx, ebx
movzx ebx, byte [esi + eax + 0x785]
movzx eax, byte [esi + eax + 2]
add edx, ebx
add edx, eax
mov eax, dword [esp + 0x1c]
sar edx, 2
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x3c]
add edi, 3
add ecx, 3
cmp edi, eax
mov eax, dword [esp + 0x10]
jl 0x42bb50
mov ecx, dword [esp + 0x30]
add eax, 0x780
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42bb20
mov ecx, dword [ebp + 0x40c]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
push 0xcc0020
push 4
push 4
push ecx
mov ecx, dword [ebp + 0x54c]
push edx
mov edx, dword [ebp + 0x548]
push eax
mov eax, dword [esp + 0x790]
push ecx
add edx, edi
push edx
push eax
call dword [0x47e05c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + eax*4 + 0x370]
mov ecx, dword [esp + 0x20]
add edi, ebx
mov ebx, dword [esp + 0x38]
inc eax
add ebx, 3
cmp eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ebx
jl 0x42b992
mov eax, dword [ebp + 0x42c]
test eax, eax
pop edi
pop ebx
je 0x42bc95
mov ecx, dword [ebp + 0x3dc]
push eax
push ecx
call dword [0x47e06c]
mov edx, dword [ebp + 0x428]
push edx
call dword [0x47e058]
xor eax, eax
mov dword [ebp + 0x428], eax
mov dword [ebp + 0x42c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x540], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x53c], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 0x554], ecx
mov ecx, dword [esp + 0x768]
mov dword [ebp + 0x550], eax
pop esi
mov dword [ebp + 0x544], edx
mov al, 1
pop ebp
call fcn.0045a5f9
add esp, 0x764
ret 8