Function at 0x10005070
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b370
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1004f430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x100053b1
cmp ebx, 0xffffffff
je 0x100053b1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10006ed0
mov dword [ebp - 0x24], eax
push 0x128
mov dword [ebp - 4], 0
call fcn.10023233
mov esi, eax
add esp, 4
test esi, esi
je 0x100050fa
push 0x128
push 0
push esi
call fcn.10027fa0
add esp, 0xc
jmp 0x100050fc
xor esi, esi
push 0x128
push 0
push esi
call fcn.10027fa0
add esp, 0xc
mov dword [esi], 0x128
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x10005135
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.10022a1f
add esp, 4
xor esi, esi
jmp 0x10005371
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 ecx, [ecx]
lea edi, [esi + 0x24]
cmp ebx, edi
je 0x100051ce
test ebx, ebx
je 0x10005174
push ebx
call fcn.10022a1f
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.1000ecd0
mov byte [ebp - 4], 4
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x40]
push edi
lea ecx, [ebp - 0x3c]
call fcn.1000ed70
mov byte [ebp - 4], 3
test edi, edi
je 0x100051b6
push edi
call fcn.10022a1f
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.1000eed0
mov edi, dword [ebp - 0x28]
push str.iexplore.exe
push 0xd
push edi
call fcn.100256db
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.1000ed70
lea ecx, [ebp - 0x3c]
call fcn.1000ef40
xor ecx, ecx
test eax, eax
sete cl
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x10005253
push edi
call fcn.10022a1f
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 0x1000527c
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.10006980
mov dword [eax], esi
jmp 0x10005285
push esi
call fcn.10022a1f
add esp, 4
push 0x128
call fcn.10023233
mov esi, eax
add esp, 4
test esi, esi
je 0x100052aa
push 0x128
push 0
push esi
call fcn.10027fa0
add esp, 0xc
jmp 0x100052ac
xor esi, esi
push 0x128
push 0
push esi
call fcn.10027fa0
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 0x10005160
push esi
call fcn.10022a1f
mov esi, dword [ebp - 0x24]
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x10005342
lea ebx, [ebx]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
cmp byte [eax + 0xd], 0
mov ecx, esi
jne 0x10005329
mov edx, dword [edx + 0x18]
cmp dword [eax + 0x10], edx
jae 0x1000530e
mov eax, dword [eax + 8]
jmp 0x10005312
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10005304
cmp ecx, esi
je 0x10005329
cmp edx, dword [ecx + 0x10]
jb 0x10005329
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x14]
jmp 0x1000532f
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
cmp dword [eax], esi
jne 0x100053a9
lea ecx, [ebp - 0x10]
call fcn.10006da0
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x100052f0
xor eax, eax
push eax
mov ecx, 0x100000
call fcn.1000d510
add esp, 4
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24]
push eax
call fcn.10004fb0
test ebx, ebx
je 0x10005371
push ebx
call fcn.10022a1f
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.10006aa0
push dword [ebp - 0x24]
call fcn.10022a1f
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 0x10005344
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