Function at 0x10069270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov edx, ecx
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x24], edx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], esi
push edi
cmp ecx, 0x40
jbe 0x100695ff
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x100695ff
mov edx, dword [ebx + 0x3c]
lea eax, [edx + 0xf8]
cmp ecx, eax
jb 0x100695ff
cmp dword [edx + ebx], 0x4550
lea ecx, [edx + ebx]
mov dword [ebp - 8], ecx
jne 0x100695ff
mov ax, word [ecx + 0x16]
mov edx, 0x2002
and ax, dx
cmp ax, dx
jne 0x100695ff
mov eax, 0xe0
cmp word [ecx + 0x14], ax
jne 0x100695ff
movzx eax, word [ecx + 6]
lea edi, [ecx + 0x108]
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edi
test eax, eax
je 0x10069346
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp eax, dword [ebx + 4]
mov ebx, dword [ebp - 0x1c]
ja 0x100695ff
inc edx
add ecx, 0x28
cmp edx, dword [ebp - 0xc]
jl 0x10069326
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [ecx + 0x38]
mov eax, dword [eax + 0x54]
dec eax
add eax, ecx
div ecx
imul eax, ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
jbe 0x100693a1
mov dword [ebp - 0x28], edi
mov ebx, eax
mov ecx, dword [edi - 8]
cmp dword [edi], ecx
mov edx, dword [ebp - 8]
cmovg ecx, dword [edi]
lea edi, [edi + 0x28]
add ecx, dword [edi - 0x2c]
mov esi, dword [ebp - 8]
mov eax, dword [edx + 0x38]
xor edx, edx
dec eax
add eax, ecx
div dword [esi + 0x38]
imul eax, dword [esi + 0x38]
cmp ebx, eax
cmovge eax, ebx
sub dword [ebp - 0xc], 1
mov ebx, eax
jne 0x10069366
mov edi, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x100695ff
push 0x40
push 0x1000
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x2c]
mov esi, dword [ebp - 4]
test esi, esi
je 0x100695ff
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x54]
lea edx, [eax + ecx*8]
xor ecx, ecx
test edx, edx
jle 0x100693f1
mov al, byte [ecx + ebx]
mov byte [ecx + esi], al
inc ecx
mov esi, dword [ebp - 4]
cmp ecx, edx
jl 0x100693e3
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp ax, word [ecx + 6]
jae 0x10069448
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x10069433
mov eax, dword [edi]
test eax, eax
je 0x10069433
lea edx, [ecx + esi]
xor ecx, ecx
test eax, eax
je 0x10069433
nop dword [eax]
mov eax, dword [edi + 4]
add eax, ecx
mov al, byte [eax + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [edi]
jb 0x10069420
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add edi, 0x28
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x10069403
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
je 0x100694e5
cmp dword [ebx + 0xa4], 0
jbe 0x100694e5
lea edi, [ecx + esi]
mov eax, esi
sub eax, dword [ebx + 0x34]
lea ecx, [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx]
add eax, ecx
je 0x100694e5
mov dword [ebp - 0x2c], 0x3000
mov dword [ebp - 0x18], 0xa000
nop dword [eax]
lea ebx, [ecx - 8]
mov edx, 0
shr ebx, 1
je 0x100694ce
nop dword [eax]
movzx eax, word [edi + edx*2 + 8]
mov ecx, eax
and ecx, 0xf000
cmp cx, word [ebp - 0x2c]
je 0x100694b9
cmp cx, word [ebp - 0x18]
jne 0x100694c9
mov ecx, dword [ebp - 0x10]
and eax, 0xfff
add eax, dword [edi]
add dword [eax + esi], ecx
mov esi, dword [ebp - 4]
inc edx
cmp edx, ebx
jl 0x100694a0
mov eax, dword [ebp - 0x1c]
add edi, dword [eax]
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
add eax, ecx
jne 0x10069490
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x100695ff
lea edx, [eax + esi]
mov eax, dword [edx]
mov dword [ebp - 0x18], edx
test eax, eax
je 0x100695e6
mov ebx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
add eax, esi
mov dword [ebp - 0x1c], eax
add ecx, esi
mov eax, dword [edx + 0xc]
add eax, esi
mov dword [ebp - 0x2c], ecx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], 0
push eax
call ebx
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x30]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
call dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100695fc
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov eax, dword [esi]
test eax, eax
je 0x100695cd
xor ebx, ebx
mov dword [ebp - 0x10], 0
test eax, eax
jns 0x10069584
movzx eax, ax
test eax, eax
je 0x100695fc
lea edx, [ebp - 0x10]
push edx
push eax
push 0
push ecx
call dword [ebp - 0x20]
jmp 0x100695a9
mov esi, dword [ebp - 4]
add eax, 2
add eax, esi
je 0x100695ff
push eax
lea eax, [ebp - 0x40]
push eax
call dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100695fc
mov ecx, dword [ebp - 0x2c]
inc edi
mov dword [ebx + ecx], eax
lea ebx, [edi*4]
mov eax, dword [ebx + esi]
test eax, eax
je 0x100695ca
mov ecx, dword [ebp - 0xc]
jmp 0x10069561
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
test eax, eax
jne 0x10069506
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x34], esi
push dword [eax + 0x20]
push 1
push dword [eax + 0x24]
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 4]
call eax
mov esi, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret