Function at 0x140018de0
Capabilities:
Acquire debug privileges
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14008f030]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov ecx, 0x108
call fcn.140048af4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
mov qword [rsp + 0x38], rsi
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], 7
mov word [rsi + 0x20], r14w
lea rax, [rsi + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
lea rcx, [rax + 0x18]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
xor r8d, r8d
lea rdx, [0x14007e9b8]
call fcn.140002b90
nop
mov qword [rsi + 0x90], r14
lea rax, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x140018ebe
mov rax, qword [rsi + 0x20]
mov qword [rsi + 0x30], r14
mov word [rax], r14w
lea rdx, [rsi + 0x20]
mov rcx, rsi
call fcn.140013cb0
mov dword [rsi + 0x40], r14d
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r14
mov qword [rsi + 0x90], r14
lea rbp, [rdi + 0xa8]
mov qword [rsp + 0x38], rbp
mov qword [rbp], r14
lea rcx, [rbp + 8]
mov edx, 0x102
call fcn.1400299f0
nop
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov ecx, 0x90
call fcn.140048af4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rbp + 0x70], r14
mov qword [rdi + 0x188], r14
mov dword [rdi + 0x144], 0x4cbebc20
mov dword [rdi + 0x134], 0x4cbebc20
mov dword [rdi + 0x130], 0x4cbebc20
mov dword [rdi + 0x12c], 0x4cbebc20
mov dword [rdi + 0x128], 0x4cbebc20
mov dword [rdi + 0x124], 0x4cbebc20
mov dword [rdi + 0x120], 0x4cbebc20
mov dword [rdi + 0x140], 0x4cbebc20
mov dword [rdi + 0x13c], 0x4cbebc20
mov dword [rdi + 0x138], 0x4cbebc20
mov qword [rdi + 0x160], r14
mov qword [rdi + 0x158], r14
mov qword [rdi + 0x150], r14
mov qword [rdi + 0x148], r14
mov qword [rdi + 0x180], r14
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x170], r14
mov qword [rdi + 0x168], r14
mov dword [rdi + 0x190], 0x60
mov dword [rdi + 0x194], 0x61
mov dword [rdi + 0x198], 0x62
mov dword [rdi + 0x19c], 0x63
mov dword [rdi + 0x1a0], 0x64
mov dword [rdi + 0x1a4], 0x65
mov dword [rdi + 0x1a8], 0x66
mov dword [rdi + 0x1ac], 0x67
mov dword [rdi + 0x1b0], 0x68
mov dword [rdi + 0x1b4], 0x69
mov dword [rdi + 0x1b8], 0x6e
mov dword [rdi + 0x1bc], 0x6b
mov dword [rdi + 0x1c0], 0x6d
lea rcx, [rdi + 0x1c8]
call fcn.1400212c0
nop
mov dword [rdi + 0x270], 0xffffffff
lea r12, [rdi + 0x278]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 7
mov word [r12], r14w
lea r15, [rdi + 0x298]
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
movups xmmword [rdi + 0x2b8], xmm0
mov qword [rdi + 0x2c8], r14
mov qword [rdi + 0x2d0], 7
mov word [rdi + 0x2b8], r14w
lea r14, [rdi + 0x2d8]
movups xmmword [r14], xmm0
lea r13, [r14 + 0x10]
xor eax, eax
mov qword [r13], rax
mov qword [r14 + 0x18], 7
mov word [r14], ax
cmp qword [r12 + 0x18], 0xb
jb 0x140019127
mov rbx, qword [r12]
mov qword [r12 + 0x10], 0xb
lea r8d, [rax + 0x16]
lea rdx, str.FarCry5.exe
mov rcx, rbx
call fcn.14004a9e0
xor eax, eax
mov word [rbx + 0x16], ax
jmp 0x14001913b
lea r9, str.FarCry5.exe
mov edx, 0xb
mov rcx, r12
call fcn.1400016e0
cmp qword [r15 + 0x18], 0xa
jb 0x14001916a
mov rbx, qword [r15]
mov qword [r15 + 0x10], 0xa
mov r8d, 0x14
lea rdx, [0x140082990]
mov rcx, rbx
call fcn.14004a9e0
xor eax, eax
mov word [rbx + 0x14], ax
jmp 0x14001917e
lea r9, [0x140082990]
mov edx, 0xa
mov rcx, r15
call fcn.1400016e0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x28]
call qword [0x140092d28]
test eax, eax
je 0x140019206
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x140092d30]
test eax, eax
je 0x1400191fb
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x10]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [0x140092d38]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [r14 + 0x18]
cmp rax, 7
jb 0x14001923d
cmp rax, 8
jb 0x140019219
mov r14, qword [r14]
mov qword [r13], 7
mov r8d, 0xe
lea rdx, str.NOT_SET
mov rcx, r14
call fcn.14004a9e0
mov word [r14 + 0xe], bx
jmp 0x140019251
lea r9, str.NOT_SET
mov edx, 7
mov rcx, r14
call fcn.1400016e0
mov r8, r15
mov rdx, r12
mov rcx, rsi
call fcn.14001fe60
mov qword [rbp + 0x70], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rcx, [rsp + 0x48]
cmp dword [rsp + 0x30], ebx
je 0x1400192a0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x1400192a6
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [rbp], 0x1000
mov qword [rdi + 0x188], rbp
mov qword [rdi + 0x1d0], rbp
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140048aa0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret