Function at 0x10007670
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov esi, 0x10000
push esi
call fcn.10006200
add esp, 4
mov ebx, eax
mov dword [ebp - 4], ebx
call fcn.10007600
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 0x18]
push 0
push esi
push ebx
mov ecx, dword [ecx + 0x20]
push 0x10
mov dword [ebp - 0x2c], eax
call ecx
cmp eax, 0xc0000004
jne 0x100076e6
mov edi, dword [ebp - 0x18]
add esi, esi
push esi
push ebx
call fcn.100062c0
add esp, 8
mov ebx, eax
mov eax, dword [edi + 0x20]
push 0
push esi
push ebx
push 0x10
call eax
cmp eax, 0xc0000004
je 0x100076c0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
test eax, eax
jns 0x100076ff
push eax
push str.____NtQuerySystemInformation___failed__result_code__d_n
call fcn.10006000
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push 0x13880
mov dword [ebp - 0x14], ebx
call fcn.10006200
mov ecx, dword [ebp - 4]
xor edx, edx
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ecx], edx
jbe 0x1000776f
lea esi, [ecx + 4]
mov eax, ecx
movups xmm0, xmmword [esi]
movd ecx, xmm0
cmp ecx, edi
je 0x10007758
xor eax, eax
test ebx, ebx
je 0x10007743
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx + eax*4], ecx
mov ebx, dword [ebp - 0x14]
je 0x10007755
inc eax
cmp eax, ebx
jb 0x10007733
cmp ebx, 0x4e20
je 0x10007762
mov eax, dword [ebp - 0x1c]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 4]
inc edx
add esi, 0x10
cmp edx, dword [eax]
jb 0x10007722
jmp 0x1000776f
push str.___
call fcn.10006000
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xorps xmm0, xmm0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call esi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x5c], eax
call esi
push 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
push 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
push 0x10007a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x10007a25
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push dword [edi]
push 0
push 0x41
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10007a10
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], 0
cmp dword [eax], 0
jbe 0x10007a08
mov ecx, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x20], eax
nop dword [eax + eax]
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [ebp - 0x40], xmm0
cmp eax, dword [edi]
jne 0x100079b5
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push 0
push 0
push 0
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
push eax
mov eax, dword [ebx + 0x24]
push edx
mov dword [ebp - 8], 0
call eax
test eax, eax
js 0x100079af
push 0x4000
call fcn.10006200
mov ecx, dword [ebx + 0x28]
add esp, 4
mov edi, eax
push 0
push 0x4000
push edi
push 2
push dword [ebp - 8]
call ecx
test eax, eax
js 0x1000799e
mov eax, dword [edi + 4]
cmp word [eax], 0x46
jne 0x1000799e
cmp word [eax + 2], 0x69
jne 0x1000799e
cmp word [eax + 4], 0x6c
jne 0x1000799e
cmp word [eax + 6], 0x65
jne 0x1000799e
push 0x4000
call fcn.10006200
mov ecx, dword [ebp - 8]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], ebx
push dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x64
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10007921
push 1
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 0x54]
call esi
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10007a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov dword [ebp - 0x54], eax
call fcn.10006290
push ebx
call fcn.10006290
add esp, 8
jmp 0x100079a7
cmp dword [ebp - 0x44], 0
jge 0x10007938
push edi
call fcn.10006290
push ebx
call fcn.10006290
add esp, 8
jmp 0x100079a7
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
test ax, ax
je 0x1000798d
movzx ebx, ax
mov esi, 0
shr ebx, 1
je 0x100079cc
mov edx, dword [ebp + 8]
sub ecx, edx
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
movzx eax, word [ecx + edx]
lea ecx, [eax - 0x61]
cmp cx, 0x19
ja 0x10007972
add eax, 0xffe0
cmp ax, word [edx]
jne 0x10007984
inc esi
add edx, 2
cmp esi, ebx
jge 0x100079cc
mov ecx, dword [ebp - 0x30]
jmp 0x10007960
mov ebx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10006290
push ebx
call fcn.10006290
add esp, 8
jmp 0x100079a7
push edi
call fcn.10006290
add esp, 4
push dword [ebp - 8]
call esi
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x20], 0x10
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ecx]
jae 0x10007a05
mov eax, dword [ebp - 0x20]
jmp 0x10007810
mov eax, dword [ebp - 0x10]
push dword [eax]
push str.____Process_PID__d_possibly_lock_file__try_terminate_n
call fcn.10006000
add esp, 8
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call fcn.10006290
push dword [ebp - 0x28]
call fcn.10006290
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 8]
call esi
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0xc]
call esi
mov edi, dword [ebp - 0x10]
add edi, 4
sub ebx, 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
jne 0x100077d6
mov eax, dword [ebp - 0x54]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 0x5c]
call esi
push dword [ebp - 0x58]
call esi
push dword [ebp - 4]
call fcn.10006290
push dword [ebp - 0x1c]
call fcn.10006290
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret