Function at 0x4080b0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x440b73
mov eax, dword fs:[0]
push eax
mov eax, 0x1224
call fcn.0042a900
mov eax, dword [0x4558c0]
xor eax, esp
mov dword [esp + 0x1220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4558c0]
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 0x408149
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 0x408142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40833e
mov eax, dword [esp + 0x20]
shr eax, 2
mov ebp, 1
mov dword [esp + 0x14], eax
cmp eax, ebp
jbe 0x40830c
mov esi, dword [esp + ebp*4 + 0x2c]
cmp esi, ebx
je 0x4082c4
mov eax, dword [0x448394]
mov ecx, dword [str._unknown_]
mov edx, dword [0x448390]
push 0x1f4
mov dword [esp + 0x1038], eax
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x448398]
mov dword [esp + 0x1034], edx
mov edx, dword [0x44839c]
lea eax, [esp + 0x1044]
push ebx
push eax
mov dword [esp + 0x1044], ecx
mov dword [esp + 0x1048], edx
call fcn.0042b410
add esp, 0xc
push esi
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x408204
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 0x408204
mov ecx, dword [esp + 0x24]
push 0x104
lea eax, [esp + 0x1030]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
call fcn.0040cccf
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4082cf
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 0x4483a0
push edx
mov byte [esp + 0x124c], 1
call fcn.004045e0
mov ecx, dword [esp + 0x1254]
xor eax, eax
add esp, 0xc
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x4082cf
mov edi, dword [esp + 0x18]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408288
cmp dx, bx
je 0x408284
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408288
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x408262
xor eax, eax
jmp 0x40828d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x4082d9
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 0x4082c0
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 0x408161
jmp 0x40830c
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 0x40830c
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 0x40833a
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.004293f9
add esp, 0x1230
ret 4