Function at 0x4068a0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4956c3
mov eax, dword fs:[0]
push eax
mov eax, 0x1228
call fcn.004675b0
mov eax, dword [0x4bba40]
xor eax, esp
mov dword [esp + 0x1224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bba40]
xor eax, esp
push eax
lea eax, [esp + 0x123c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1244], ebx
mov edx, dword [esp + 0x124c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x406917
push esi
lea ecx, [esp + 0x1250]
call fcn.00402310
mov edx, dword [esp + 0x124c]
lea eax, [esi + 1]
push eax
push edx
call fcn.004635bf
add esp, 8
cmp esi, ebx
jl 0x406c0a
mov eax, dword [esp + 0x124c]
cmp esi, dword [eax - 8]
jg 0x406c0a
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x124c]
xor ecx, ecx
lea eax, [esp + 0x24]
push eax
mov word [edx + esi*2], cx
push 0x1000
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x2c], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40699d
mov dword [esp + 0x1244], 0xffffffff
mov eax, dword [esp + 0x124c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406996
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406b93
mov eax, dword [esp + 0x24]
shr eax, 2
mov ecx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jbe 0x406b61
lea esp, [esp]
mov esi, dword [esp + ecx*4 + 0x30]
cmp esi, ebx
je 0x406b50
mov eax, dword [0x4a1fa8]
mov ecx, dword [str._unknown_]
mov edx, dword [0x4a1fa4]
push 0x1f4
mov dword [esp + 0x103c], eax
mov dword [esp + 0x1034], ecx
mov ecx, dword [0x4a1fac]
mov dword [esp + 0x1038], edx
mov edx, dword [0x4a1fb0]
lea eax, [esp + 0x1048]
push ebx
push eax
mov dword [esp + 0x1048], ecx
mov dword [esp + 0x104c], edx
call fcn.00467d30
add esp, 0xc
push esi
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
cmp ebp, ebx
je 0x406a63
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x30]
push edx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x406a63
mov ecx, dword [esp + 0x28]
push 0x104
lea eax, [esp + 0x1034]
push eax
push ecx
push ebp
call sub.PSAPI.DLL_GetModuleBaseNameW
call fcn.00445b4d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x406bbb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1030]
push ecx
lea edx, [esp + 0x18]
push 0x4a1800
push edx
mov byte [esp + 0x1250], 1
call fcn.00405b00
mov esi, dword [esp + 0x20]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
add esp, 0xc
or eax, ecx
jge 0x406acf
push edi
lea ecx, [esp + 0x18]
call fcn.00402310
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.004635bf
add esp, 8
cmp edi, ebx
jl 0x406c0a
cmp edi, dword [esi - 8]
jg 0x406c0a
mov dword [esi - 0xc], edi
xor ecx, ecx
mov word [esi + edi*2], cx
mov eax, dword [esp + 0x124c]
cmp dword [eax - 0xc], ebx
jl 0x406b22
push esi
push eax
call fcn.00463740
add esp, 8
cmp eax, ebx
je 0x406b22
sub eax, dword [esp + 0x124c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x406bc5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [esp + 0x1244], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x4069c0
mov dword [esp + 0x1244], 0xffffffff
mov eax, dword [esp + 0x124c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x123c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1224]
xor ecx, esp
call fcn.00462d06
add esp, 0x1234
ret
push 0x80004005
call fcn.004010b0
cmp dword [esp + 0x1250], ebx
je 0x406bd6
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 1
mov byte [esp + 0x1244], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406b61
push 0x80070057
call fcn.004010b0
int3