Function at 0x4149d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498b35
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2e0], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2e4], eax
test edi, edi
je 0x414a41
mov esi, dword [edi]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode.
push str.ProcessUtils
push 0x4aea60
push 0x1e
push edi
jmp 0x414a92
mov esi, dword [0x4c8c94]
test esi, esi
je 0x414a75
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode.
push 0x4aea60
push 0x4aea60
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
jmp 0x414aa2
mov eax, dword [0x4c8c98]
test eax, eax
je 0x414aa2
mov esi, dword [eax]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode.
push str.ProcessUtils
push 0x4aea60
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x14
push 0x24
call fcn.004699d8
xorps xmm0, xmm0
mov dword [ebp - 0x2d4], eax
add esp, 4
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x18], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x2d8]
push 1
push 0x4af2a8
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2d8], eax
call fcn.00402f10
mov eax, dword [ebp - 0x2e0]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x414b41
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2dc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414b50
sub ecx, dword [ebp - 0x2dc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402f10
push 2
push 0x4af2ac
lea ecx, [ebp - 0x40]
call fcn.00402f10
cmp esi, dword [ebp - 0x2d8]
je 0x414bd7
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x414b8e
mov edx, dword [esi]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x2dc], ecx
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414ba0
sub eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
push edx
call fcn.00402f10
push 1
push str._.
lea ecx, [ebp - 0x40]
call fcn.00402f10
add esi, 0x18
cmp esi, dword [ebp - 0x2d8]
jne 0x414b84
xor eax, eax
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov ecx, dword [ebp - 0x2e0]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp edx, ecx
je 0x414c1a
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x414c0b
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402e00
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x414c65
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00469c99
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push esi
call fcn.0047969d
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x414cac
push esi
call fcn.00469c94
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2cc]
push ecx
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2d4]
call fcn.004151d0
test edi, edi
je 0x41509f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [edi]
cmovae eax, dword [ebp - 0x28]
push eax
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_utilRemoveFileSpec_in_currentDirectory__s__n
push str.ProcessUtils
push 0x4aea60
push 0x32
push edi
jmp 0x415109
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414cb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00402e00
push esi
call fcn.00469c94
mov esi, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2c4]
add esp, 4
mov dword [ebp - 0x88], 0x44
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push edi
push dword [ebp - 0x2e4]
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x2cc]
movlpd qword [ebp - 0x84], xmm0
push edx
lea edx, [ebp - 0x88]
movlpd qword [ebp - 0x7c], xmm0
push edx
push ecx
push eax
push 0
mov ecx, esi
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x2c4], xmm0
call fcn.00415260
test al, al
jne 0x414e0d
test edi, edi
je 0x414d7e
mov eax, dword [ebp - 0x2cc]
mov esi, dword [edi]
push dword [eax]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push str.ProcessUtils
push 0x4aea60
push 0x32
push edi
jmp 0x414dea
mov edi, dword [0x4c8c94]
test edi, edi
je 0x414dc5
mov eax, dword [ebp - 0x2cc]
mov ecx, edi
push dword [eax]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push 0x4aea60
push 0x4aea60
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call dword [0x49e2d4]
call edi
add esp, 0x1c
push ecx
mov ecx, esi
call fcn.004151d0
jmp 0x415119
mov eax, dword [0x4c8c98]
test eax, eax
je 0x414e00
mov ecx, dword [ebp - 0x2cc]
mov esi, dword [eax]
push dword [ecx]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_createProcessInUserSession_with_error__d.
push str.ProcessUtils
push 0x4aea60
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
mov esi, dword [ebp - 0x2d4]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.004151d0
jmp 0x415119
cmp byte [ebp + 0xc], 0
jne 0x414f99
test edi, edi
je 0x414e7b
mov esi, dword [edi]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push str.ProcessUtils
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push edi
call dword [0x49e2d4]
call esi
mov eax, dword [ebp - 0x2cc]
add esp, 0x10
mov ecx, dword [ebp - 0x2d0]
mov dword [eax], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0x2d4]
call fcn.004151d0
mov esi, dword [edi]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push str.ProcessUtils
push 0x4aea60
push 0x1e
push edi
jmp 0x414f7d
mov edi, dword [0x4c8c94]
test edi, edi
je 0x414eb5
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push 0x4aea60
push 0x4aea60
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
mov ecx, edi
call dword [0x49e2d4]
call edi
mov ecx, dword [ebp - 0x2d0]
add esp, 0x14
jmp 0x414f09
mov eax, dword [0x4c8c98]
test eax, eax
je 0x414f02
mov esi, dword [eax]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._WaitForFinish_is_false._Returning
push str.ProcessUtils
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x49e2d4]
call esi
mov eax, dword [ebp - 0x2cc]
add esp, 0x10
mov ecx, dword [ebp - 0x2d0]
mov dword [eax], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0x2d4]
jmp 0x414f1d
mov ecx, dword [ebp - 0x2d0]
push ecx
mov eax, dword [ebp - 0x2cc]
mov dword [eax], 0
mov dword [ecx], 0
mov ecx, esi
call fcn.004151d0
mov esi, dword [0x4c8c94]
test esi, esi
je 0x414f60
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push 0x4aea60
push 0x4aea60
push str.ProcessUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
mov byte [ebp - 0x2c5], 1
jmp 0x415120
mov eax, dword [0x4c8c98]
test eax, eax
je 0x414f8d
mov esi, dword [eax]
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Return
push str.ProcessUtils
push 0x4aea60
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x14
mov byte [ebp - 0x2c5], 1
jmp 0x415120
push 0xffffffffffffffff
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2d0], 0
mov dword [ecx], eax
nop dword [eax]
mov edi, dword [ebp - 0x2c4]
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x2b4], 0x22c
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41501a
nop
cmp dword [ebp - 0x2ac], edi
je 0x415076
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x415000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2d0]
cmp esi, 0xa
jne 0x41503a
push 0
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2cc]
push ecx
mov ecx, dword [ebp - 0x2d4]
mov dword [eax], 0
call fcn.004151d0
mov byte [ebp - 0x2c5], 1
jmp 0x415120
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2d0]
cmp esi, 0xa
jge 0x41502a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x2d0], esi
jmp 0x414fd0
mov esi, dword [0x4c8c94]
test esi, esi
je 0x4150df
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_utilRemoveFileSpec_in_currentDirectory__s__n
push 0x4aea60
push 0x4aea60
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x415119
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x415119
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x28]
push eax
push str.In_ProcessUtils::utilCreateProcessInUserSessionWithReturnCode._Error_in_utilRemoveFileSpec_in_currentDirectory__s__n
push str.ProcessUtils
push 0x4aea60
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
mov byte [ebp - 0x2c5], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x415156
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41514c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4151c1
push ecx
push edx
call fcn.00469a08
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x4151a0
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415196
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4151c1
push ecx
push edx
call fcn.00469a08
add esp, 8
mov al, byte [ebp - 0x2c5]
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.004699ca
mov esp, ebp
pop ebp
ret
call fcn.00479631
int3