Function at 0x1000c840
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028b26
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x1003d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push 0x9c63
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.1001d717
add esp, 4
test eax, eax
je 0x1000cbd8
lea edi, [eax + 0x23]
and edi, 0xffffffe0
push 0x9c40
push 0
push edi
lea esi, [edi + 0x9c40]
mov dword [ebp - 0x1c], edi
mov dword [edi - 4], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x9c40
push edi
mov dword [ebp - 0x18], 0
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor ecx, ecx
mov dword [ebp - 0x10], 1
test dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x14], ecx
jbe 0x1000cb99
nop word [eax + eax]
mov esi, dword [edi + ecx*4]
push 0x208
call fcn.1001d717
mov edi, eax
push 0x208
push 0
push edi
lea eax, [edi + 0x208]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], eax
call sub.msvcrt.dll_memset
lea eax, [edi + 0x208]
add esp, 0x10
mov dword [ebp - 0x28], eax
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x1000c9ce
cmp esi, 0xffffffff
je 0x1000c9ce
push 0x104
push edi
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1000c9ce
mov ecx, edi
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c9a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.10006c80
or dword [ebp - 0x10], 2
mov byte [ebp - 0x3c], 1
push esi
mov byte [ebp - 4], 4
call dword [0x1002c284]
jmp 0x1000c9ea
mov byte [ebp - 4], 5
test esi, esi
je 0x1000c9e2
cmp esi, 0xffffffff
je 0x1000c9e2
push esi
call dword [0x1002c284]
or dword [ebp - 0x10], 2
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x1000ca39
mov eax, dword [ebp - 0x24]
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, 0x1000
jb 0x1000ca1a
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1000cbd8
mov edi, edx
push ecx
push edi
call fcn.1001d747
mov dword [ebp - 0x24], 0
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
cmp byte [ebp - 0x3c], 0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [edi + ecx*4]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x58], 0
je 0x1000ca80
xorps xmm0, xmm0
mov byte [ebp - 0x58], 1
movups xmmword [ebp - 0x70], xmm0
xor eax, eax
movups xmm0, xmmword [ebp - 0x54]
mov word [ebp - 0x54], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 7
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1000cae0
mov dword [eax], ecx
mov byte [eax + 0x1c], 0
cmp byte [ebp - 0x58], 0
je 0x1000cada
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [eax + 4], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [eax + 0x14], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], cx
mov byte [eax + 0x1c], 1
add dword [esi + 4], 0x20
jmp 0x1000caec
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, esi
call fcn.100074c0
cmp byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
je 0x1000cb44
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x1000cb30
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cb26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbd8
push ecx
push edx
call fcn.1001d747
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
je 0x1000cb84
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x1000cb84
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cb7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbd8
push ecx
push edx
call fcn.1001d747
add esp, 8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc ecx
shr eax, 2
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jb 0x1000c920
mov edx, dword [ebp - 0x30]
sub edx, edi
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x1000cbbb
mov ecx, dword [edi - 4]
add edx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1000cbd8
mov edi, ecx
push edx
push edi
call fcn.1001d747
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1001f030
int3