Function at 0x1003b190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x228
mov edi, ecx
lea ecx, [ebp - 0x450]
mov ebx, edx
push 0
push ecx
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ebx
call fcn.10044ad0
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x454], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea edx, [ebp - 0x454]
mov esi, eax
push edx
push esi
mov dword [ebp - 0x468], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1003b217
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x454]
push eax
push esi
mov byte [ebp - 0x455], 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1003b3f7
mov eax, dword [ebp - 0x460]
call fcn.1000bed0
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.1003f595
add esp, 8
test eax, eax
jne 0x1003b3db
cmp dword [ebx + 0x10], eax
jne 0x1003b2cb
mov eax, dword [edi + 4]
lea edx, [ebp - 0x44c]
cmp edx, eax
jae 0x1003b2a0
mov ecx, dword [edi]
cmp ecx, edx
ja 0x1003b2a0
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x1003b282
mov eax, edi
call fcn.1003b870
mov eax, dword [edi + 4]
test eax, eax
je 0x1003b2bb
mov ecx, dword [edi]
mov edx, dword [ecx + esi*4]
mov dword [eax], edx
add dword [edi + 4], 4
mov byte [ebp - 0x455], 1
jmp 0x1003b3db
cmp eax, dword [edi + 8]
jne 0x1003b2ac
mov eax, edi
call fcn.1003b870
mov eax, dword [edi + 4]
test eax, eax
je 0x1003b2bb
mov ecx, dword [ebp - 0x44c]
mov dword [eax], ecx
add dword [edi + 4], 4
mov byte [ebp - 0x455], 1
jmp 0x1003b3db
mov edx, dword [ebp - 0x44c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x464], esi
test esi, esi
je 0x1003b3db
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10044ad0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1003b3db
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003b350
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.10005fb0
mov ecx, dword [ebx + 0x10]
mov esi, 8
cmp dword [ebx + 0x14], esi
jb 0x1003b383
mov eax, dword [ebx]
jmp 0x1003b385
mov eax, ebx
push ecx
push eax
lea edx, [ebp - 0x228]
push edx
xor eax, eax
call fcn.10034f10
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 0x214], esi
jb 0x1003b3b2
mov eax, dword [ebp - 0x228]
push eax
call fcn.1003d468
add esp, 4
test bl, bl
je 0x1003b3c8
lea eax, [ebp - 0x44c]
call fcn.1003b810
mov byte [ebp - 0x455], 1
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x468]
lea edx, [ebp - 0x454]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1003b234
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x455]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret