Function at 0x1010d8d0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101949fe
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2708
call fcn.1015dfc0
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26e4], edx
mov esi, ecx
push 0
push 0xf
mov dword [ebp - 0x26d8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x26c8]
mov dword [ebp - 0x26dc], eax
push ecx
push eax
mov dword [ebp - 0x26c8], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
lea ecx, [ebp - 0x2478]
mov dword [ebp - 0x26cc], eax
call fcn.10002700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2478]
cmp dword [ebp - 0x2464], 8
lea edi, [ebp - 0x2478]
mov edx, dword [ebp - 0x2478]
mov eax, dword [ebp - 0x2468]
cmovae ecx, edx
mov dword [ebp - 0x26d4], ecx
cmovae edi, edx
lea ecx, [ebp - 0x2478]
cmovae ecx, edx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x26d0], eax
cmp edi, eax
je 0x1010d9cc
mov esi, dword [ebp - 0x26d4]
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.10169efd
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x26d0]
jne 0x1010d9b1
cmp dword [ebp - 0x26cc], 0
je 0x1010e0df
nop dword [eax]
push dword [ebp - 0x26c0]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x26cc], edi
test edi, edi
je 0x1010e0c4
mov dword [ebp - 0x242c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2444]
push 9
xor eax, eax
mov dword [ebp - 0x2434], 0
push str.Psapi.dll
mov dword [ebp - 0x2430], 7
mov word [ebp - 0x2444], ax
call fcn.10001d60
push str.EnumProcessModulesEx
lea eax, [ebp - 0x2444]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x242c]
call fcn.10124310
mov byte [ebp - 4], 1
mov esi, eax
mov edx, dword [ebp - 0x2430]
cmp edx, 8
jb 0x1010daa1
mov ecx, dword [ebp - 0x2444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010da97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x2434], 0
mov word [ebp - 0x2444], ax
lea eax, [ebp - 0x2448]
mov dword [ebp - 0x2430], 7
test esi, esi
je 0x1010daf5
push 3
push eax
push 0x2000
lea eax, [ebp - 0x2428]
mov ecx, esi
push eax
push edi
call dword [0x1019a4f8]
call esi
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x1010db20
push ecx
jmp 0x1010db1a
push eax
push 0x2000
lea eax, [ebp - 0x2428]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x242c]
test eax, eax
je 0x1010db20
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
test esi, esi
je 0x1010e0bd
xor ecx, ecx
test dword [ebp - 0x2448], 0xfffffffc
mov dword [ebp - 0x26d4], ecx
jbe 0x1010e0bd
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp + ecx*4 - 0x2428]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1010e09f
xor eax, eax
mov dword [ebp - 0x2434], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x2430], 7
mov word [ebp - 0x2444], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010db90
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2444]
call fcn.10001d60
cmp dword [ebp - 0x2430], 8
lea eax, [ebp - 0x2444]
mov edi, dword [ebp - 0x2444]
lea edx, [ebp - 0x2444]
mov esi, dword [ebp - 0x2434]
cmovae eax, edi
mov dword [ebp - 0x242c], esi
cmovae edx, edi
lea eax, [eax + esi*2]
lea esi, [ebp - 0x2444]
mov dword [ebp - 0x26e0], eax
cmovae esi, edi
cmp esi, eax
je 0x1010dc24
sub edx, esi
mov edi, edx
movzx eax, word [esi]
push eax
call fcn.10169efd
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x26e0]
jne 0x1010dbf7
mov eax, dword [ebp - 0x2434]
mov edi, dword [ebp - 0x2444]
mov dword [ebp - 0x242c], eax
xor eax, eax
mov dword [ebp - 0x2484], 0
mov dword [ebp - 0x2480], 7
mov word [ebp - 0x2494], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2444]
cmp dword [ebp - 0x2464], 8
mov esi, dword [ebp - 0x2430]
push dword [ebp - 0x2468]
mov edx, dword [ebp - 0x242c]
mov dword [ebp - 0x26d0], eax
lea eax, [ebp - 0x2478]
cmovae eax, dword [ebp - 0x2478]
cmp esi, 8
push eax
cmovae ecx, edi
call fcn.10018fe0
add esp, 8
test eax, eax
lea eax, [ebp - 0x2478]
jne 0x1010dce2
cmp dword [ebp - 0x2464], 8
cmovae eax, dword [ebp - 0x2478]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1010dcb0
sub edx, esi
lea ecx, [ebp - 0x2494]
sar edx, 1
push edx
push eax
call fcn.10001d60
mov edi, dword [ebp - 0x2444]
mov eax, 1
mov esi, dword [ebp - 0x2430]
jmp 0x1010ddc9
cmp dword [ebp - 0x2464], 8
lea ecx, [ebp - 0x2444]
push dword [ebp - 0x2468]
cmovae eax, dword [ebp - 0x2478]
cmp esi, 8
mov edx, dword [ebp - 0x242c]
push eax
cmovae ecx, edi
push 0
call fcn.1000b470
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
je 0x1010ddc3
mov edx, dword [ebp - 0x2468]
mov eax, dword [ebp - 0x242c]
add edx, ecx
cmp edx, eax
ja 0x1010ddc3
xor ecx, ecx
mov dword [ebp - 0x2450], 0
mov dword [ebp - 0x244c], 7
mov word [ebp - 0x2460], cx
cmp eax, edx
jb 0x1010e14c
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp esi, 8
lea eax, [ebp - 0x2444]
cmovae eax, edi
push ecx
lea ecx, [ebp - 0x2460]
lea eax, [eax + edx*2]
push eax
call fcn.10001d60
or dword [ebp - 0x26d8], 1
lea ecx, [ebp - 0x2494]
call fcn.10001d00
movups xmm0, xmmword [ebp - 0x2460]
mov edi, dword [ebp - 0x2444]
mov eax, 1
mov esi, dword [ebp - 0x2430]
movups xmmword [ebp - 0x2494], xmm0
movq xmm0, qword [ebp - 0x2450]
movq qword [ebp - 0x2484], xmm0
jmp 0x1010ddc9
mov eax, dword [ebp - 0x26d0]
test eax, eax
je 0x1010e011
mov dword [ebp - 0x247c], 0x104
mov dword [ebp - 0x242c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2460]
push 0xc
xor eax, eax
mov dword [ebp - 0x2450], 0
push str.kernel32.dll
mov dword [ebp - 0x244c], 7
mov word [ebp - 0x2460], ax
call fcn.10001d60
push 0x101daef4
lea eax, [ebp - 0x2460]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x242c]
call fcn.10124310
mov byte [ebp - 4], 8
mov esi, eax
mov edx, dword [ebp - 0x244c]
cmp edx, 8
jb 0x1010de79
mov ecx, dword [ebp - 0x2460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010de6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x2450], 0
mov dword [ebp - 0x244c], 7
mov word [ebp - 0x2460], ax
test esi, esi
je 0x1010decd
lea eax, [ebp - 0x247c]
mov ecx, esi
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x26cc]
call dword [0x1019a4f8]
call esi
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x1010df0a
push ecx
jmp 0x1010df04
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x26cc]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
xor ecx, ecx
mov dword [ebp - 0x247c], eax
cmp ecx, eax
sbb esi, esi
neg esi
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x242c]
test eax, eax
je 0x1010df0a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 7
test esi, esi
je 0x1010e005
xor eax, eax
mov dword [ebp - 0x2450], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244c], 7
mov word [ebp - 0x2460], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010df40
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2460]
call fcn.10001d60
lea eax, [ebp - 0x2494]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x2718]
call fcn.10002700
lea eax, [ebp - 0x2460]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x2700]
call fcn.10002700
mov ecx, dword [ebp - 0x26e4]
lea eax, [ebp - 0x2718]
push eax
lea eax, [ebp - 0x26e8]
mov byte [ebp - 4], 0xf
push eax
call fcn.1010f110
lea ecx, [ebp - 0x2700]
call fcn.10001d00
lea ecx, [ebp - 0x2718]
call fcn.10001d00
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x244c]
cmp edx, 8
jb 0x1010e005
mov ecx, dword [ebp - 0x2460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010dffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edi, dword [ebp - 0x2444]
mov esi, dword [ebp - 0x2430]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2480]
cmp edx, 8
jb 0x1010e061
mov ecx, dword [ebp - 0x2494]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010e04b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push edx
push ecx
call fcn.1015cbd5
mov edi, dword [ebp - 0x2444]
add esp, 8
mov esi, dword [ebp - 0x2430]
mov byte [ebp - 4], 0
cmp esi, 8
jb 0x1010e099
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x1010e08f
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push esi
push edi
call fcn.1015cbd5
add esp, 8
mov edi, dword [ebp - 0x26cc]
mov ecx, dword [ebp - 0x26d4]
mov eax, dword [ebp - 0x2448]
inc ecx
shr eax, 2
mov dword [ebp - 0x26d4], ecx
cmp ecx, eax
jb 0x1010db44
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x26c8]
push eax
push dword [ebp - 0x26dc]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1010d9e0
push dword [ebp - 0x26dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2464]
cmp edx, 8
jb 0x1010e127
mov ecx, dword [ebp - 0x2478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010e11d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e147
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101686f5
call fcn.1000b080
int3