Function at 0x140085464
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 r12, r9
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
lea r14, [0x140155930]
cmp rcx, r13
je 0x1400854d0
test byte [rcx + 0x1c], 1
je 0x1400854d0
cmp byte [rcx + 0x19], 4
jb 0x1400854d0
mov rcx, qword [rcx + 0x10]
mov edx, 0x2e
mov r8, r14
call fcn.14000c328
mov rax, qword [rbp + 0x57]
xor r15d, r15d
and qword [rbp - 0x59], r15
and qword [rbp - 0x51], r15
and qword [rbp - 0x61], r15
and qword [rbp - 0x49], r15
and dword [rbp - 0x65], r15d
mov qword [rbp - 0x39], r15
mov byte [rbp - 0x69], r15b
test rbx, rbx
je 0x140085b8b
test rax, rax
je 0x140085b8b
test r12, r12
je 0x140085b8b
cmp qword [rbp + 0x6f], r15
je 0x140085b8b
cmp qword [rbp + 0x77], r15
je 0x140085b8b
cmp qword [rbp + 0x8f], r15
je 0x140085b8b
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop dword [rax + rax]
movzx eax, word [r12 + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x140085599
mov ebx, 0x80780095
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140085ba4
test byte [rcx + 0x1c], 1
je 0x140085ba4
cmp byte [rcx + 0x19], 2
jb 0x140085ba4
movzx r9d, word [rbp - 0x29]
lea edx, [r15 + 0x2f]
mov rcx, qword [rcx + 0x10]
mov r8, r14
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.140087cd4
jmp 0x140085ba4
mov edx, dword [r12 + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [r12 + 0xc0]
mov byte [rbp + 0x47], r15b
call fcn.14009d620
mov ebx, eax
test eax, eax
jns 0x1400855f9
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140085ba4
test byte [rcx + 0x1c], 1
je 0x140085ba4
cmp byte [rcx + 0x19], 2
jb 0x140085ba4
mov edx, 0x30
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
jmp 0x140085ba4
cmp byte [rbp + 0x47], r15b
jne 0x14008563f
mov ebx, 0x80780095
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140085ba4
mov r14b, 8
test byte [rcx + 0x1c], r14b
je 0x140085ba4
cmp byte [rcx + 0x19], 2
jb 0x140085ba4
mov edx, 0x31
lea r8, [0x140155930]
mov r9d, 0x80780095
jmp 0x1400855eb
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.140091bf0
test eax, eax
jns 0x140085682
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140085682
test byte [rcx + 0x1c], 1
je 0x140085682
cmp byte [rcx + 0x19], 2
jb 0x140085682
mov rcx, qword [rcx + 0x10]
mov edx, 0x32
mov r9d, eax
mov r8, r14
call fcn.14000c354
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.140091bf0
test eax, eax
jns 0x1400856c8
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x1400856cf
test byte [rcx + 0x1c], 1
je 0x1400856cf
cmp byte [rcx + 0x19], 2
jb 0x1400856cf
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov r9d, eax
mov r8, r14
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp dword [r12 + 0x18], 1
je 0x140085709
mov ebx, 0x80780026
cmp rcx, r13
je 0x140085ba4
test byte [rcx + 0x1c], 1
je 0x140085ba4
cmp byte [rcx + 0x19], 2
jb 0x140085ba4
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x1400855e8
mov r13d, dword [rbp + 0x9f]
mov r14b, 8
mov ecx, r13d
and ecx, 4
setne al
mov byte [rsi + 0x1d0], al
test r14b, r13b
je 0x1400857a4
test ecx, ecx
je 0x140085769
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x14008575f
test byte [rcx + 0x1c], 1
je 0x14008575f
cmp byte [rcx + 0x19], 2
jb 0x14008575f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155930]
mov edx, 0x35
call fcn.14000c328
mov ebx, 0x80070057
jmp 0x140085ba4
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14008579d
test byte [rcx + 0x1c], 1
je 0x14008579d
cmp byte [rcx + 0x19], 4
jb 0x14008579d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155930]
mov edx, 0x36
call fcn.14000c328
mov byte [rsi + 0x1f8], 1
mov edx, dword [rbp + 0x67]
lea rcx, [rbp - 0x39]
mov r8d, 4
call fcn.14000d5bc
mov r15, qword [rbp - 0x39]
mov ebx, eax
test eax, eax
js 0x140085b82
mov r10, qword [rbp + 0x77]
xor edx, edx
mov r11, qword [rbp + 0x8f]
cmp edx, dword [rbp + 0x67]
jae 0x14008583c
lea r8, [rdx*4]
mov eax, edx
mov r9d, dword [r8 + r10]
test r9b, 1
je 0x14008582a
add rax, rax
mov rcx, qword [r11 + rax*8]
sub rcx, qword [0x14014fdf0]
jne 0x140085806
mov rcx, qword [r11 + rax*8 + 8]
sub rcx, qword [0x14014fdf8]
test rcx, rcx
jne 0x140085832
mov al, byte [rsi + 0x1d0]
mov rcx, qword [rbp + 0x97]
test al, al
jne 0x140085821
test rcx, rcx
je 0x140085832
cmp al, 1
jne 0x14008582a
test rcx, rcx
jne 0x140085832
mov dword [r8 + r15], r9d
inc edx
jmp 0x1400857d1
mov ebx, 0x80070057
jmp 0x140085b82
cmp byte [rsi + 0x1d0], 0
je 0x140085962
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 0x1400858ba
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], r14b
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155930]
mov r9d, eax
call fcn.14000c354
jmp 0x140085b90
mov r8, qword [rbp - 0x49]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.140094aa8
mov ebx, eax
test eax, eax
jns 0x140085906
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], r14b
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov edx, 0x38
jmp 0x1400858a2
cmp byte [rbp - 0x69], 0
je 0x140085962
mov ebx, 0x80780130
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], r14b
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov r9, qword [rbp + 0x57]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155930]
call fcn.1400151b8
jmp 0x140085b90
mov eax, dword [rbp + 0xb7]
mov cl, r13b
mov r8, qword [rbp + 0x57]
and cl, 1
mov rdx, qword [rbp + 0x4f]
mov r9, r12
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 + 0x8f]
mov qword [rsp + 0x40], r15
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 eax, dword [rbp + 0x67]
mov dword [rsp + 0x20], eax
call fcn.14005d320
mov ebx, eax
test eax, eax
jns 0x1400859fa
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], 1
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov edx, 0x3a
jmp 0x1400858a2
mov r14d, dword [rbp + 0xa7]
lea r12, [rsi + 0x1d8]
mov edx, r14d
mov dword [rsi + 0x1d4], r14d
mov rcx, r12
mov r8d, 0x10
call fcn.14000d5bc
mov ebx, eax
test eax, eax
js 0x140085b82
test r14d, r14d
je 0x140085a53
mov r8, qword [rbp + 0xaf]
xor ecx, ecx
mov edx, r14d
mov rax, qword [r12]
movups xmm0, xmmword [rcx + r8]
movdqu xmmword [rax + rcx], xmm0
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x140085a3b
mov r12, 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 - 0x59]
mov byte [rsi + 0x1e0], r13b
mov dl, 1
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.140116244
mov ebx, eax
test eax, eax
jns 0x140085ad7
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], 1
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov edx, 0x3b
mov dword [rsp + 0x20], eax
mov r9, r12
jmp 0x14008594d
xor edx, edx
mov rcx, r14
call fcn.1400ffdd4
mov ebx, eax
test eax, eax
js 0x140085b82
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.140118420
mov ebx, eax
test eax, eax
jns 0x140085b42
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140085b90
test byte [rcx + 0x1c], 1
je 0x140085b90
cmp byte [rcx + 0x19], 2
jb 0x140085b90
mov r9, qword [rbp - 0x61]
mov edx, 0x3c
mov dword [rsp + 0x20], eax
jmp 0x14008594d
mov rcx, r14
call fcn.1401005a4
lea rcx, str.DoNotInjectDrivers
call fcn.14009c088
test al, al
je 0x140085b61
mov byte [rsi + 0x1e1], 0
lea rcx, str.UseASR
call fcn.14009c088
test al, al
je 0x140085b78
mov byte [rsi + 0x1e2], 1
mov dword [rsi + 0x184], 4
lea r13, [0x140173048]
jmp 0x140085b90
mov ebx, 0x80004003
test r15, r15
je 0x140085ba4
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x140085bbe
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 0x140085bd8
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 0x140085bf2
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.140141ed4
lea rcx, [rsi + 0x18]
call fcn.1401005a4
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140085c35
test byte [rcx + 0x1c], 1
je 0x140085c35
cmp byte [rcx + 0x19], 4
jb 0x140085c35
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155930]
mov edx, 0x3d
call fcn.14000c328
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret