Function at 0x4391c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461c50
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x194], eax
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
push 0xe
push str.chkProcExist:
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00407c70
push ebx
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x439300
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x38], 0x10
mov edx, dword [ebp - 0x4c]
mov edi, eax
jae 0x439250
lea edx, [ebp - 0x4c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x439255
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00407c70
push 0x20
push str.createToolSnap_failed_with_err:
lea ecx, [ebp - 0x68]
call fcn.00412850
push edi
lea ecx, [ebp - 0x30]
push 0x46b3bc
push ecx
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x439290
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x68]
call fcn.00412850
mov eax, dword [ebp - 0x68]
mov esi, 0x10
cmp dword [ebp - 0x54], esi
jae 0x4392b6
lea eax, [ebp - 0x68]
push ebx
push eax
mov eax, dword [ebp - 0x194]
push eax
call fcn.00424ac0
add esp, 0xc
cmp dword [ebp - 0x38], esi
jb 0x4392d8
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x4392f6
mov edx, dword [ebp - 0x68]
push edx
call fcn.00439a51
add esp, 4
mov eax, 2
jmp 0x43945d
lea eax, [ebp - 0x190]
push eax
push esi
mov dword [ebp - 0x190], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4393f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x38], 0x10
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x198], eax
jae 0x439337
lea edx, [ebp - 0x4c]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x439340
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00407c70
push 0x20
push str.process32First_failed_with_err:
lea ecx, [ebp - 0x68]
call fcn.00412850
mov ecx, dword [ebp - 0x198]
push ecx
lea edx, [ebp - 0x30]
push 0x46b3bc
push edx
call fcn.0043a71a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x439380
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412850
mov eax, dword [ebp - 0x68]
mov edi, 0x10
cmp dword [ebp - 0x54], edi
jae 0x4393a6
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x194]
push ebx
push eax
push ecx
call fcn.00424ac0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], edi
jb 0x4393cf
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x4392f6
mov eax, dword [ebp - 0x68]
push eax
call fcn.00439a51
add esp, 4
mov eax, 2
jmp 0x43945d
lea ecx, [ebp - 0x16c]
push edi
push ecx
call fcn.0045b674
add esp, 8
test eax, eax
je 0x439479
lea edx, [ebp - 0x190]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4393f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x43943a
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x439458
mov eax, dword [ebp - 0x68]
push eax
call fcn.00439a51
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x439496
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439a51
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x4394b4
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00439a51
add esp, 4
xor eax, eax
jmp 0x43945d