Function at 0x43e500
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44593f
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x45500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x280], esi
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
push 2
mov dword [ebp - 0x27c], 1
movlpd qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
test eax, eax
jne 0x43e5a4
jmp 0x43e75f
mov ecx, edi
mov dword [ebp - 0x274], 0x22c
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e5d0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b880
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43e6f3
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x250]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e630
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0040b880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x34], 8
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x43e6a3
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x278], ecx
cmp eax, dword [esi + 8]
je 0x43e694
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x43e6a3
lea ecx, [ebp - 0x278]
push ecx
push eax
mov ecx, esi
call fcn.00414c10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x43e6dd
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43e6d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e72d
push ecx
push edx
call fcn.0043f923
add esp, 8
lea eax, [ebp - 0x274]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43e610
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x27c], 0
cmp ecx, 8
jb 0x43e73d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43e733
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43e733
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043f923
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f497
mov esp, ebp
pop ebp
ret