Function at 0x419a80
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4742ec
mov eax, dword fs:[0]
push eax
mov eax, 0x14a8
call fcn.004505e0
mov eax, dword [0x498068]
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 dword [ebp - 0x14ac], edx
mov esi, ecx
mov dword [ebp - 0x14a8], esi
push 0x22c
lea eax, [ebp - 0x14a4]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x14b4], 0
push 0
push eax
call fcn.00452050
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.00452050
add esp, 0x24
xor eax, eax
mov dword [ebp - 0x14b0], eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x419b45
lea eax, [ebp - 0x14a4]
mov dword [ebp - 0x14a4], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x419b4c
test ebx, ebx
je 0x419b45
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x419df1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp - 0x1480]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x419dce
push dword [ebp - 0x149c]
push eax
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x419dc8
lea eax, [ebp - 0x14b4]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x419baa
push esi
call edi
jmp 0x419dc8
push 0x208
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1218]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x419bcf
push esi
call edi
jmp 0x419dc8
xor eax, eax
mov dword [ebp - 0x1220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x121c], 0
mov dword [ebp - 0x1220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x121c], 7
mov word [ebp - 0x1230], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419c10
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1230]
call fcn.00401a50
lea eax, [ebp - 0x1230]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1278]
call fcn.00401920
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x121c]
cmp edx, 8
jb 0x419c8f
mov ecx, dword [ebp - 0x1230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419c85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e0d
push edx
push ecx
call fcn.0044f7c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1220], 0
mov dword [ebp - 0x121c], 7
mov word [ebp - 0x1230], ax
mov ecx, dword [ebp - 0x14ac]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1238], eax
mov dword [ebp - 0x1234], eax
mov dword [ebp - 0x1238], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x1234], 7
mov word [ebp - 0x1248], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419ce0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x14ac]
lea ecx, [ebp - 0x1248]
call fcn.00401a50
lea eax, [ebp - 0x1248]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1260]
call fcn.00401920
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1234]
cmp edx, 8
jb 0x419d5b
mov ecx, dword [ebp - 0x1248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419d51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e0d
push edx
push ecx
call fcn.0044f7c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1238], 0
mov dword [ebp - 0x1234], 7
mov word [ebp - 0x1248], ax
lea edx, [ebp - 0x1278]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1260]
call fcn.0042d990
test al, al
je 0x419da4
push 0
push esi
mov dword [ebp - 0x14b0], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
lea ecx, [ebp - 0x1260]
mov byte [ebp - 4], 2
call fcn.00401850
lea ecx, [ebp - 0x1278]
mov dword [ebp - 4], 0xffffffff
call fcn.00401850
mov esi, dword [ebp - 0x14a8]
lea eax, [ebp - 0x14a4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x419b52
test ebx, ebx
je 0x419deb
push ebx
call edi
mov eax, dword [ebp - 0x14b0]
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.0044f786
mov esp, ebp
pop ebp
ret
call fcn.00454bbf
int3