Function at 0x180004490
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x128]
sub rsp, 0x218
xorps xmm1, xmm1
mov qword [rax + 8], rsi
mov qword [rax + 0x18], r14
xorps xmm0, xmm0
mov qword [rax - 0x18], r15
xor ebx, ebx
mov r15, rcx
mov qword [rsp + 0x50], rbx
xor eax, eax
mov dword [rbp - 0x10], 0x11c
movups xmmword [rbp - 0x80], xmm1
lea rcx, str.ntdll
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x40], xmm1
mov rsi, r8
mov dword [rbp - 0x80], 0x70
mov r14, rdx
mov word [rbp - 0x40], bx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180004527
lea rcx, [rbp - 0x10]
call rax
mov eax, dword [rbp - 0xc]
lea ecx, [rax + rax*4]
mov eax, dword [rbp - 8]
lea edx, [rax + rcx*2]
cmp edx, 0x3d
jb 0x180004702
lea rcx, str.kernel32
mov qword [rsp + 0x238], rdi
mov qword [rbp + 0x148], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InitializeProcThreadAttributeList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000457f
xor r8d, r8d
lea r9, [rbp + 0x148]
xor ecx, ecx
lea edx, [r8 + 2]
call rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x148]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rcx, str.kernel32
mov qword [rbp - 0x18], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InitializeProcThreadAttributeList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800045d6
xor r8d, r8d
lea r9, [rbp + 0x148]
mov rcx, rdi
lea edx, [r8 + 2]
call rax
call fcn.180004090
mov edi, eax
test eax, eax
je 0x18000466b
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.OpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000466b
mov r8d, edi
mov edx, 1
mov ecx, 0x482
call rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18000466b
mov rdi, qword [rbp - 0x18]
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.UpdateProcThreadAttribute
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000466b
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov r8d, 0x20000
mov qword [rsp + 0x20], 8
mov rcx, rdi
call rax
lea rcx, str.ntdll
mov dword [rbp - 0x10], 0x11c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000469a
lea rcx, [rbp - 0x10]
call rax
cmp dword [rbp - 0xc], 0xa
jne 0x1800046fa
mov rdi, qword [rbp - 0x18]
lea rcx, str.kernel32
movabs rax, 0x20000000000
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.UpdateProcThreadAttribute
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800046fa
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov r8d, 0x20007
mov qword [rsp + 0x20], 8
mov rcx, rdi
call rax
mov rdi, qword [rsp + 0x238]
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateProcessW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180004770
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x40], rcx
mov rcx, r15
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x808000c
mov dword [rsp + 0x20], ebx
call rax
mov ebx, eax
test eax, eax
je 0x180004770
mov rcx, qword [rsp + 0x60]
mov qword [r14], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x210]
mov r14, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x230]
test rcx, rcx
je 0x180004798
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x218
pop rbx
pop rbp
ret