Function at 0x14007f12c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd0
mov r13, r9
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f191
test byte [rcx + 0x1c], 1
je 0x14007f191
cmp byte [rcx + 0x19], 4
jb 0x14007f191
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x2e
call fcn.140006b98
mov rax, qword [rbp + 0x57]
and qword [rbp - 0x59], 0
and qword [rbp - 0x51], 0
and qword [rbp - 0x61], 0
and qword [rbp - 0x49], 0
and dword [rbp - 0x65], 0
mov byte [rbp - 0x69], 0
test rbx, rbx
je 0x14007f8df
test rax, rax
je 0x14007f8df
test r13, r13
je 0x14007f8df
cmp qword [rbp + 0x6f], 0
je 0x14007f8df
cmp qword [rbp + 0x77], 0
je 0x14007f8df
cmp qword [rbp + 0x8f], 0
je 0x14007f8df
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
movzx eax, word [r13 + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x14007f25e
mov ebx, 0x80780095
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f8e4
test byte [rcx + 0x1c], 1
je 0x14007f8e4
cmp byte [rcx + 0x19], 2
jb 0x14007f8e4
movzx r9d, word [rbp - 0x29]
lea r8, [0x14015d040]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2f
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.140081b68
jmp 0x14007f8e4
mov edx, dword [r13 + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [r13 + 0xc0]
mov byte [rbp + 0x47], 0
call fcn.140097e50
mov ebx, eax
test eax, eax
jns 0x14007f2c0
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f8e4
test byte [rcx + 0x1c], 1
je 0x14007f8e4
cmp byte [rcx + 0x19], 2
jb 0x14007f8e4
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
call fcn.140006bc4
jmp 0x14007f8e4
cmp byte [rbp + 0x47], 0
jne 0x14007f2ff
mov ebx, 0x80780095
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f8e4
mov r14b, 8
test byte [rcx + 0x1c], r14b
je 0x14007f8e4
cmp byte [rcx + 0x19], 2
jb 0x14007f8e4
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x14007f2ab
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.14008c1cc
test eax, eax
jns 0x14007f346
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f346
test byte [rcx + 0x1c], 1
je 0x14007f346
cmp byte [rcx + 0x19], 2
jb 0x14007f346
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x32
mov r9d, eax
call fcn.140006bc4
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.14008c1cc
test eax, eax
jns 0x14007f390
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f397
test byte [rcx + 0x1c], 1
je 0x14007f397
cmp byte [rcx + 0x19], 2
jb 0x14007f397
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x33
mov r9d, eax
call fcn.140006bc4
mov rcx, qword [0x14017a048]
cmp dword [r13 + 0x18], 1
je 0x14007f3d0
mov ebx, 0x80780026
cmp rcx, r15
je 0x14007f8e4
test byte [rcx + 0x1c], 1
je 0x14007f8e4
cmp byte [rcx + 0x19], 2
jb 0x14007f8e4
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x14007f2ab
mov r12d, dword [rbp + 0x9f]
mov r14b, 8
mov ecx, r12d
and ecx, 4
setne al
mov byte [rsi + 0x1d0], al
test r14b, r12b
je 0x14007f45d
test ecx, ecx
je 0x14007f429
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f41f
test byte [rcx + 0x1c], 1
je 0x14007f41f
cmp byte [rcx + 0x19], 2
jb 0x14007f41f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x35
call fcn.140006b98
mov ebx, 0x80070057
jmp 0x14007f8e4
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f456
test byte [rcx + 0x1c], 1
je 0x14007f456
cmp byte [rcx + 0x19], 4
jb 0x14007f456
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x36
call fcn.140006b98
mov byte [rsi + 0x1f8], 1
mov r15d, dword [rbp + 0x67]
mov ecx, 0xffffffff
mov eax, r15d
shl rax, 2
cmp rax, rcx
ja 0x14007f8d5
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rbp + 0x47], rax
test rax, rax
jne 0x14007f4a0
mov ebx, 0x8007000e
lea r15, [0x14017a048]
jmp 0x14007f8e4
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r8d, r8d
test r15d, r15d
je 0x14007f52f
mov rdx, qword [rbp + 0x47]
mov r9, qword [rbp + 0x77]
sub r9, rdx
mov r10d, dword [r9 + rdx]
test r10b, 1
je 0x14007f520
mov ecx, r8d
shl rcx, 4
add rcx, qword [rbp + 0x8f]
mov rax, qword [rcx]
cmp rax, qword [0x14015f068]
jne 0x14007f5ad
mov rax, qword [rcx + 8]
cmp rax, qword [0x14015f070]
jne 0x14007f5ad
mov al, byte [rsi + 0x1d0]
mov rcx, qword [rbp + 0x97]
test al, al
jne 0x14007f513
test rcx, rcx
je 0x14007f5ad
cmp al, 1
jne 0x14007f520
test rcx, rcx
jne 0x14007f5ad
mov dword [rdx], r10d
inc r8d
add rdx, 4
cmp r8d, r15d
jb 0x14007f4c0
cmp byte [rsi + 0x1d0], 0
je 0x14007f65f
mov rcx, qword [rbp + 0x4f]
mov rax, qword [rcx]
movabs r10, 0xe0891f7d7c58eb70
mov rax, qword [rax + 0x60]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x65]
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x14007f5b7
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f8c3
test byte [rcx + 0x1c], r14b
je 0x14007f8c3
cmp byte [rcx + 0x19], 2
jb 0x14007f8c3
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov r9d, eax
call fcn.140006bc4
jmp 0x14007f8c3
mov ebx, 0x80070057
jmp 0x14007f8bc
mov r8, qword [rbp - 0x49]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.14008efd8
mov ebx, eax
test eax, eax
jns 0x14007f603
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f8c3
test byte [rcx + 0x1c], r14b
je 0x14007f8c3
cmp byte [rcx + 0x19], 2
jb 0x14007f8c3
mov edx, 0x38
jmp 0x14007f595
cmp byte [rbp - 0x69], 0
je 0x14007f65f
mov ebx, 0x80780130
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f8c3
test byte [rcx + 0x1c], r14b
je 0x14007f8c3
cmp byte [rcx + 0x19], 2
jb 0x14007f8c3
mov r9, qword [rbp + 0x57]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
call fcn.140011330
jmp 0x14007f8c3
mov eax, dword [rbp + 0xb7]
mov cl, r12b
mov r8, qword [rbp + 0x57]
and cl, 1
mov rdx, qword [rbp + 0x4f]
mov r9, r13
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x97]
mov byte [rsp + 0x50], cl
mov rcx, rsi
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x47]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x8f]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call fcn.14005b8a0
mov ebx, eax
test eax, eax
jns 0x14007f6f9
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f8c3
test byte [rcx + 0x1c], 1
je 0x14007f8c3
cmp byte [rcx + 0x19], 2
jb 0x14007f8c3
mov edx, 0x3a
jmp 0x14007f595
mov ebx, dword [rbp + 0xa7]
mov ecx, 0xffffffff
mov eax, ebx
mov dword [rsi + 0x1d4], ebx
shl rax, 4
mov r14d, ebx
cmp rax, rcx
ja 0x14007f8b7
mov ecx, eax
mov r15d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x1d8], rax
test rax, rax
jne 0x14007f743
mov ebx, 0x8007000e
jmp 0x14007f8bc
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x14007f777
mov rdx, qword [rbp + 0xaf]
xor ecx, ecx
mov rax, qword [rsi + 0x1d8]
movups xmm0, xmmword [rcx + rdx]
movdqu xmmword [rcx + rax], xmm0
lea rcx, [rcx + 0x10]
sub r14, 1
jne 0x14007f75d
mov r15, qword [rbp + 0x57]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], rax
lea r14, [rsi + 0x18]
lea rax, [rbp - 0x51]
shr r12d, 1
mov qword [rsp + 0x28], rax
and r12b, 1
lea rax, [rbp - 0x59]
mov byte [rsi + 0x1e0], r12b
mov r9, r14
mov qword [rsp + 0x20], rax
mov r8, r13
mov dl, 1
mov rcx, r15
call fcn.14011aa04
mov ebx, eax
test eax, eax
jns 0x14007f80a
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14007f8bc
test byte [rcx + 0x1c], 1
je 0x14007f8bc
cmp byte [rcx + 0x19], 2
jb 0x14007f8bc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x3b
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140011330
jmp 0x14007f8bc
xor edx, edx
mov rcx, r14
call fcn.1401029b4
mov ebx, eax
test eax, eax
js 0x14007f8bc
movups xmm0, xmmword [rsi + 0xd0]
mov rcx, qword [rbp - 0x61]
lea r8, [rsi + 0x1f0]
lea rdx, [rbp - 0x39]
movdqu xmmword [rbp - 0x39], xmm0
call fcn.14011cbe8
mov ebx, eax
test eax, eax
jns 0x14007f875
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14007f8c3
test byte [rcx + 0x1c], 1
je 0x14007f8c3
cmp byte [rcx + 0x19], 2
jb 0x14007f8c3
mov r9, qword [rbp - 0x61]
mov edx, 0x3c
mov dword [rsp + 0x20], eax
jmp 0x14007f64a
mov rcx, r14
call fcn.1401031a0
lea rcx, str.DoNotInjectDrivers
call fcn.14009687c
test al, al
je 0x14007f894
mov byte [rsi + 0x1e1], 0
lea rcx, str.UseASR
call fcn.14009687c
test al, al
je 0x14007f8ab
mov byte [rsi + 0x1e2], 1
mov dword [rsi + 0x184], 4
jmp 0x14007f8bc
mov ebx, 0x80070216
lea r15, [0x14017a048]
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14007f8e4
mov ebx, 0x80070216
jmp 0x14007f494
mov ebx, 0x80004003
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14007f8fe
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x59], 0
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14007f918
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x51], 0
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14007f932
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x61], 0
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x49]
call fcn.14014a438
lea rcx, [rsi + 0x18]
call fcn.1401031a0
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14007f975
test byte [rcx + 0x1c], 1
je 0x14007f975
cmp byte [rcx + 0x19], 4
jb 0x14007f975
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d040]
mov edx, 0x3d
call fcn.140006b98
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret