Function at 0x402990
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4106f2
mov eax, dword fs:[0]
push eax
mov eax, 0x14b4
call fcn.004103d0
mov eax, dword [0x419010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov byte [ebp - 0x1491], 0
xor esi, esi
lea ecx, [ebp - 0x102c]
xor edi, edi
mov dword [ebp - 0x14a0], esi
mov dword [ebp - 0x1498], edi
push eax
mov dword [ebp - 0x102c], esi
push 0x416fe8
mov dword [ebp - 0x101c], esi
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
call fcn.00402000
push esi
push 2
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x149c], eax
cmp eax, 0xffffffff
je 0x402d69
push 0x228
lea eax, [ebp - 0x12b4]
mov dword [ebp - 0x12b8], 0x22c
push 0
push eax
call fcn.00405300
add esp, 0xc
lea eax, [ebp - 0x12b8]
push eax
push dword [ebp - 0x149c]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402d5d
nop
mov ecx, 0x416f68
lea eax, [ebp - 0x1294]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402a96
test dx, dx
je 0x402a92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402a96
add eax, 4
add ecx, 4
test dx, dx
jne 0x402a70
xor eax, eax
jmp 0x402a9b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402d3c
mov esi, dword [ebp - 0x12b0]
cmp byte [ebp - 0x1491], al
jne 0x402abe
mov byte [ebp - 0x1491], 1
mov dword [ebp - 0x14a0], esi
xor eax, eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x14c0], 0
lea ecx, [ebp - 0x14c0]
push 0x416fe8
mov dword [ebp - 0x14b0], 0
mov dword [ebp - 0x14ac], 7
mov word [ebp - 0x14c0], ax
call fcn.00402000
push 0x1d8
lea eax, [ebp - 0x1490]
or edi, 1
push 0
push eax
mov dword [ebp - 0x1498], edi
call fcn.00405300
push 0x48
xorps xmm0, xmm0
lea eax, [ebp - 0x108c]
push 0
push eax
movups xmmword [ebp - 0x1044], xmm0
movq qword [ebp - 0x1034], xmm0
call fcn.00405300
add esp, 0x18
push 0x417104
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x402c3d
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402c3d
push 0x417118
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402c36
push 0
push 0x18
lea ecx, [ebp - 0x1044]
push ecx
push 0
push esi
call eax
test eax, eax
js 0x402c36
mov eax, dword [ebp - 0x1040]
test eax, eax
je 0x402c36
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0x1490]
push 0
push 0x1d8
push ecx
push eax
push esi
call edi
test eax, eax
je 0x402c36
push 0
push 0x48
lea eax, [ebp - 0x108c]
push eax
push dword [ebp - 0x1480]
push esi
call edi
test eax, eax
je 0x402c36
push 0x1002
lea eax, [ebp - 0x1014]
push 0
push eax
call fcn.00405300
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0
push 0x800
push eax
push dword [ebp - 0x1048]
push esi
call edi
test eax, eax
je 0x402c36
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c14
sub ecx, edx
lea eax, [ebp - 0x1014]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14c0]
call fcn.00402000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1018]
cmp edx, 8
jb 0x402c7d
mov ecx, dword [ebp - 0x102c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402de6
push edx
push ecx
call fcn.00403aeb
add esp, 8
movups xmm1, xmmword [ebp - 0x14c0]
mov edi, dword [ebp - 0x1498]
lea edx, [ebp - 0x102c]
movq xmm0, qword [ebp - 0x14b0]
and edi, 0xfffffffe
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14ac], 8
movd eax, xmm1
movups xmmword [ebp - 0x102c], xmm1
mov dword [ebp - 0x1498], edi
cmovae edx, eax
movq qword [ebp - 0x101c], xmm0
mov eax, dword [ebp - 0x14b0]
mov dword [ebp - 0x14a8], edx
cmp eax, 9
jb 0x402d3c
add eax, 0xfffffff8
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x14a4], ecx
sub ecx, eax
sar ecx, 1
je 0x402d36
cmp word [eax], 0x73
je 0x402cf7
add eax, 2
sub ecx, 1
jne 0x402ce7
jmp 0x402d36
mov edx, 0x417134
mov edi, eax
mov esi, 9
sub edi, edx
nop word [eax + eax]
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x402d9d
add edx, 2
sub esi, 1
jne 0x402d10
sub eax, dword [ebp - 0x14a8]
sar eax, 1
cmp eax, 0xffffffff
jne 0x402dab
mov edi, dword [ebp - 0x1498]
lea eax, [ebp - 0x12b8]
push eax
push dword [ebp - 0x149c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402a60
mov esi, dword [ebp - 0x14a0]
push dword [ebp - 0x149c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1018]
cmp edx, 8
jb 0x402dc9
mov ecx, dword [ebp - 0x102c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402dbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402de6
jmp 0x402dbf
mov ecx, dword [ebp - 0x14a4]
add eax, 2
jmp 0x402ce1
push dword [ebp - 0x149c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x12b0]
jmp 0x402d69
push edx
push ecx
call fcn.00403aeb
add esp, 8
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.00403aad
mov esp, ebp
pop ebp
ret
call fcn.00406d8e
int3