Function at 0x6d0f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc3c
mov eax, dword [ebp + 0x20]
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x6d0f41
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], edx
jmp 0x6d0f4d
mov ecx, dword [ebp + 0x10]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
mov edx, ecx
mov esi, dword [ebp + 8]
add eax, 3
mov dword [esp + 0x34], eax
xor eax, eax
test esi, esi
mov ecx, 0x60
lea edi, [esp + 0x648]
rep stosd dword es:[edi], eax
je 0x6d14b8
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jle 0x6d10a5
mov dword [esp + 0x10], esi
lea eax, [edx*8 + 8]
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov edi, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
shr ecx, 2
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx]
mov byte [eax + ecx - 1], dl
lea esi, [eax + ecx]
mov ecx, dword [ebx]
mov esi, dword [ebp + 0x10]
add ecx, eax
mov dl, byte [ecx + esi - 1]
mov byte [ecx + esi], dl
lea edi, [ecx + esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 1]
mov byte [eax + ecx - 2], dl
lea edi, [eax + ecx]
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 2]
mov byte [ecx + esi + 1], dl
lea edi, [ecx + esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 2]
mov byte [eax + ecx - 3], dl
lea edi, [eax + ecx]
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 3]
mov byte [ecx + esi + 2], dl
lea edi, [ecx + esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 3]
mov byte [eax + ecx - 4], dl
lea edi, [eax + ecx]
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 4]
mov byte [ecx + esi + 3], dl
lea edi, [ecx + esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 4]
mov byte [eax + ecx - 5], dl
lea edi, [eax + ecx]
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 5]
mov byte [ecx + esi + 4], dl
lea edi, [ecx + esi]
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 5]
mov byte [eax + ecx - 6], dl
lea edi, [eax + ecx]
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 6]
lea edi, [ecx + esi]
mov byte [edi + 5], dl
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 6]
lea edi, [eax + ecx]
mov byte [edi - 7], dl
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [ecx + esi - 7]
lea edi, [ecx + esi]
mov byte [edi + 6], dl
mov ecx, dword [ebx]
mov dl, byte [eax + ecx + 7]
lea edi, [eax + ecx]
mov byte [edi - 8], dl
mov ecx, dword [ebx]
add ecx, eax
mov dl, byte [esi + ecx - 8]
add esi, ecx
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov byte [esi + 7], dl
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add esi, edi
add eax, edx
dec ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
jne 0x6d0f90
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + 8]
mov dword [esp + 0x2c], eax
imul eax, edx
mov dword [esp + 0x18], eax
lea eax, [edx*8]
mov dword [esp + 0xc], eax
mov eax, edx
neg eax
mov dword [esp + 0x24], eax
mov edi, edx
imul edi, edi, 7
lea eax, [ecx + 7]
imul eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 8
mov eax, dword [ebx]
mov esi, dword [esp + 0xc]
add edi, eax
add esi, eax
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add edi, eax
add esi, eax
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
add edi, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
add edi, eax
add ecx, eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jne 0x6d10e1
mov eax, edx
shl eax, 4
mov dword [esp + 0x24], eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x10
jmp 0x6d1170
mov edi, dword [ebx + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
add ecx, ecx
add edi, esi
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0xc]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea ecx, [edx + edx]
add esi, ecx
dec eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
jne 0x6d1170
mov esi, dword [esp + 0x2c]
mov eax, 2
cmp esi, eax
mov dword [esp + 0x18], eax
jle 0x6d145e
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov esi, ecx
mov ecx, dword [ebp + 8]
dec edi
sub ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0xc], ecx
jmp 0x6d11e1
mov edi, dword [esp + 0x38]
lea esi, [eax - 6]
mov dword [esp + 0x40], esi
add esi, 2
cmp esi, edi
jle 0x6d11f1
mov esi, edi
test esi, esi
jge 0x6d11f7
xor esi, esi
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
sar esi, cl
push 2
push edx
mov edx, dword [ebx]
imul esi, dword [ebp + 0x1c]
mov dword [esp + 0x4c], esi
mov esi, eax
and esi, 1
sub edi, esi
lea eax, [edi + edx + 2]
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], edi
call fcn.006d0cd0
mov ecx, dword [ebp + 0x10]
xor eax, eax
add ecx, 0xffffffb0
add esp, 0x10
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x6d135e
mov edx, dword [esp + 0x18]
and edx, 0xf
imul edx, dword [esp + 0x1c]
sub edx, esi
lea ecx, [edx + edx + 4]
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
push 0x16
push edx
add ecx, edi
lea edx, [ecx + eax + 0xa]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.006d0cd0
mov esi, dword [esp + 0x24]
add esp, 0x10
add esi, 0xfffffffe
lea edi, [esp + 0x48]
mov dword [esp + 0x28], 0xb
test esi, esi
mov eax, esi
jge 0x6d129b
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
sar eax, cl
mov ecx, dword [ebp + 0x18]
add eax, edx
movsx eax, byte [eax + ecx]
cmp eax, dword [ebx + 0xc]
je 0x6d12be
push eax
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.006d0140
push 8
lea edx, [edi + 0x600]
push edx
lea eax, [ebx + 0x98]
push edi
push eax
call fcn.006d0250
mov eax, dword [esp + 0x38]
add esp, 0x10
add esi, 8
add edi, 0x80
dec eax
mov dword [esp + 0x28], eax
jne 0x6d1293
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x20]
push 0x16
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x654]
push edx
call fcn.006d0a80
mov eax, dword [esp + 0x24]
mov ecx, 0x20
lea esi, [esp + 0x5d8]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x18
lea esi, [esp + 0xbd8]
lea edi, [esp + 0x658]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x40]
add eax, 0x58
add esi, 0xb0
add ecx, 0xffffffb0
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
jl 0x6d1260
mov esi, dword [ebp + 0x10]
sub esi, eax
add esi, 8
cmp esi, 8
jle 0x6d1390
mov edx, dword [esp + 0x1c]
lea ecx, [esi - 4]
sar ecx, 2
push ecx
mov ecx, dword [ebx]
push edx
add ecx, edi
lea edx, [ecx + eax + 0xa]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.006d0cd0
add esp, 0x10
push esi
lea ecx, [esp + 0x64c]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [ebx + 0x98]
push eax
call fcn.006d0250
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
sar esi, 2
push esi
mov esi, dword [esp + 0x30]
and eax, 0xf
imul eax, esi
sub eax, edx
add eax, ecx
mov ecx, dword [ebx + 8]
lea edx, [ecx + eax*2 + 4]
push esi
push edx
lea eax, [esp + 0x664]
push eax
call fcn.006d0a80
mov eax, dword [esp + 0x60]
add esp, 0x20
test al, 7
jne 0x6d1427
test eax, eax
je 0x6d1427
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 1
push 8
push ecx
push esi
test al, 8
mov eax, dword [ebx + 8]
push edx
je 0x6d1416
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.006cff50
jmp 0x6d1424
mov ecx, dword [esp + 0x20]
add eax, 0x10
push eax
push ecx
call fcn.006d0030
add esp, 0x1c
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, ecx
add edi, ecx
lea ecx, [esi + esi]
add edx, ecx
mov ecx, dword [esp + 0x2c]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
jl 0x6d11dd
mov ecx, eax
and ecx, 7
je 0x6d14b8
test al, 8
push 1
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebx + 8]
push ecx
je 0x6d149f
mov esi, dword [esp + 0x38]
add eax, 0xfffffff8
and eax, 0xfffffff8
imul eax, ecx
lea edx, [esi + edx + 0x10]
push edx
add eax, dword [ebp + 8]
push eax
call fcn.006cff50
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
add eax, 0xfffffff8
and eax, 0xfffffff8
imul eax, ecx
add edx, 0x10
push edx
add eax, dword [ebp + 8]
push eax
call fcn.006d0030
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c