Function at 0x40ab30
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4894d3
mov eax, dword fs:[0]
push eax
mov eax, 0x1224
call fcn.0045c270
mov eax, dword [0x4ada80]
xor eax, esp
mov dword [esp + 0x1220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada80]
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 0x40abc9
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 0x40abc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40adbe
mov eax, dword [esp + 0x20]
shr eax, 2
mov ebp, 1
mov dword [esp + 0x14], eax
cmp eax, ebp
jbe 0x40ad8c
mov esi, dword [esp + ebp*4 + 0x2c]
cmp esi, ebx
je 0x40ad44
mov eax, dword [0x494828]
mov ecx, dword [str._unknown_]
mov edx, dword [0x494824]
push 0x1f4
mov dword [esp + 0x1038], eax
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x49482c]
mov dword [esp + 0x1034], edx
mov edx, dword [0x494830]
lea eax, [esp + 0x1044]
push ebx
push eax
mov dword [esp + 0x1044], ecx
mov dword [esp + 0x1048], edx
call fcn.0045c9f0
add esp, 0xc
push esi
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x40ac84
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 0x40ac84
mov ecx, dword [esp + 0x24]
push 0x104
lea eax, [esp + 0x1030]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
call fcn.0043a8f1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x40ad4f
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 0x494834
push edx
mov byte [esp + 0x124c], 1
call fcn.00406270
mov ecx, dword [esp + 0x1254]
xor eax, eax
add esp, 0xc
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x40ad4f
mov edi, dword [esp + 0x18]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ad08
cmp dx, bx
je 0x40ad04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ad08
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40ace2
xor eax, eax
jmp 0x40ad0d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x40ad59
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 0x40ad40
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 0x40abe1
jmp 0x40ad8c
push 0x80004005
call fcn.004010b0
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 0x40ad8c
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 0x40adba
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.00457b41
add esp, 0x1230
ret 4