Function at 0x406830
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x23c
mov eax, dword [0x460640]
mov edx, dword [esp + 0x240]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x248], eax
xor eax, eax
mov byte [esp + 0x144], 0
mov ecx, 0x40
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x44f064
stosb byte es:[edi], al
lea eax, [esp + 0x14c]
push 0x104
push eax
call fcn.004327ac
mov ebx, dword [0x45ebd8]
mov ecx, dword [0x45ebd4]
mov eax, 0x9c5fe915
imul ebx
add edx, ebx
sar edx, 0x1d
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x4be59407
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov ebp, dword [0x45ebe0]
mov eax, 0x2e45b009
imul ecx
sar edx, 0x1b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ebp
imul edx, edx, 0x15c6babc
sub esi, ecx
mov ecx, dword [0x45ebcc]
sub esi, edx
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebdc]
mov ecx, edx
add eax, edi
imul ecx, ecx, 0x3e20adb7
add eax, esi
add ecx, eax
mov eax, 0x2d01dbc7
imul edx
mov esi, ebp
imul esi, esi, 0x4d0e971
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov esi, eax
mov eax, 0x273a7861
imul ebp
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add esp, 0x10
mov dword [0x45ebc4], ecx
add eax, edx
sub esi, eax
imul ebx, ebx, 0xbd0f4c0
imul ecx, ecx, 0x31136cfe
mov eax, 0x5e0c18e7
imul dword [0x45ebd0]
sar edx, 0x1b
add esi, edx
mov eax, edx
mov edx, dword [0x45ebe4]
shr eax, 0x1f
add eax, esi
mov dword [esp + 0x14], eax
mov eax, 0x56a9121b
imul edx
mov eax, dword [esp + 0x14]
sar edx, 0x1a
add eax, edx
mov esi, edx
shr esi, 0x1f
add esi, eax
add esi, ebx
mov ebx, dword [0x45ebdc]
mov eax, 0xc09944a7
imul ebx
add edx, ebx
sar edx, 0x1c
add ecx, edx
mov ebx, edx
mov eax, 0x273a7861
imul dword [0x45ebd0]
sar edx, 0x19
shr ebx, 0x1f
add ebx, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x2e45b009
imul ebp
sar edx, 0x1b
sub ebx, ecx
mov ecx, edx
add ebx, edx
mov eax, 0x9c5fe915
imul esi
add edx, esi
shr ecx, 0x1f
sar edx, 0x1d
mov dword [0x45ebc8], esi
add ecx, ebx
mov esi, edx
add ecx, edx
mov eax, 0x56a9121b
imul dword [0x45ebd4]
sar edx, 0x1a
shr esi, 0x1f
add esi, ecx
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push 0
sub eax, edi
push 2
mov dword [esp + 0x1c], 0
mov dword [0x45ebcc], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45ebcc]
mov ebx, dword [0x45ebd8]
mov edi, dword [0x45ebc4]
mov ebp, eax
mov eax, 0x4be59407
imul ecx
mov esi, ebx
sar edx, 0x1c
imul esi, esi, 0x35f7d09c
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov dword [esp + 0x10], ebp
sub eax, esi
mov esi, eax
mov eax, 0xc09944a7
imul edi
add edx, edi
sar edx, 0x1c
add esi, edx
mov ecx, edx
mov edx, dword [0x45ebd4]
imul edx, edx, 0x3e888aa2
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x45ebe4]
add ecx, edx
mov eax, 0x2e45b009
imul dword [0x45ebd0]
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x9c5fe915
imul esi
add edx, esi
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
cmp ebp, 0xffffffff
mov dword [0x45ebe4], ecx
jne 0x406b31
mov esi, dword [0x45ebe0]
imul ebx, ebx, 0xbd0f4c0
mov edx, dword [0x45ebdc]
mov edi, esi
mov eax, 0x2d01dbc7
imul edi, edi, 0x4d0e971
imul edx
sar edx, 0x1b
mov ebp, edx
add edi, edx
mov eax, 0x273a7861
imul esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebp, 0x1f
add ebp, edi
sub ebp, eax
mov eax, 0x5e0c18e7
imul dword [0x45ebd0]
sar edx, 0x1b
mov esi, edx
add ebp, edx
mov eax, 0x56a9121b
imul ecx
sar edx, 0x1a
shr esi, 0x1f
mov ecx, edx
add esi, ebp
shr ecx, 0x1f
add esi, edx
add ecx, esi
add ecx, ebx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45ebc8], ecx
call fcn.00432746
add esp, 4
jmp 0x407361
mov esi, dword [0x45ebe8]
imul ecx, ecx, 0xd0d40b9
imul edi, edi, 0x346312ef
mov eax, 0xc09944a7
imul esi, esi, 0x31136cfe
imul dword [0x45ebd0]
add edx, dword [0x45ebd0]
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x45ebe8]
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x56a9121b
imul ebx
sar edx, 0x1a
sub esi, ecx
mov eax, edx
shr eax, 0x1f
sub esi, edi
mov edi, dword [0x45ebe0]
add eax, edx
lea edx, [esp + 0x1c]
add esi, edi
push edx
lea ecx, [eax + esi - 0xbd0f4c0]
push ebp
mov dword [0x45ebd0], ecx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
mov eax, 0x4be59407
jne 0x406c34
mov ecx, dword [0x45ebdc]
mov esi, dword [0x45ebe8]
imul ecx
imul esi, esi, 0x35f7d09c
sar edx, 0x1c
mov edi, edx
add esi, edx
mov eax, 0x83008757
imul ecx
add edx, ecx
mov ecx, dword [0x45ebc8]
sar edx, 0x1c
imul ecx, ecx, 0x15c6babc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebc4]
shr edi, 0x1f
imul edx, edx, 0x1a1a8172
add edi, esi
sub edi, eax
sub edi, ecx
add edi, dword [0x45ebe4]
lea eax, [edx + edi + 0xbd0f4c0]
push ebp
mov dword [0x45ebd4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407361
mov ecx, dword [0x45ebc8]
imul ecx
mov esi, dword [0x45ebc4]
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, ecx
imul edi, edi, 0x35f7d09c
sub edi, eax
mov eax, 0x53766c07
imul esi
sar edx, 0x1c
add edi, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, edi
mov edi, dword [0x45ebe0]
mov eax, 0x83008757
imul edi
add edx, edi
mov edi, dword [0x45ebcc]
sar edx, 0x1c
add ebx, edx
mov eax, edx
mov edx, edi
imul edx, edx, 0x1f444551
shr eax, 0x1f
add eax, ebx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, 0x5e0c18e7
imul dword [0x45ebe8]
mov eax, dword [esp + 0x18]
sar edx, 0x1b
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, dword [0x45ebe8]
imul eax, eax, 0xbd0f4c0
sub ebx, eax
mov dword [0x45ebd8], ebx
jmp 0x406cd0
mov edx, dword [0x45ebe4]
imul ecx, ecx, 0x2d80f713
imul esi, esi, 0xbd0f4c0
mov eax, 0x4be59407
imul edx
sar edx, 0x1c
mov ebx, edx
mov eax, edi
imul eax, eax, 0x5885071a
shr ebx, 0x1f
add ebx, edx
add ebx, eax
mov eax, 0x273a7861
imul edi
add ebx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x45ebd0]
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add ebx, edx
lea ecx, [esp + 0x144]
add eax, ebx
push ecx
lea edx, [esp + 0x44]
add eax, esi
push edx
mov dword [0x45ebdc], eax
call fcn.0043c57e
add esp, 8
test eax, eax
je 0x406fa4
mov ecx, dword [0x45ebd0]
mov ebp, dword [0x45ebd4]
mov eax, dword [0x45ebc8]
mov edx, dword [0x45ebd8]
imul eax, eax, 0x31136cfe
mov esi, ecx
imul edx, edx, 0x2d80f713
sub esi, ebp
imul esi, esi, 0x15445b42
add esi, eax
add esi, edx
mov eax, 0xc09944a7
imul ecx
add edx, ecx
mov ecx, dword [0x45ebe8]
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x2e45b009
imul ecx
mov eax, dword [esp + 0x24]
sar edx, 0x1b
mov ecx, edx
add esi, edx
mov edx, dword [0x45ebcc]
imul edx, edx, 0xbd0f4c0
shr ecx, 0x1f
push eax
add ecx, esi
push 0
sub ecx, edx
push 0x1f0fff
mov dword [0x45ebe0], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x45ebd4]
mov esi, eax
mov eax, 0x4be59407
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, dword [0x45ebe0]
mov edi, eax
mov eax, 0x2e45b009
imul ecx
sar edx, 0x1b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ebp
imul edx, edx, 0x15c6babc
sub edi, ecx
mov ecx, dword [0x45ebd8]
sub edi, edx
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
add edi, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, edi
mov edi, dword [0x45ebcc]
mov eax, 0x9c5fe915
imul edi
add edx, edi
sar edx, 0x1d
add ebx, edx
mov eax, edx
mov edx, dword [0x45ebdc]
mov edi, edx
imul edi, edi, 0x3e20adb7
shr eax, 0x1f
add eax, ebx
add eax, edi
test esi, esi
mov dword [0x45ebc4], eax
jne 0x406e75
push 0x44f030
call fcn.00432746
add esp, 4
jmp 0x406f76
mov eax, 0x2d01dbc7
imul ecx, ecx, 0xbd0f4c0
imul edx
mov edi, ebp
imul edi, edi, 0x4d0e971
sar edx, 0x1b
add edi, edx
mov ebx, edx
mov eax, 0x273a7861
imul ebp
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebd0]
shr ebx, 0x1f
add ebx, edi
sub ebx, eax
mov eax, 0x5e0c18e7
imul edx
sar edx, 0x1b
mov edi, edx
add ebx, edx
mov edx, dword [0x45ebe4]
mov eax, 0x56a9121b
imul edx
sar edx, 0x1a
shr edi, 0x1f
mov eax, edx
add edi, ebx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
push esi
mov dword [0x45ebc8], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x406efa
push 0x44f01c
call fcn.00432746
add esp, 4
mov ecx, dword [0x45ebe4]
mov eax, 0x4be59407
imul ecx
mov ecx, dword [0x45ebcc]
mov eax, dword [0x45ebc8]
sar edx, 0x1c
imul eax, eax, 0x2d80f713
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, ecx
imul edx, edx, 0x5885071a
add edi, edx
add edi, eax
mov eax, 0x273a7861
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45ebd0]
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
mov ecx, dword [0x45ebc4]
imul ecx, ecx, 0xbd0f4c0
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
push esi
mov dword [0x45ebdc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov ecx, dword [0x45ebc8]
je 0x40703d
mov esi, dword [0x45ebc4]
mov edi, dword [0x45ebcc]
jmp 0x406cd0
mov ecx, dword [0x45ebc8]
mov eax, 0x4be59407
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebc4]
mov esi, ecx
imul esi, esi, 0x35f7d09c
sub esi, eax
mov eax, 0x53766c07
imul edx
sar edx, 0x1c
add esi, edx
mov edi, edx
shr edi, 0x1f
add edi, esi
mov esi, dword [0x45ebe0]
mov eax, 0x83008757
imul esi
mov ebx, dword [0x45ebe8]
add edx, esi
mov esi, dword [0x45ebcc]
sar edx, 0x1c
add edi, edx
mov eax, edx
mov edx, esi
imul edx, edx, 0x1f444551
shr eax, 0x1f
add eax, edi
sub eax, edx
mov edi, eax
mov eax, 0x5e0c18e7
imul ebx
sar edx, 0x1b
add edi, edx
mov eax, edx
mov edx, ebx
imul edx, edx, 0xbd0f4c0
shr eax, 0x1f
add eax, edi
sub eax, edx
mov edx, dword [esp + 0x24]
mov dword [0x45ebd8], eax
mov dword [esp + 0x14], edx
jmp 0x40704e
mov esi, dword [0x45ebcc]
mov eax, dword [0x45ebd8]
mov ebx, dword [0x45ebe8]
mov edi, dword [0x45ebd0]
imul eax, eax, 0x2d80f713
imul ecx, ecx, 0x31136cfe
mov edx, edi
imul esi, esi, 0xbd0f4c0
sub edx, dword [0x45ebd4]
push ebp
imul edx, edx, 0x15445b42
add edx, ecx
add edx, eax
mov ecx, edx
mov eax, 0xc09944a7
imul edi
add edx, edi
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x2e45b009
imul ebx
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
sub eax, esi
mov dword [0x45ebe0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45ebdc]
mov ebx, dword [0x45ebc4]
mov ebp, dword [0x45ebd0]
mov eax, 0xc09944a7
imul ecx
add edx, ecx
sar edx, 0x1c
mov esi, ebx
imul esi, esi, 0x31136cfe
add esi, edx
mov edi, edx
mov eax, 0x273a7861
imul ebp
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [0x45ebe0]
mov eax, 0x2e45b009
imul ecx
mov ecx, dword [0x45ebc8]
sar edx, 0x1b
add edi, edx
mov esi, edx
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
shr esi, 0x1f
mov eax, edx
shr eax, 0x1f
add esi, edi
add esi, edx
add eax, esi
mov esi, dword [0x45ebd8]
mov ecx, eax
mov edi, dword [0x45ebd4]
mov eax, 0x9c5fe915
imul esi
add edx, esi
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x56a9121b
imul edi
mov eax, ecx
sar edx, 0x1a
mov ecx, edx
add eax, edx
shr ecx, 0x1f
add ecx, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [0x45ebcc], ecx
je 0x4072f5
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x45ebd0]
mov edi, eax
mov ecx, dword [0x45ebe8]
mov ebp, dword [0x45ebe4]
mov eax, 0xc09944a7
imul esi
add edx, esi
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, ecx
imul ebx, ebx, 0x31136cfe
sub ebx, eax
mov edx, ebp
imul edx, edx, 0xd0d40b9
add ebx, edx
mov esi, dword [0x45ebc4]
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x346312ef
sub ebx, eax
sub ebx, edx
mov edx, dword [0x45ebd8]
mov eax, 0x56a9121b
imul edx
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, dword [0x45ebe0]
test edi, edi
lea edx, [eax + ebx - 0xbd0f4c0]
mov dword [0x45ebd0], edx
je 0x407361
mov ebx, dword [0x45ebdc]
imul ecx, ecx, 0x35f7d09c
imul esi, esi, 0x1a1a8172
mov eax, 0x4be59407
imul ebx
sar edx, 0x1c
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, eax
mov eax, 0x83008757
imul ebx
add edx, ebx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebc8]
imul edx, edx, 0x15c6babc
sub ecx, eax
sub ecx, edx
add ecx, ebp
push 0
lea eax, [esi + ecx + 0xbd0f4c0]
push edi
mov dword [0x45ebd4], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45ebd0]
mov ebp, dword [0x45ebd4]
mov edx, dword [0x45ebc8]
mov eax, dword [0x45ebd8]
imul edx, edx, 0x31136cfe
mov esi, ecx
imul eax, eax, 0x2d80f713
sub esi, ebp
imul esi, esi, 0x15445b42
add esi, edx
add esi, eax
mov eax, 0xc09944a7
imul ecx
add edx, ecx
sar edx, 0x1c
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45ebe8]
mov eax, 0x2e45b009
imul ecx
mov ecx, dword [0x45ebcc]
imul ecx, ecx, 0xbd0f4c0
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
push edi
mov dword [0x45ebe0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x407363
mov eax, 0x4be59407
imul esi, esi, 0x35f7d09c
imul edi, edi, 0x3e888aa2
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0xc09944a7
imul ebx
sub ecx, esi
add edx, ebx
sar edx, 0x1c
add ecx, edx
mov esi, edx
mov eax, 0x2e45b009
imul ebp
sar edx, 0x1b
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x45ebe4]
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, edi
sub esi, eax
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
sar edx, 0x1d
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov dword [0x45ebe4], esi
xor eax, eax
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431a6d
add esp, 0x23c
ret