Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x288
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 2
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4010a5
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4010a5
mov ecx, 0x403128
lea eax, [esp + 0x7c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401086
test dx, dx
je 0x401082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401086
add eax, 4
add ecx, 4
test dx, dx
jne 0x401060
xor eax, eax
jmp 0x40108b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40109d
lea eax, [esp + 0x58]
push eax
push esi
call edi
test eax, eax
jne 0x401053
jmp 0x4010a5
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
push 0
push 4
lea eax, [esp + 0x30]
mov byte [esp + 0x27], 1
push eax
push 0xc8c760
push edi
mov dword [esp + 0x3c], 0x437a0000
call esi
push 0
push 4
lea eax, [esp + 0x30]
push eax
push 0xc8c530
push edi
call esi
push 0
push 4
lea eax, [esp + 0x27]
push eax
push 0x969165
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [esp + 0x2c]
push 0
push 4
push eax
push 0xb6f5f0
push edi
call esi
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push 0
push 4
add eax, 0x530
push ecx
push eax
push edi
mov dword [esp + 0x28], eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4013b7
push 0
push 4
lea ecx, [esp + 0x18]
add eax, 0x14
push ecx
push eax
push edi
mov dword [esp + 0x24], eax
call esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push 0
push 4
push ecx
lea esi, [eax + 0x34]
add eax, 0x30
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call eax
push 0
push 4
lea eax, [esp + 0x50]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call esi
push 0
push 4
lea eax, [esp + 0x44]
push eax
push 0xb6f9cc
push edi
call esi
push 0
push 4
lea eax, [esp + 0x48]
push eax
push 0xb6f9d0
push edi
call esi
push 0
push 4
lea eax, [esp + 0x3c]
push eax
push 0xb6f3b8
push edi
call esi
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push 0
push 4
add eax, 0x79c
push ecx
push eax
push edi
mov dword [esp + 0x20], eax
call esi
cmp dword [esp + 0x14], 1
jne 0x4013b7
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4013b7
push 0
push 4
lea esi, [eax + 0x48]
add eax, 0x44
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call eax
push 0
push 4
lea eax, [esp + 0x5c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call esi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push 0
push 4
add eax, 0x14
push ecx
push eax
push edi
mov dword [esp + 0x2c], eax
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
push 4
push ecx
lea esi, [eax + 0x34]
add eax, 0x30
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call eax
push 0
push 4
lea eax, [esp + 0x2c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call esi
push 0
push 4
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x540
push eax
push edi
call esi
movss xmm0, dword [esp + 0x38]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4013b7
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x24]
subss xmm2, dword [esp + 0x30]
movss xmm0, dword [0x403150]
andps xmm1, xmm0
andps xmm2, xmm0
mulss xmm1, xmm1
movaps xmm0, xmm2
movss dword [esp + 8], xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4012d0
sqrtsd xmm0, xmm0
jmp 0x4012d5
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [esp + 8], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_asin_precise
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm4, dword [esp + 0x44]
movss xmm1, dword [esp + 0x30]
comiss xmm4, xmm1
movss xmm3, dword [esp + 0x48]
movss xmm2, dword [esp + 0x24]
movss xmm5, dword [0x403160]
cvtsd2ss xmm0, xmm0
jbe 0x40133a
comiss xmm2, xmm3
jbe 0x40133a
xorps xmm0, xmm5
comiss xmm1, xmm4
jbe 0x401374
comiss xmm3, xmm2
movss xmm1, dword [esp + 0x20]
movsd xmm4, qword [0x403148]
jbe 0x40135d
cvtps2pd xmm0, xmm1
addsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
comiss xmm2, xmm3
jbe 0x401374
xorps xmm0, xmm0
xorps xmm1, xmm5
cvtss2sd xmm0, xmm1
subsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
cvtss2sd xmm0, xmm0
push 0
push 4
lea eax, [esp + 0x54]
push eax
push 0xb7347a
addsd xmm0, qword [0x403140]
push edi
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
call esi
cmp dword [esp + 0x4c], 0
jle 0x4013b7
push 0
push 4
lea eax, [esp + 0x28]
push eax
push 0xb6f258
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40101c