Function at 0x14007b018
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xd0
mov r14, r9
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x1401782b0]
lea r13, [0x1401782b0]
mov r15d, 1
cmp rcx, r13
je 0x14007b086
test byte [rcx + 0x1c], r15b
je 0x14007b086
cmp byte [rcx + 0x19], 4
jb 0x14007b086
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x2d]
lea r8, [0x1401546f0]
call fcn.140004c6c
mov rax, qword [rbp + 0x57]
and qword [rbp + 0x47], 0
xor r12d, r12d
and qword [rbp - 0x59], r12
and dword [rbp - 0x65], r12d
and qword [rbp - 0x49], 0
and qword [rbp - 0x51], 0
mov qword [rbp - 0x61], r12
mov byte [rbp - 0x69], r12b
test rbx, rbx
je 0x14007b791
test rax, rax
je 0x14007b791
test r14, r14
je 0x14007b791
cmp qword [rbp + 0x6f], r12
je 0x14007b791
cmp qword [rbp + 0x77], r12
je 0x14007b791
cmp qword [rbp + 0x8f], r12
je 0x14007b791
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [r14 + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x14007b14e
mov ebx, 0x80780095
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14007b142
test byte [rcx + 0x1c], r15b
je 0x14007b142
cmp byte [rcx + 0x19], 2
jb 0x14007b142
movzx r9d, word [rbp - 0x29]
lea edx, [r12 + 0x2f]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
movzx eax, ax
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.140079dfc
lea r14, [0x1401782b0]
jmp 0x14007b7db
mov edx, dword [r14 + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [r14 + 0xc0]
mov byte [rbp + 0x47], r12b
call fcn.140092e30
mov ebx, eax
test eax, eax
jns 0x14007b1a1
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14007b142
test byte [rcx + 0x1c], r15b
je 0x14007b142
cmp byte [rcx + 0x19], 2
jb 0x14007b142
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
call fcn.140004c90
jmp 0x14007b142
cmp byte [rbp + 0x47], r12b
jne 0x14007b1d8
mov ebx, 0x80780095
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14007b142
mov r14b, 8
test byte [rcx + 0x1c], r14b
je 0x14007b142
cmp byte [rcx + 0x19], 2
jb 0x14007b142
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x14007b18f
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.14008704c
test eax, eax
jns 0x14007b21f
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14007b21f
test byte [rcx + 0x1c], r15b
je 0x14007b21f
cmp byte [rcx + 0x19], 2
jb 0x14007b21f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x32
mov r9d, eax
call fcn.140004c90
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.14008704c
test eax, eax
jns 0x14007b269
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14007b270
test byte [rcx + 0x1c], r15b
je 0x14007b270
cmp byte [rcx + 0x19], 2
jb 0x14007b270
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x33
mov r9d, eax
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp dword [r14 + 0x18], r15d
je 0x14007b2a8
mov ebx, 0x80780026
cmp rcx, r13
je 0x14007b142
test byte [rcx + 0x1c], r15b
je 0x14007b142
cmp byte [rcx + 0x19], 2
jb 0x14007b142
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x14007b18f
mov r13d, dword [rbp + 0x9f]
mov r14b, 8
mov eax, r13d
shr eax, 2
and al, r15b
mov byte [rsi + 0x1d0], al
test r14b, r13b
je 0x14007b344
cmp al, r15b
jne 0x14007b309
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x14007b2ff
test byte [rcx + 0x1c], r15b
je 0x14007b2ff
cmp byte [rcx + 0x19], 2
jb 0x14007b2ff
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x35
call fcn.140004c6c
mov ebx, 0x80070057
jmp 0x14007b7db
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14007b33d
test byte [rcx + 0x1c], r15b
je 0x14007b33d
cmp byte [rcx + 0x19], 4
jb 0x14007b33d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x36
call fcn.140004c6c
mov byte [rsi + 0x1f8], r15b
mov r15d, dword [rbp + 0x67]
mov ecx, 0xffffffff
mov eax, r15d
shl rax, 2
cmp rax, rcx
jbe 0x14007b363
mov ebx, 0x80070216
jmp 0x14007b142
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp + 0x47], rax
test rax, rax
jne 0x14007b380
mov ebx, 0x8007000e
jmp 0x14007b142
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r8d, r8d
test r15d, r15d
je 0x14007b40d
mov rdx, qword [rbp + 0x77]
mov r9, qword [rbp + 0x47]
mov r10, qword [rbp + 0x97]
sub r9, rdx
test byte [rdx], 1
je 0x14007b3fb
mov ecx, r8d
shl rcx, 4
add rcx, qword [rbp + 0x8f]
mov rax, qword [rcx]
cmp rax, qword [0x140154f98]
jne 0x14007b48a
mov rax, qword [rcx + 8]
cmp rax, qword [0x140154fa0]
jne 0x14007b48a
mov al, byte [rsi + 0x1d0]
test al, al
jne 0x14007b3ee
test r10, r10
je 0x14007b48a
cmp al, 1
jne 0x14007b3fb
test r10, r10
jne 0x14007b48a
mov eax, dword [rdx]
inc r8d
mov dword [r9 + rdx], eax
add rdx, 4
cmp r8d, r15d
jb 0x14007b3a7
cmp byte [rsi + 0x1d0], r12b
je 0x14007b53c
mov rax, qword [rbp + 0x4f]
mov rax, qword [rax]
mov rbx, qword [rax + 0x60]
mov rcx, rbx
call qword [0x14014cce0]
mov rcx, qword [rbp + 0x4f]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x65]
call rbx
mov ebx, eax
test eax, eax
jns 0x14007b494
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14007b796
test byte [rcx + 0x1c], r14b
je 0x14007b796
cmp byte [rcx + 0x19], 2
jb 0x14007b796
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov r9d, ebx
call fcn.140004c90
jmp 0x14007b796
mov ebx, 0x80070057
jmp 0x14007b796
mov r8, qword [rbp - 0x59]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.14008a3e4
mov ebx, eax
test eax, eax
jns 0x14007b4e0
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14007b796
test byte [rcx + 0x1c], r14b
je 0x14007b796
cmp byte [rcx + 0x19], 2
jb 0x14007b796
mov edx, 0x38
jmp 0x14007b472
cmp byte [rbp - 0x69], r12b
je 0x14007b53c
mov ebx, 0x80780130
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14007b796
test byte [rcx + 0x1c], r14b
je 0x14007b796
cmp byte [rcx + 0x19], 2
jb 0x14007b796
mov r9, qword [rbp + 0x57]
lea r8, [0x1401546f0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
call fcn.140005ce8
jmp 0x14007b796
mov eax, dword [rbp + 0xb7]
mov cl, r13b
mov r9, qword [rbp + 0x5f]
and cl, 1
mov r8, qword [rbp + 0x57]
mov rdx, qword [rbp + 0x4f]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x47]
mov byte [rsp + 0x50], cl
mov rcx, rsi
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.1400572b0
mov ebx, eax
test eax, eax
jns 0x14007b5cb
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x14007b796
test byte [rcx + 0x1c], 1
je 0x14007b796
cmp byte [rcx + 0x19], 2
jb 0x14007b796
mov edx, 0x3a
jmp 0x14007b472
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
jbe 0x14007b5f4
mov ebx, 0x80070216
jmp 0x14007b796
mov ecx, eax
mov r15d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x1d8], rax
test rax, rax
jne 0x14007b615
mov ebx, 0x8007000e
jmp 0x14007b796
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x14007b649
mov rdx, qword [rbp + 0xaf]
xor ecx, ecx
mov rax, qword [rsi + 0x1d8]
movups xmm0, xmmword [rcx + rdx]
movdqu xmmword [rax + rcx], xmm0
lea rcx, [rcx + 0x10]
sub r14, 1
jne 0x14007b62f
mov r15, qword [rbp + 0x57]
lea rax, [rbp - 0x61]
mov r8, qword [rbp + 0x5f]
lea r14, [rsi + 0x18]
mov qword [rsp + 0x30], rax
mov r9, r14
lea rax, [rbp - 0x51]
shr r13d, 1
mov qword [rsp + 0x28], rax
and r13b, 1
lea rax, [rbp - 0x49]
mov byte [rsi + 0x1e0], r13b
mov dl, 1
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.140111350
mov ebx, eax
test eax, eax
jns 0x14007b6d5
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x14007b6cc
test byte [rcx + 0x1c], 1
je 0x14007b6cc
cmp byte [rcx + 0x19], 2
jb 0x14007b6cc
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x3b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005ce8
mov r12, qword [rbp - 0x61]
jmp 0x14007b79d
xor edx, edx
mov rcx, r14
call fcn.1400fc6dc
mov r12, qword [rbp - 0x61]
mov ebx, eax
test eax, eax
js 0x14007b796
movups xmm0, xmmword [rsi + 0xd0]
lea r8, [rsi + 0x1f0]
mov rcx, r12
lea rdx, [rbp - 0x39]
movdqu xmmword [rbp - 0x39], xmm0
call fcn.140110b90
mov ebx, eax
test eax, eax
jns 0x14007b74f
mov rcx, qword [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x14007b79d
test byte [rcx + 0x1c], 1
je 0x14007b79d
cmp byte [rcx + 0x19], 2
jb 0x14007b79d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x3c
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005ce8
jmp 0x14007b79d
mov rcx, r14
call fcn.1400fc870
lea rcx, str.DoNotInjectDrivers
call fcn.140092a20
test al, al
je 0x14007b76e
mov byte [rsi + 0x1e1], 0
lea rcx, str.UseASR
call fcn.140092a20
test al, al
je 0x14007b785
mov byte [rsi + 0x1e2], 1
mov dword [rsi + 0x184], 4
jmp 0x14007b796
mov ebx, 0x80004003
lea r14, [0x1401782b0]
mov rax, qword [rbp + 0x47]
test rax, rax
je 0x14007b7af
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14007b7be
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14007b7cd
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x14007b7db
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x59], 0
je 0x14007b7ef
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x59]
call fcn.14013ebec
lea rcx, [rsi + 0x18]
call fcn.1400fc870
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x14007b825
test byte [rcx + 0x1c], 1
je 0x14007b825
cmp byte [rcx + 0x19], 4
jb 0x14007b825
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401546f0]
mov edx, 0x3d
call fcn.140004c6c
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret