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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001b9d0
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, str.ok668ok_E11E4F4B38DACC9566C010F0192779DAD5C926FFE24A0BAA2DE61E9E3C382E52E6FE7D6D17940668
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x100062bb
test cl, cl
je 0x100062b7
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x100062bb
add eax, 2
add esi, 2
test cl, cl
jne 0x10006293
xor eax, eax
jmp 0x100062c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100062cb
push 0
call fcn.1000a70c
push ebp
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x128
mov dword [esp + 0x18], esi
call fcn.10012669
mov edi, eax
xor eax, eax
mov dword [esp + 0x24], eax
add esp, 4
mov dword [esp + 0x24], eax
xor ebp, ebp
mov dword [esp + 0x28], eax
push edi
push esi
mov dword [edi], 0x128
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], eax
xor ebx, ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000650e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000650e
mov eax, dword [0x1002512c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x38], 1
push ecx
lea ecx, [esp + 0x14]
call fcn.10012ab1
lea ecx, [esp + 0x10]
call fcn.10012dae
lea ebp, [edi + 0x24]
lea edx, [esp + 0x44]
push ebp
push 0x100240b0
push edx
call fcn.100120bc
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x44]
mov esi, dword [eax - 8]
push 0x5c
call fcn.10011d92
sub esi, eax
lea ecx, [esp + 0x40]
dec esi
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.10011c9e
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
call fcn.10012a61
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.10012928
lea ecx, [esp + 0x44]
call fcn.10012dae
mov edx, dword [esp + 0x44]
push str.WINOA386.MOD
push edx
call fcn.1000a630
add esp, 8
test eax, eax
je 0x100063f8
mov eax, dword [esp + 0x44]
push str.WINOLDAP.MOD
push eax
call fcn.1000a630
add esp, 8
test eax, eax
je 0x100063f8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x10006404
mov eax, dword [edi + 8]
mov ebx, 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x100064e7
lea edx, [esp + ebx*4 + 0x1c]
mov dword [esp + 0x40], edx
push ebp
lea eax, [esp + 0x48]
push 0x100240b0
push eax
call fcn.100120bc
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov esi, dword [ecx - 8]
push 0x5c
lea ecx, [esp + 0x48]
call fcn.10011d92
sub esi, eax
lea edx, [esp + 0x18]
dec esi
lea ecx, [esp + 0x44]
push esi
push edx
call fcn.10011c9e
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 3
call fcn.10012a61
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.10012928
lea ecx, [esp + 0x44]
call fcn.10012dae
mov eax, dword [esp + 0x44]
push str.WINOA386.MOD
push eax
call fcn.1000a630
add esp, 8
test eax, eax
je 0x100064be
mov ecx, dword [esp + 0x44]
push str.WINOLDAP.MOD
push ecx
call fcn.1000a630
add esp, 8
test eax, eax
je 0x100064be
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x100064d4
cmp ebx, 5
jge 0x100064d4
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 8]
inc ebx
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x14]
push edi
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000641f
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.10012928
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call fcn.10012928
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x10006548
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, ebp
lea esi, [esp + 0x1c]
push eax
push 1
push 0x1f0fff
call edi
test eax, eax
je 0x1000653e
push 0
push eax
call ebx
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x1000652b
mov ecx, dword [esp + 0x30]
pop edi
pop ebp
pop esi
mov eax, 0x10026420
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8