Function at 0x10034990
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 2
mov byte [ebp - 0x28c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
je 0x10034d29
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push 0xd9
push eax
call fcn.1002f500
add esp, 8
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 1
jbe 0x10034a1d
mov esi, dword [esi]
push ecx
push esi
push 0
mov ecx, eax
call fcn.10035db0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
movq qword [ebp - 0x294], xmm1
movups xmmword [ebp - 0x2a8], xmm0
cmp ecx, 7
jbe 0x10034a9b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034a82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034d4a
push ecx
push edx
call fcn.1008c3c5
movups xmm0, xmmword [ebp - 0x2a8]
add esp, 8
movq xmm1, qword [ebp - 0x294]
mov ecx, dword [ebp - 0x44]
movq qword [ebp - 0x18], xmm1
mov byte [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
cmp ecx, 7
jbe 0x10034ae2
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034ad8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034d4a
push ecx
push edx
call fcn.1008c3c5
add esp, 8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmova eax, edx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x288], eax
cmova ecx, edx
mov eax, dword [ebp - 0x18]
cmova edi, edx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x290], eax
cmp edi, eax
je 0x10034b3b
mov esi, dword [ebp - 0x288]
sub esi, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.100959a4
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x290]
jne 0x10034b20
push 0x228
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.1008e1a0
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x284]
add esp, 0xc
mov dword [ebp - 0x284], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x10034cec
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034ba0
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10007490
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
lea esi, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
seta al
cmova ecx, edi
mov byte [ebp - 4], 2
test al, al
je 0x10034be4
mov esi, edi
lea eax, [edi + edx*2]
jmp 0x10034bea
lea eax, [esi + edx*2]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x288], eax
cmp esi, eax
je 0x10034c23
sub ecx, esi
mov edi, eax
mov dword [ebp - 0x290], ecx
nop
movzx eax, word [esi]
push eax
call fcn.100959a4
mov ecx, dword [ebp - 0x290]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x10034c00
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
cmp esi, 7
lea ecx, [ebp - 0x28]
cmova eax, edi
cmp dword [ebp - 0x14], 7
cmova ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x18], edx
jne 0x10034c98
push dword [ebp - 0x18]
push eax
push ecx
call fcn.1002a560
add esp, 0xc
test eax, eax
jne 0x10034c98
push dword [ebp - 0x27c]
push eax
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10034c92
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x28c]
cmp eax, 1
movzx ecx, cl
mov eax, 1
cmove ecx, eax
push esi
mov dword [ebp - 0x28c], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 0
cmp esi, 7
jbe 0x10034cd0
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x10034cc6
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034d4a
push esi
push edi
call fcn.1008c3c5
add esp, 8
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x10034b80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10034d29
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034d1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034d4f
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov al, byte [ebp - 0x28c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
call fcn.1009189f
int3