Function at 0x14000c220
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
mov r12d, edx
movups xmmword [rsp + 0x28], xmm0
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
xor r13d, r13d
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx r15d, ax
test r15d, r15d
je 0x14000c2f2
movzx ecx, si
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov r14d, eax
mov ebx, r13d
test eax, eax
je 0x14000c2eb
nop dword [rax]
nop dword [rax + rax]
mov ecx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov edx, 1
mov word [rbp - 0x19], si
shl rdx, cl
mov qword [rbp - 0x21], rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov rcx, qword [rdi]
mov edx, 5
call fcn.140044620
test eax, eax
jne 0x14000c3f9
inc ebx
cmp ebx, r14d
jb 0x14000c2a0
inc esi
cmp esi, r15d
jb 0x14000c281
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov rcx, qword [rdi]
lea r8, [rbp - 0x49]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x29], rax
movups xmmword [rbp - 0x39], xmm0
lea edx, [rax + 9]
call fcn.140044623
mov rdx, qword [rbp - 0x49]
lea rcx, str.___CurentCr3:__p_n
test eax, eax
cmovne rdx, r13
mov qword [rdi + 0x10], rdx
call fcn.1400011c0
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000c3f9
mov rsi, r13
movabs r14, 0x1000600e9
nop word [rax + rax]
mov rcx, qword [rdi]
lea r8, [rbp - 0x49]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rsi
mov edx, 6
mov qword [rbp - 0x41], rbx
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x39], 0x1000
call fcn.140044623
test eax, eax
jne 0x14000c3e0
mov rax, qword [rbx]
and rax, 0xffffffffffff00ff
cmp rax, r14
jne 0x14000c3e0
mov rax, qword [rbx + 0x70]
movabs rcx, 0xfffff80000000003
and rax, rcx
movabs rcx, 0xfffff80000000000
cmp rax, rcx
jne 0x14000c3e0
mov rdx, qword [rbx + 0xa0]
movabs rax, 0xffffff0000000fff
test rax, rdx
je 0x14000c422
add rsi, 0x1000
cmp rsi, 0x100000
jb 0x14000c370
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140044720
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.___m_pPML4Base____0x_p_n
mov qword [rdi + 8], rdx
call fcn.1400011c0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rdi + 8]
lea rcx, str.___KernelCr3:__p_n
call fcn.1400011c0
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x49]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
mov rax, qword [rdi + 0x28]
mov qword [rbp - 0x41], rax
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
lea edx, [rax + 0xa]
call fcn.140044623
test eax, eax
je 0x14000c484
mov qword [rdi + 0x20], r13
jmp 0x14000c3f9
mov rdx, qword [rbp - 0x39]
mov qword [rdi + 0x20], rdx
test rdx, rdx
je 0x14000c3f9
lea rcx, str.___NtShutdownSystemPa:__p_n
call fcn.1400011c0
mov rax, qword gs:[0x58]
mov rbx, qword [rdi + 0x48]
mov esi, 4
mov qword [rsp + 0x20], r13
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x14005620c], eax
jle 0x14000c50a
lea rcx, [0x14005620c]
call fcn.140044b60
cmp dword [0x14005620c], 0xffffffff
jne 0x14000c50a
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005620c]
mov qword [0x1400561f8], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x49]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x41], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], rbx
mov qword [rbp - 0x39], 0xe
movups xmmword [rbp - 0x31], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x49]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 0x39], 0xe
mov qword [rbp - 0x41], rax
movups xmmword [rbp - 0x31], xmm0
call fcn.140044623
mov rcx, r12
lea rdx, [rsp + 0x20]
call qword [0x1400561f8]
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x49]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
mov edx, 7
lea rax, [rbp - 0x21]
mov qword [rbp - 0x39], 0xe
mov qword [rbp - 0x41], rax
movups xmmword [rbp - 0x31], xmm0
call fcn.140044623
mov r14, qword [rsp + 0x20]
test r14, r14
je 0x14000c3f9
mov eax, dword [rsi]
cmp dword [0x140056208], eax
mov rbx, qword [rdi + 0x58]
jle 0x14000c61b
lea rcx, [0x140056208]
call fcn.140044b60
cmp dword [0x140056208], 0xffffffff
jne 0x14000c61b
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140056208]
mov qword [0x140056200], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x49]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x41], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], rbx
mov qword [rbp - 0x39], 0xe
movups xmmword [rbp - 0x31], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x11]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x11], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 1], 0xe
mov qword [rbp - 9], rax
movups xmmword [rbp + 7], xmm0
call fcn.140044623
mov rax, qword [0x140056200]
mov rcx, r14
call rax
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rbx, rax
mov qword [rbp - 0x71], rcx
mov rcx, qword [rdi]
lea rax, [rbp - 0x21]
xorps xmm0, xmm0
mov qword [rbp - 0x69], rax
mov edx, 7
mov qword [rbp - 0x61], 0xe
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov eax, dword [rsi]
mov r14, qword [rdi + 0x60]
mov qword [rdi + 0x30], rbx
cmp dword [0x140056208], eax
mov rbx, qword [rsp + 0x20]
jle 0x14000c728
lea rcx, [0x140056208]
call fcn.140044b60
cmp dword [0x140056208], 0xffffffff
jne 0x14000c728
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140056208]
mov qword [0x140056200], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x69], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], r14
mov qword [rbp - 0x61], 0xe
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x11]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x11], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 1], 0xe
mov qword [rbp - 9], rax
movups xmmword [rbp + 7], xmm0
call fcn.140044623
mov rax, qword [0x140056200]
mov rcx, rbx
call rax
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x49]
mov rbx, rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rdi]
lea rax, [rbp - 0x21]
xorps xmm0, xmm0
mov qword [rbp - 0x41], rax
mov edx, 7
mov qword [rbp - 0x39], 0xe
movups xmmword [rbp - 0x31], xmm0
call fcn.140044623
mov r8, qword [rsp + 0x20]
lea rdx, [rdi + 0x18]
add r8, 0x28
mov qword [rdi + 0x38], rbx
mov rcx, rdi
call fcn.14000c0c0
mov eax, dword [rsi]
cmp dword [0x1400561e8], eax
mov rbx, qword [rsp + 0x20]
mov r14, qword [rdi + 0x50]
jle 0x14000c84a
lea rcx, [0x1400561e8]
call fcn.140044b60
cmp dword [0x1400561e8], 0xffffffff
jne 0x14000c84a
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400561e8]
mov qword [0x140056210], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x69], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], r14
mov qword [rbp - 0x61], 0xe
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rcx, rbx
call qword [0x140056210]
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rbp - 0x21]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
cmp qword [rdi + 0x10], r13
jne 0x14000cb30
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14, qword [rdi + 0x48]
mov ebx, eax
mov eax, dword [rsi]
cmp dword [0x14005620c], eax
jle 0x14000c95f
lea rcx, [0x14005620c]
call fcn.140044b60
cmp dword [0x14005620c], 0xffffffff
jne 0x14000c95f
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005620c]
mov qword [0x1400561f8], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x69], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], r14
mov qword [rbp - 0x61], 0xe
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [0x1400561f8]
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rbp - 0x21]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x14000c3f9
add r8, 0x28
lea rdx, [rdi + 0x10]
mov rcx, rdi
call fcn.14000c0c0
mov eax, dword [rsi]
cmp dword [0x1400561e8], eax
mov rbx, qword [rsp + 0x20]
mov r14, qword [rdi + 0x50]
jle 0x14000ca85
lea rcx, [0x1400561e8]
call fcn.140044b60
cmp dword [0x1400561e8], 0xffffffff
jne 0x14000ca85
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtShutdownSystem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400561e8]
mov qword [0x140056210], rax
call fcn.140044b00
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 6
lea rax, [rbp - 0x21]
mov dword [rsp + 0x28], 0x25ff
mov qword [rbp - 0x69], rax
mov word [rbp - 0x7d], r13w
mov qword [rbp - 0x7b], r14
mov qword [rbp - 0x61], 0xe
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rsp + 0x28]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov rcx, rbx
call qword [0x140056210]
mov rax, qword [rdi + 0x20]
lea r8, [rbp - 0x71]
mov rcx, qword [rdi]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
mov edx, 7
lea rax, [rbp - 0x21]
mov qword [rbp - 0x61], 0xe
mov qword [rbp - 0x69], rax
movups xmmword [rbp - 0x59], xmm0
call fcn.140044623
mov al, 1
jmp 0x14000c3fb