Function at 0x10011680
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031068
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10046270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x100119c1
cmp ebx, 0xffffffff
je 0x100119c1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.1000cb40
mov dword [ebp - 0x24], eax
push 0x128
mov dword [ebp - 4], 0
call fcn.1001d3e4
mov esi, eax
add esp, 4
test esi, esi
je 0x1001170f
push 0x128
push 0
push esi
call fcn.10022720
add esp, 0xc
jmp 0x10011711
xor esi, esi
push 0x128
push 0
push esi
call fcn.10022720
add esp, 0xc
mov dword [esi], 0x128
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1001174a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.1001d3d0
add esp, 4
xor esi, esi
jmp 0x10011981
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], vtable.CStringBufferW.0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 3
lea edi, [esi + 0x24]
cmp ebx, edi
je 0x100117e0
test ebx, ebx
je 0x10011786
push ebx
call fcn.1001d3d0
add esp, 4
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.1000fae0
mov byte [ebp - 4], 4
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x40]
push edi
lea ecx, [ebp - 0x3c]
call fcn.1000fb80
mov byte [ebp - 4], 3
test edi, edi
je 0x100117c8
push edi
call fcn.1001d3d0
add esp, 4
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
push 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.1000fce0
mov edi, dword [ebp - 0x28]
push str.iexplore.exe
push 0xd
push edi
call fcn.1001f77b
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 0xd
mov ecx, esp
mov byte [ebp - 4], 5
push 0xc
push edi
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
call fcn.1000fb80
lea ecx, [ebp - 0x3c]
call fcn.1000fd50
xor ecx, ecx
test eax, eax
sete cl
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x10011865
push edi
call fcn.1001d3d0
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x1001188e
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000c5f0
mov dword [eax], esi
jmp 0x10011897
push esi
call fcn.1001d3d0
add esp, 4
push 0x128
call fcn.1001d3e4
mov esi, eax
add esp, 4
test esi, esi
je 0x100118bc
push 0x128
push 0
push esi
call fcn.10022720
add esp, 0xc
jmp 0x100118be
xor esi, esi
push 0x128
push 0
push esi
call fcn.10022720
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [esi], 0x128
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10011772
push esi
call fcn.1001d3d0
mov esi, dword [ebp - 0x24]
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x10011952
lea esp, [esp]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
cmp byte [eax + 0xd], 0
mov ecx, esi
jne 0x10011939
mov edx, dword [edx + 0x18]
cmp dword [eax + 0x10], edx
jae 0x1001191e
mov eax, dword [eax + 8]
jmp 0x10011922
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10011914
cmp ecx, esi
je 0x10011939
cmp edx, dword [ecx + 0x10]
jb 0x10011939
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x14]
jmp 0x1001193f
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
cmp dword [eax], esi
jne 0x100119b9
lea ecx, [ebp - 0x10]
call fcn.1000ca60
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x10011900
xor eax, eax
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24]
push eax
call fcn.100115c0
test ebx, ebx
je 0x10011981
push ebx
call fcn.1001d3d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
push ecx
push dword [ecx]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000c9c0
push dword [ebp - 0x24]
call fcn.1001d3d0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
jmp 0x10011954
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret