Function at 0x405b90
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42428e
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x433064]
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 edi, ecx
push 0x42f8e4
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], 0
call fcn.00407680
push 0x42f8e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.00407680
push 0x42f8e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00407680
push str.WINDIR
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004104a6
add esp, 0xc
test eax, eax
jne 0x4061f7
cmp dword [ebp - 0x7c], eax
je 0x4061f7
lea ecx, [ebp - 0x30]
push 0x16
test edi, edi
je 0x405c74
mov edx, 0x513eb8
call fcn.00401fd0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.004075f0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x405cc4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405cba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061fe
jmp 0x405cba
mov edx, 0x513c90
call fcn.00401fd0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.004075f0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x405cc4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405cba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406203
push ecx
push edx
call fcn.0040ab3e
add esp, 8
cmp dword [ebp - 0x4c], 8
lea esi, [ebp - 0x60]
push dword [ebp - 0x7c]
cmovae esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00407680
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x308]
call fcn.00408590
add esp, 4
lea ecx, [ebp - 0x78]
push eax
call fcn.004075f0
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 8
jb 0x405d38
mov edx, dword [ebp - 0x308]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406208
push ecx
push edx
call fcn.0040ab3e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
cmp ecx, 8
jb 0x405d93
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406208
push ecx
push edx
call fcn.0040ab3e
add esp, 8
cmp dword [ebp - 0x64], 8
lea ebx, [ebp - 0x78]
cmovae ebx, dword [ebp - 0x78]
test edi, edi
je 0x405ea8
push 0x228
lea eax, [ebp - 0x2ec]
push 0
push eax
call fcn.0040c2c0
add esp, 0xc
mov dword [ebp - 0x2f0], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x405e4d
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x405e4d
nop
lea eax, [ebp - 0x2cc]
push ebx
push eax
call fcn.0040f6ee
add esp, 8
test eax, eax
jne 0x405e3a
push dword [ebp - 0x2e8]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x2f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x405e00
push edi
call esi
push 0xc
mov edx, 0x513b84
lea ecx, [ebp - 0x30]
call fcn.00401fd0
add esp, 4
lea ecx, [ebp - 0x48]
push eax
call fcn.004075f0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40609c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406092
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620d
jmp 0x406092
push 0x11
mov edx, str.66t
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
call fcn.00401fd0
add esp, 4
push str.LOCALAPPDATA
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004104a6
add esp, 0xc
test eax, eax
jne 0x4061f7
cmp dword [ebp - 0x80], eax
je 0x4061f7
push 0xc
mov edx, 0x513b74
lea ecx, [ebp - 0x350]
call fcn.00401fd0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x320]
push dword [ebp - 0x80]
call fcn.00407680
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x308]
call fcn.004083a0
add esp, 4
push esi
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x338]
push dword [ebp - 0x18]
call fcn.00408c50
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x48]
call fcn.004075f0
mov ecx, dword [ebp - 0x324]
cmp ecx, 8
jb 0x405f8f
mov edx, dword [ebp - 0x338]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406212
push ecx
push edx
call fcn.0040ab3e
add esp, 8
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 8
jb 0x405fcf
mov edx, dword [ebp - 0x308]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405fc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406212
push ecx
push edx
call fcn.0040ab3e
add esp, 8
mov ecx, dword [ebp - 0x30c]
xor eax, eax
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
cmp ecx, 8
jb 0x40602c
mov edx, dword [ebp - 0x320]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406022
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406212
push ecx
push edx
call fcn.0040ab3e
add esp, 8
mov ecx, dword [ebp - 0x33c]
xor eax, eax
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 7
mov word [ebp - 0x320], ax
cmp ecx, 8
jb 0x405e6b
mov edx, dword [ebp - 0x350]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406083
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406212
push ecx
push edx
call fcn.0040ab3e
add esp, 8
jmp 0x405e6b
push ecx
push edx
call fcn.0040ab3e
add esp, 8
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0x3c
cmovae eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xbc]
push eax
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0xb8], 0x40
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40615b
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406151
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620d
push ecx
push edx
call fcn.0040ab3e
add esp, 8
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 8
jb 0x4061a5
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40619b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620d
push ecx
push edx
call fcn.0040ab3e
add esp, 8
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x4061db
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4061d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620d
push ecx
push edx
call fcn.0040ab3e
add esp, 8
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.0040a8fe
mov esp, ebp
pop ebp
ret
push 1
call fcn.0040f35e
call fcn.0041153c
call fcn.0041153c
call fcn.0041153c
call fcn.0041153c
call fcn.0041153c
int3