Function at 0x100348d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b89dd
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100dbe80]
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 0x10034c69
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 0xe0
push eax
call fcn.1002f1d0
add esp, 8
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 1
jbe 0x1003495d
mov esi, dword [esi]
push ecx
push esi
push 0
mov ecx, eax
call fcn.10035cf0
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 0x100349db
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100349c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034c8a
push ecx
push edx
call fcn.1008c2e7
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 0x10034a22
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034a18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034c8a
push ecx
push edx
call fcn.1008c2e7
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 0x10034a7b
mov esi, dword [ebp - 0x288]
sub esi, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.100958c4
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x290]
jne 0x10034a60
push 0x228
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.1008e0c0
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 0x10034c2c
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 0x10034ae0
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 0x10034b24
mov esi, edi
lea eax, [edi + edx*2]
jmp 0x10034b2a
lea eax, [esi + edx*2]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x288], eax
cmp esi, eax
je 0x10034b63
sub ecx, esi
mov edi, eax
mov dword [ebp - 0x290], ecx
nop
movzx eax, word [esi]
push eax
call fcn.100958c4
mov ecx, dword [ebp - 0x290]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x10034b40
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 0x10034bd8
push dword [ebp - 0x18]
push eax
push ecx
call fcn.1002a230
add esp, 0xc
test eax, eax
jne 0x10034bd8
push dword [ebp - 0x27c]
push eax
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10034bd2
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 0x10034c10
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x10034c06
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034c8a
push esi
push edi
call fcn.1008c2e7
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 0x10034ac0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10034c69
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10034c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034c8f
push ecx
push edx
call fcn.1008c2e7
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.1008c2f5
mov esp, ebp
pop ebp
ret
call fcn.100917bf
call fcn.100917bf
int3