Function at 0x1006656a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014807a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100665c0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x100665bb
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10066d37
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0x3248c66
mov dword [ebp - 0x88], 0xba6b42be
mov dword [ebp - 0xa8], 0x551fa4c8
push 4
lea ecx, [ebp - 0xfc]
call fcn.100141a5
and dword [ebp - 4], 0
mov dword [ebp - 0x78], 0x91c84132
mov dword [ebp - 0x58], 0x72d50fa8
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0x10c], 0x914a
push 0x7ebf
push 0
lea eax, [ebp - 0x118]
push eax
push 0x3616
lea eax, [ebp - 0xfc]
push eax
call fcn.10064fd4
add esp, 0x14
cmp dword [ebp - 0x10], 0xffffffff
jle 0x10066657
mov dword [ebp - 0x80], 1
jmp 0x1006665b
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x10]
jl 0x1006666d
mov dword [ebp - 0x5c], 1
jmp 0x10066671
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, 0x2717
je 0x1006668a
mov dword [ebp - 0x60], 1
jmp 0x1006668e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x60], eax
jl 0x100666a2
mov dword [ebp - 0xac], 1
jmp 0x100666a9
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jl 0x100666cc
mov dword [ebp - 0x68], 1
jmp 0x100666d0
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
imul eax, dword [ebp - 0x10]
test eax, eax
jl 0x100666f3
mov dword [ebp - 0xc8], 1
jmp 0x100666fa
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x114], eax
mov eax, 0x120d
sub eax, 0xfffffff8
mov dword [ebp - 0x70], eax
push 2
lea ecx, [ebp - 0xfc]
call fcn.1001420c
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x70], eax
jle 0x10066734
mov dword [ebp - 0x90], 1
jmp 0x1006673b
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jb 0x10066759
mov dword [ebp - 0xa0], 1
jmp 0x10066760
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x80], eax
je 0x10066789
push 2
lea ecx, [ebp - 0xfc]
call fcn.1001420c
cmp dword [eax], 0
jne 0x10066789
and dword [ebp - 0x98], 0
jmp 0x10066793
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xbc], eax
push 0
push 0x5d44
push 0x25b0
call fcn.10065267
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.10014207
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x44], 0
jmp 0x100667ff
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x44], eax
jge 0x10066d37
mov dword [ebp - 0x28], 0x68ec0ae9
mov dword [ebp - 0xc4], 0xbf2d3f50
mov dword [ebp - 0x28], 0x1b
jmp 0x10066832
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffa
jle 0x1006688b
mov dword [ebp - 0xd4], 3
mov dword [ebp - 0x38], 0
jmp 0x10066852
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x10066868
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x128], 1
jmp 0x1006684b
push 0
lea eax, [ebp - 0xd4]
push eax
call fcn.1006438a
pop ecx
pop ecx
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
push 0
call fcn.10064331
pop ecx
pop ecx
jmp 0x1006682b
lea eax, [ebp - 0xc4]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.100643e2
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x10066ae5
push 3
lea ecx, [ebp - 0x54]
call fcn.100141a5
mov dword [ebp - 4], 1
mov dword [ebp - 0xcc], 3
mov dword [ebp - 0x24], 0
jmp 0x100668d8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x100668ee
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xf0], 0xae35
jmp 0x100668d1
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x70ab
push 0x71ed
call fcn.100644d0
add esp, 0x14
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
mov dword [eax], 2
jmp 0x10066934
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
cmp dword [eax], 0
jl 0x10066a45
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0x94], 0x2aa9dade
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xf0]
cmp dword [ebp + eax - 0xf0], ecx
jle 0x10066983
mov dword [ebp - 0x84], 1
jmp 0x1006698a
and dword [ebp - 0x84], 0
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
cmp dword [eax], 0
je 0x100669ab
cmp dword [ebp - 0x94], 0
je 0x100669ab
mov dword [ebp - 0x6c], 1
jmp 0x100669af
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp + eax - 0xf0]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0xf0]
jge 0x100669e6
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
cmp dword [eax], 0
je 0x100669e6
mov dword [ebp - 0x74], 1
jmp 0x100669ea
and dword [ebp - 0x74], 0
mov esi, dword [ebp - 0xe4]
sub esi, dword [ebp - 0x74]
push 2
lea ecx, [ebp - 0x54]
call fcn.1001420c
add esi, dword [eax]
cmp esi, 1
je 0x10066a0d
mov dword [ebp - 0x7c], 1
jmp 0x10066a11
and dword [ebp - 0x7c], 0
mov eax, 0x693009c
sub eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x84], eax
jge 0x10066a2d
mov dword [ebp - 0x8c], 1
jmp 0x10066a34
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
jmp 0x1006691c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x7700
call fcn.100694f5
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10014207
push 0x38af
push dword [ebp - 0xb4]
push dword [ebp - 0x14]
push 0
push 0x79b2
push dword [ebp - 0xa4]
lea eax, [ebp - 0x48]
push eax
call fcn.1006c684
add esp, 0x1c
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x30], 0xfffffff0
jmp 0x10066aa9
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe8
je 0x10066ae0
mov dword [ebp - 0xb8], 0x8b10
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10066ad3
push 0x75a0
push 1
call fcn.10064331
pop ecx
pop ecx
cmp dword [ebp - 0xb8], 0
je 0x10066ade
jmp 0x10066ae0
jmp 0x10066aa2
jmp 0x100667ef
push 2
lea ecx, [ebp - 0x108]
call fcn.100141a5
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0xfffffff6
push 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.100679ce
add esp, 0xc
mov dword [ebp - 0x40], 1
jmp 0x10066b28
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10066cb9
push 1
lea ecx, [ebp - 0xe0]
call fcn.100141a5
mov byte [ebp - 4], 3
push 0x4534
push 0
push 0x6b94
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10064426
add esp, 0x14
push 0
lea ecx, [ebp - 0xe0]
call fcn.1001420c
and dword [eax], 0
jmp 0x10066b9b
push 0
lea ecx, [ebp - 0xe0]
call fcn.1001420c
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.1001420c
cmp dword [eax], 1
jg 0x10066ca5
mov dword [ebp - 0x34], 0xffffffff
push 0
call fcn.1006521a
pop ecx
mov dword [ebp - 0x34], 1
jmp 0x10066bd0
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10066ca0
mov dword [ebp - 0x18], 0x5f0ed1ad
mov dword [ebp - 0x18], 1
jmp 0x10066bf1
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10066c63
mov dword [ebp - 0x2c], 0x498e64e6
mov byte [ebp - 0x1b], 0
push 0x3e06
push 0x7962
lea eax, [ebp - 0x1b]
push eax
push 0
call fcn.1006c4ea
add esp, 0x10
mov dword [ebp - 0x2c], 1
jmp 0x10066c2a
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10066c61
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10066c4a
push 1
push 0x47c1
call fcn.1006438a
pop ecx
pop ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x108]
call fcn.1001420c
cmp dword [eax], 0
je 0x10066c5f
jmp 0x10066c61
jmp 0x10066c23
jmp 0x10066bea
mov dword [ebp - 0x18], 0
jmp 0x10066c73
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10066c9b
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10066c99
push 0x11b
push 1
push 0x9de
call fcn.100643e2
add esp, 0xc
jmp 0x10066c6c
jmp 0x10066bc9
jmp 0x10066b77
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.10014207
jmp 0x10066b21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10014207
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa4]
add ecx, dword [eax + 0xc]
push ecx
push 0x5c4a9
push 0x4cb3f
call fcn.10027b51
pop ecx
pop ecx
call eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc0]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x48]
call fcn.10027be2
add esp, 0xc
push 0x415e
lea eax, [ebp - 0x14]
push eax
push 0x36c0
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.10065196
add esp, 0x14
jmp 0x100667ef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret