Function at 0x43f8f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x47c5a8]
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.00407d70
push ebx
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x43fa30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x38], 0x10
mov edx, dword [ebp - 0x4c]
mov edi, eax
jae 0x43f980
lea edx, [ebp - 0x4c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f985
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00407d70
push 0x20
push str.createToolSnap_failed_with_err:
lea ecx, [ebp - 0x68]
call fcn.00413820
push edi
lea ecx, [ebp - 0x30]
push 0x472dec
push ecx
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f9c0
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x68]
call fcn.00413820
mov eax, dword [ebp - 0x68]
mov esi, 0x10
cmp dword [ebp - 0x54], esi
jae 0x43f9e6
lea eax, [ebp - 0x68]
push ebx
push eax
mov eax, dword [ebp - 0x194]
push eax
call fcn.0042a600
add esp, 0xc
cmp dword [ebp - 0x38], esi
jb 0x43fa08
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00440187
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x43fa26
mov edx, dword [ebp - 0x68]
push edx
call fcn.00440187
add esp, 4
mov eax, 2
jmp 0x43fb8d
lea eax, [ebp - 0x190]
push eax
push esi
mov dword [ebp - 0x190], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x43fb28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x38], 0x10
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x198], eax
jae 0x43fa67
lea edx, [ebp - 0x4c]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43fa70
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00407d70
push 0x20
push str.process32First_failed_with_err:
lea ecx, [ebp - 0x68]
call fcn.00413820
mov ecx, dword [ebp - 0x198]
push ecx
lea edx, [ebp - 0x30]
push 0x472dec
push edx
call fcn.00440e5a
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43fab0
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.00413820
mov eax, dword [ebp - 0x68]
mov edi, 0x10
cmp dword [ebp - 0x54], edi
jae 0x43fad6
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x194]
push ebx
push eax
push ecx
call fcn.0042a600
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], edi
jb 0x43faff
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00440187
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x43fa26
mov eax, dword [ebp - 0x68]
push eax
call fcn.00440187
add esp, 4
mov eax, 2
jmp 0x43fb8d
lea ecx, [ebp - 0x16c]
push edi
push ecx
call fcn.00461e74
add esp, 8
test eax, eax
je 0x43fba9
lea edx, [ebp - 0x190]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x43fb28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x43fb6a
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00440187
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x43fb88
mov eax, dword [ebp - 0x68]
push eax
call fcn.00440187
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.0043fe0a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x43fbc6
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00440187
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x43fbe4
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00440187
add esp, 4
xor eax, eax
jmp 0x43fb8d