Function at 0x408c50
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x438f93
mov eax, dword fs:[0]
push eax
mov eax, 0x1224
call fcn.00422d00
mov eax, dword [0x449dd0]
xor eax, esp
mov dword [esp + 0x1220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449dd0]
xor eax, esp
push eax
lea eax, [esp + 0x1238]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
push 0x1000
lea ecx, [esp + 0x34]
xor ebx, ebx
push ecx
mov dword [esp + 0x124c], ebx
mov dword [esp + 0x28], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x408ce9
mov dword [esp + 0x1240], 0xffffffff
mov eax, dword [esp + 0x1248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x408ede
mov eax, dword [esp + 0x20]
shr eax, 2
mov ebp, 1
mov dword [esp + 0x14], eax
cmp eax, ebp
jbe 0x408eac
mov esi, dword [esp + ebp*4 + 0x2c]
cmp esi, ebx
je 0x408e64
mov eax, dword [0x43fb24]
mov ecx, dword [str._unknown_]
mov edx, dword [0x43fb20]
push 0x1f4
mov dword [esp + 0x1038], eax
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x43fb28]
mov dword [esp + 0x1034], edx
mov edx, dword [0x43fb2c]
lea eax, [esp + 0x1044]
push ebx
push eax
mov dword [esp + 0x1044], ecx
mov dword [esp + 0x1048], edx
call fcn.00423810
add esp, 0xc
push esi
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x408da4
lea ecx, [esp + 0x28]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x408da4
mov ecx, dword [esp + 0x24]
push 0x104
lea eax, [esp + 0x1030]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
call fcn.00415b4d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x408e6f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x102c]
push ecx
lea edx, [esp + 0x1c]
push 0x43f1c4
push edx
mov byte [esp + 0x124c], 1
call fcn.00403d70
mov ecx, dword [esp + 0x1254]
xor eax, eax
add esp, 0xc
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x408e6f
mov edi, dword [esp + 0x18]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408e28
cmp dx, bx
je 0x408e24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408e28
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x408e02
xor eax, eax
jmp 0x408e2d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x408e79
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x1240], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jb 0x408d01
jmp 0x408eac
push 0x80004005
call fcn.00401090
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x1240], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408eac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1240], 0xffffffff
mov eax, dword [esp + 0x1248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408eda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1220]
xor ecx, esp
call fcn.004216e3
add esp, 0x1230
ret