Function at 0x140079178
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 [0x1401720a0]
lea r13, [0x1401720a0]
mov r15d, 1
cmp rcx, r13
je 0x1400791e6
test byte [rcx + 0x1c], r15b
je 0x1400791e6
cmp byte [rcx + 0x19], 4
jb 0x1400791e6
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x2d]
lea r8, [0x14014e950]
call fcn.140004b74
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 - 0x51], 0
and qword [rbp - 0x49], 0
mov qword [rbp - 0x61], r12
mov byte [rbp - 0x69], r12b
test rbx, rbx
je 0x1400798e8
test rax, rax
je 0x1400798e8
test r14, r14
je 0x1400798e8
cmp qword [rbp + 0x6f], r12
je 0x1400798e8
cmp qword [rbp + 0x77], r12
je 0x1400798e8
cmp qword [rbp + 0x8f], r12
je 0x1400798e8
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [r14 + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x1400792ae
mov ebx, 0x80780095
mov rcx, qword [0x1401720a0]
cmp rcx, r13
je 0x1400792a2
test byte [rcx + 0x1c], r15b
je 0x1400792a2
cmp byte [rcx + 0x19], 2
jb 0x1400792a2
movzx r9d, word [rbp - 0x29]
lea edx, [r12 + 0x2f]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
movzx eax, ax
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.140077fd4
lea r14, [0x1401720a0]
jmp 0x140079932
mov edx, dword [r14 + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [r14 + 0xc0]
mov byte [rbp + 0x47], r12b
call fcn.140090c90
mov ebx, eax
test eax, eax
jns 0x140079301
mov rcx, qword [0x1401720a0]
cmp rcx, r13
je 0x1400792a2
test byte [rcx + 0x1c], r15b
je 0x1400792a2
cmp byte [rcx + 0x19], 2
jb 0x1400792a2
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
call fcn.140004b98
jmp 0x1400792a2
cmp byte [rbp + 0x47], r12b
jne 0x140079338
mov ebx, 0x80780095
mov rcx, qword [0x1401720a0]
cmp rcx, r13
je 0x1400792a2
mov r14b, 8
test byte [rcx + 0x1c], r14b
je 0x1400792a2
cmp byte [rcx + 0x19], 2
jb 0x1400792a2
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x1400792ef
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.140084ef8
test eax, eax
jns 0x14007937f
mov rcx, qword [0x1401720a0]
cmp rcx, r13
je 0x14007937f
test byte [rcx + 0x1c], r15b
je 0x14007937f
cmp byte [rcx + 0x19], 2
jb 0x14007937f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x32
mov r9d, eax
call fcn.140004b98
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.140084ef8
test eax, eax
jns 0x1400793c9
mov rcx, qword [0x1401720a0]
cmp rcx, r13
je 0x1400793d0
test byte [rcx + 0x1c], r15b
je 0x1400793d0
cmp byte [rcx + 0x19], 2
jb 0x1400793d0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x33
mov r9d, eax
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp dword [r14 + 0x18], r15d
je 0x140079408
mov ebx, 0x80780026
cmp rcx, r13
je 0x1400792a2
test byte [rcx + 0x1c], r15b
je 0x1400792a2
cmp byte [rcx + 0x19], 2
jb 0x1400792a2
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x1400792ef
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 0x1400794a4
cmp al, r15b
jne 0x140079469
mov rcx, qword [0x1401720a0]
lea r14, [0x1401720a0]
cmp rcx, r14
je 0x14007945f
test byte [rcx + 0x1c], r15b
je 0x14007945f
cmp byte [rcx + 0x19], 2
jb 0x14007945f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x35
call fcn.140004b74
mov ebx, 0x80070057
jmp 0x140079932
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x14007949d
test byte [rcx + 0x1c], r15b
je 0x14007949d
cmp byte [rcx + 0x19], 4
jb 0x14007949d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x36
call fcn.140004b74
mov byte [rsi + 0x1f8], r15b
mov r15d, dword [rbp + 0x67]
mov ecx, 0xffffffff
mov eax, r15d
shl rax, 2
cmp rax, rcx
jbe 0x1400794c3
mov ebx, 0x80070216
jmp 0x1400792a2
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp + 0x47], rax
test rax, rax
jne 0x1400794e0
mov ebx, 0x8007000e
jmp 0x1400792a2
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r8d, r8d
test r15d, r15d
je 0x14007956d
mov rdx, qword [rbp + 0x77]
mov r9, qword [rbp + 0x47]
mov r10, qword [rbp + 0x97]
sub r9, rdx
test byte [rdx], 1
je 0x14007955b
mov ecx, r8d
shl rcx, 4
add rcx, qword [rbp + 0x8f]
mov rax, qword [rcx]
cmp rax, qword [0x140154f60]
jne 0x1400795e1
mov rax, qword [rcx + 8]
cmp rax, qword [0x140154f68]
jne 0x1400795e1
mov al, byte [rsi + 0x1d0]
test al, al
jne 0x14007954e
test r10, r10
je 0x1400795e1
cmp al, 1
jne 0x14007955b
test r10, r10
jne 0x1400795e1
mov eax, dword [rdx]
inc r8d
mov dword [r9 + rdx], eax
add rdx, 4
cmp r8d, r15d
jb 0x140079507
cmp byte [rsi + 0x1d0], r12b
je 0x140079693
mov rcx, qword [rbp + 0x4f]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x65]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1400059ff.0]
mov ebx, eax
test eax, eax
jns 0x1400795eb
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400798ed
test byte [rcx + 0x1c], r14b
je 0x1400798ed
cmp byte [rcx + 0x19], 2
jb 0x1400798ed
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov r9d, ebx
call fcn.140004b98
jmp 0x1400798ed
mov ebx, 0x80070057
jmp 0x1400798ed
mov r8, qword [rbp - 0x59]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.140088274
mov ebx, eax
test eax, eax
jns 0x140079637
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400798ed
test byte [rcx + 0x1c], r14b
je 0x1400798ed
cmp byte [rcx + 0x19], 2
jb 0x1400798ed
mov edx, 0x38
jmp 0x1400795c9
cmp byte [rbp - 0x69], r12b
je 0x140079693
mov ebx, 0x80780130
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400798ed
test byte [rcx + 0x1c], r14b
je 0x1400798ed
cmp byte [rcx + 0x19], 2
jb 0x1400798ed
mov r9, qword [rbp + 0x57]
lea r8, [0x14014e950]
mov rcx, qword [rcx + 0x10]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
call fcn.140005b60
jmp 0x1400798ed
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.140055fa0
mov ebx, eax
test eax, eax
jns 0x140079722
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400798ed
test byte [rcx + 0x1c], 1
je 0x1400798ed
cmp byte [rcx + 0x19], 2
jb 0x1400798ed
mov edx, 0x3a
jmp 0x1400795c9
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 0x14007974b
mov ebx, 0x80070216
jmp 0x1400798ed
mov ecx, eax
mov r15d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x1d8], rax
test rax, rax
jne 0x14007976c
mov ebx, 0x8007000e
jmp 0x1400798ed
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x1400797a0
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 0x140079786
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 - 0x49]
shr r13d, 1
mov qword [rsp + 0x28], rax
and r13b, 1
lea rax, [rbp - 0x51]
mov byte [rsi + 0x1e0], r13b
mov dl, 1
mov qword [rsp + 0x20], rax
mov rcx, r15
call fcn.14010ca3c
mov ebx, eax
test eax, eax
jns 0x14007982c
mov rcx, qword [0x1401720a0]
lea r14, [0x1401720a0]
cmp rcx, r14
je 0x140079823
test byte [rcx + 0x1c], 1
je 0x140079823
cmp byte [rcx + 0x19], 2
jb 0x140079823
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x3b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005b60
mov r12, qword [rbp - 0x61]
jmp 0x1400798f4
xor edx, edx
mov rcx, r14
call fcn.1400f83ec
mov r12, qword [rbp - 0x61]
mov ebx, eax
test eax, eax
js 0x1400798ed
movups xmm0, xmmword [rsi + 0xd0]
lea r8, [rsi + 0x1f0]
mov rcx, r12
lea rdx, [rbp - 0x39]
movdqu xmmword [rbp - 0x39], xmm0
call fcn.14010c29c
mov ebx, eax
test eax, eax
jns 0x1400798a6
mov rcx, qword [0x1401720a0]
lea r14, [0x1401720a0]
cmp rcx, r14
je 0x1400798f4
test byte [rcx + 0x1c], 1
je 0x1400798f4
cmp byte [rcx + 0x19], 2
jb 0x1400798f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x3c
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005b60
jmp 0x1400798f4
mov rcx, r14
call fcn.1400f8580
lea rcx, str.DoNotInjectDrivers
call fcn.140090880
test al, al
je 0x1400798c5
mov byte [rsi + 0x1e1], 0
lea rcx, str.UseASR
call fcn.140090880
test al, al
je 0x1400798dc
mov byte [rsi + 0x1e2], 1
mov dword [rsi + 0x184], 4
jmp 0x1400798ed
mov ebx, 0x80004003
lea r14, [0x1401720a0]
mov rax, qword [rbp + 0x47]
test rax, rax
je 0x140079906
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140079915
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140079924
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x140079932
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x59], 0
je 0x140079946
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x59]
call fcn.14013963c
lea rcx, [rsi + 0x18]
call fcn.1400f8580
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x14007997c
test byte [rcx + 0x1c], 1
je 0x14007997c
cmp byte [rcx + 0x19], 4
jb 0x14007997c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e950]
mov edx, 0x3d
call fcn.140004b74
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret