Function at 0x100a6900
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10177543
mov eax, dword fs:[0]
push eax
mov eax, 0x135c
call fcn.101137b0
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x1358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x1370]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1380]
mov ebp, dword [esp + 0x138c]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1390]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1040], 0xf
mov dword [esp + 0x103c], ebx
mov byte [esp + 0x102c], bl
mov dword [esp + 0x1378], 1
mov edi, 0x1017ba08
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100a699d
mov ebp, 0x1017b900
mov esi, eax
mov edi, 0x1017ba08
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100a69b7
mov dword [esp + 0x24], 0x1017b900
lea ecx, [esp + 0x14]
call fcn.1001f1f0
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f1f0
mov byte [esp + 0x1378], 3
cmp ebp, ebx
jne 0x100a69e1
xor eax, eax
jmp 0x100a69f1
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100a69e6
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.10043c00
mov edx, dword [esp + 0x24]
cmp edx, ebx
jne 0x100a6a08
xor eax, eax
jmp 0x100a6a1b
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100a6a10
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.10043c00
lea ecx, [esp + 0x14]
call fcn.1006f3b0
lea ecx, [esp + 0x18]
call fcn.1006f3b0
mov eax, dword [esp + 0x1388]
lea edx, [esp + 0x126c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100a6a48
lea ecx, [esp + 0x126c]
push ecx
call fcn.10056fa0
push 0x1000
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.10112240
push 0x128
lea eax, [esp + 0x1058]
push ebx
push eax
xor edi, edi
call fcn.10112240
add esp, 0x1c
push ebx
push 2
mov dword [esp + 0x104c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a6b12
mov esi, dword [esp + 0x1c]
push eax
push ebx
lea ecx, [esp + 0x1030]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f260
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f260
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x100a6d46
mov edx, dword [esp + 0x102c]
push edx
jmp 0x100a6d3e
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x100a6bbc
jmp 0x100a6b30
xor eax, eax
mov cl, byte [esp + eax + 0x1068]
mov byte [esp + eax + 0x116c], cl
add eax, 1
cmp cl, bl
jne 0x100a6b32
lea ecx, [esp + 0x116c]
push ecx
call fcn.10056fa0
add esp, 4
lea ecx, [esp + 0x126c]
lea eax, [esp + 0x116c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100a6b85
cmp dl, bl
je 0x100a6b81
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100a6b85
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x100a6b65
xor eax, eax
jmp 0x100a6b8a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100a6ba6
mov edx, dword [esp + 0x104c]
mov dword [esp + edi*4 + 0x28], edx
add edi, 1
test byte [esp + 0x1394], 4
jne 0x100a6bbc
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
jne 0x100a6b30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x100a6c37
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1030]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f260
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f260
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x100a6d46
mov edx, dword [esp + 0x102c]
push edx
jmp 0x100a6d3e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1398]
lea edx, [esp + 0x102c]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
call fcn.1009f980
mov esi, dword [esp + 0x34]
add esp, 0x18
test byte [esp + 0x1394], 0x20
je 0x100a6cdb
push esi
lea ecx, [esp + 0x102c]
call fcn.100a5410
add esp, 4
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f260
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f260
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x100a6cce
mov edx, dword [esp + 0x102c]
push edx
call fcn.10100548
add esp, 4
mov dword [esp + 0x1040], 0xf
jmp 0x100a6d4d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1030]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003e70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f260
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f260
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x100a6d46
mov ecx, dword [esp + 0x102c]
push ecx
call fcn.10100548
add esp, 4
mov dword [esp + 0x1040], edi
mov dword [esp + 0x103c], ebx
mov byte [esp + 0x102c], bl
mov eax, esi
mov ecx, dword [esp + 0x1370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1358]
xor ecx, esp
call fcn.10111b17
add esp, 0x1368
ret