Function at 0x140077420
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 rsi, r9
mov rax, r8
mov rbx, rdx
mov r14, rcx
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077489
test byte [rcx + 0x1c], 1
je 0x140077489
cmp byte [rcx + 0x19], 4
jb 0x140077489
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x2e
call fcn.1400049d8
mov rax, qword [rbp + 0x57]
xor r13d, r13d
xor r15d, r15d
and qword [rbp - 0x39], r13
and qword [rbp - 0x31], r13
and qword [rbp - 0x59], r13
and dword [rbp - 0x65], r13d
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x61], r15
mov byte [rbp - 0x69], r13b
test rbx, rbx
je 0x140077b56
test rax, rax
je 0x140077b56
test rsi, rsi
je 0x140077b56
cmp qword [rbp + 0x6f], r13
je 0x140077b56
cmp qword [rbp + 0x77], r13
je 0x140077b56
cmp qword [rbp + 0x8f], r13
je 0x140077b56
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsi + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x140077554
mov ebx, 0x80780095
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140077b95
test byte [rcx + 0x1c], 1
je 0x140077b95
cmp byte [rcx + 0x19], 2
jb 0x140077b95
movzx r9d, word [rbp - 0x29]
lea edx, [r13 + 0x2f]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
movzx eax, ax
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.1400762b4
jmp 0x140077b95
mov edx, dword [rsi + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [rsi + 0xc0]
mov byte [rbp + 0x47], r13b
call fcn.14008e91c
mov ebx, eax
test eax, eax
jns 0x1400775b4
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140077b95
test byte [rcx + 0x1c], 1
je 0x140077b95
cmp byte [rcx + 0x19], 2
jb 0x140077b95
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
call fcn.1400049f8
jmp 0x140077b95
cmp byte [rbp + 0x47], r13b
jne 0x1400775f3
mov ebx, 0x80780095
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140077b95
mov sil, 8
test byte [rcx + 0x1c], sil
je 0x140077b95
cmp byte [rcx + 0x19], 2
jb 0x140077b95
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x14007759f
mov rcx, qword [rbp + 0x7f]
lea rdx, [r14 + 0x200]
xor r8d, r8d
call fcn.140082e28
test eax, eax
jns 0x14007763a
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14007763a
test byte [rcx + 0x1c], 1
je 0x14007763a
cmp byte [rcx + 0x19], 2
jb 0x14007763a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x32
mov r9d, eax
call fcn.1400049f8
mov rcx, qword [rbp + 0x87]
lea rdx, [r14 + 0x208]
xor r8d, r8d
call fcn.140082e28
test eax, eax
jns 0x140077684
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14007768b
test byte [rcx + 0x1c], 1
je 0x14007768b
cmp byte [rcx + 0x19], 2
jb 0x14007768b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x33
mov r9d, eax
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp dword [rsi + 0x18], 1
je 0x1400776c3
mov ebx, 0x80780026
cmp rcx, r12
je 0x140077b95
test byte [rcx + 0x1c], 1
je 0x140077b95
cmp byte [rcx + 0x19], 2
jb 0x140077b95
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x14007759f
mov r12d, dword [rbp + 0x9f]
mov sil, 8
mov eax, r12d
shr eax, 2
and al, 1
mov byte [r14 + 0x1d0], al
test sil, r12b
je 0x14007775f
test al, al
je 0x140077723
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077719
test byte [rcx + 0x1c], 1
je 0x140077719
cmp byte [rcx + 0x19], 2
jb 0x140077719
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x35
call fcn.1400049d8
mov ebx, 0x80070057
jmp 0x140077b95
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x140077757
test byte [rcx + 0x1c], 1
je 0x140077757
cmp byte [rcx + 0x19], 4
jb 0x140077757
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x36
call fcn.1400049d8
mov byte [r14 + 0x1f8], 1
mov edx, dword [rbp + 0x67]
lea rcx, [rbp - 0x49]
mov r8d, 4
call fcn.14000f99c
mov r13, qword [rbp - 0x49]
mov ebx, eax
test eax, eax
js 0x140077b4d
mov r10d, dword [rbp + 0x67]
xor r8d, r8d
test r10d, r10d
je 0x140077803
mov rdx, qword [rbp + 0x77]
mov r9, r13
mov r11, qword [rbp + 0x97]
sub r9, rdx
test byte [rdx], 1
je 0x1400777f1
mov ecx, r8d
shl rcx, 4
add rcx, qword [rbp + 0x8f]
mov rax, qword [rcx]
cmp rax, qword [0x140151210]
jne 0x140077877
mov rax, qword [rcx + 8]
cmp rax, qword [0x140151218]
jne 0x140077877
mov al, byte [r14 + 0x1d0]
test al, al
jne 0x1400777e4
test r11, r11
je 0x140077877
cmp al, 1
jne 0x1400777f1
test r11, r11
jne 0x140077877
mov eax, dword [rdx]
inc r8d
mov dword [r9 + rdx], eax
add rdx, 4
cmp r8d, r10d
jb 0x14007779c
cmp byte [r14 + 0x1d0], r15b
je 0x14007792d
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.0x1400057f3.0]
mov ebx, eax
test eax, eax
jns 0x140077881
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077b5b
test byte [rcx + 0x1c], sil
je 0x140077b5b
cmp byte [rcx + 0x19], 2
jb 0x140077b5b
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov r9d, eax
call fcn.1400049f8
jmp 0x140077b5b
mov ebx, 0x80070057
jmp 0x140077b4d
mov r8, qword [rbp - 0x59]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.1400860b0
mov ebx, eax
test eax, eax
jns 0x1400778cd
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077b5b
test byte [rcx + 0x1c], sil
je 0x140077b5b
cmp byte [rcx + 0x19], 2
jb 0x140077b5b
mov edx, 0x38
jmp 0x14007785f
cmp byte [rbp - 0x69], r15b
je 0x140077929
mov ebx, 0x80780130
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077b5b
test byte [rcx + 0x1c], sil
je 0x140077b5b
cmp byte [rcx + 0x19], 2
jb 0x140077b5b
mov r9, qword [rbp + 0x57]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
call fcn.140005938
jmp 0x140077b5b
mov r10d, dword [rbp + 0x67]
mov eax, dword [rbp + 0xb7]
mov cl, r12b
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 + 0x8f]
mov byte [rsp + 0x50], cl
mov rcx, r14
mov qword [rsp + 0x40], r13
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], r10d
call fcn.140054bf0
mov ebx, eax
test eax, eax
jns 0x1400779b8
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077b5b
test byte [rcx + 0x1c], 1
je 0x140077b5b
cmp byte [rcx + 0x19], 2
jb 0x140077b5b
mov edx, 0x3a
jmp 0x14007785f
mov esi, dword [rbp + 0xa7]
lea r12, [r14 + 0x1d8]
mov edx, esi
mov dword [r14 + 0x1d4], esi
mov rcx, r12
mov r8d, 0x10
call fcn.14000f99c
mov ebx, eax
test eax, eax
js 0x140077b4d
test esi, esi
je 0x140077a0d
mov r8, qword [rbp + 0xaf]
xor ecx, ecx
mov edx, esi
mov rax, qword [r12]
movups xmm0, xmmword [rcx + r8]
movdqu xmmword [rcx + rax], xmm0
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x1400779f5
mov eax, dword [rbp + 0x9f]
lea rsi, [r14 + 0x18]
mov r15, qword [rbp + 0x57]
mov r9, rsi
mov r8, qword [rbp + 0x5f]
mov dl, 1
shr eax, 1
mov rcx, r15
and al, 1
mov byte [r14 + 0x1e0], al
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
call fcn.140109028
mov ebx, eax
test eax, eax
jns 0x140077a9c
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077a93
test byte [rcx + 0x1c], 1
je 0x140077a93
cmp byte [rcx + 0x19], 2
jb 0x140077a93
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x3b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005938
mov r15, qword [rbp - 0x61]
jmp 0x140077b5b
xor edx, edx
mov rcx, rsi
call fcn.1400f4d68
mov r15, qword [rbp - 0x61]
mov ebx, eax
test eax, eax
js 0x140077b4d
movups xmm0, xmmword [r14 + 0xd0]
lea r8, [r14 + 0x1f0]
mov rcx, r15
lea rdx, [rbp - 0x49]
movdqu xmmword [rbp - 0x49], xmm0
call fcn.1401088a4
mov ebx, eax
test eax, eax
jns 0x140077b0a
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x140077b5b
test byte [rcx + 0x1c], 1
je 0x140077b5b
cmp byte [rcx + 0x19], 2
jb 0x140077b5b
mov edx, 0x3c
mov dword [rsp + 0x20], eax
mov r9, r15
jmp 0x140077914
mov rcx, rsi
call fcn.1400f4ef4
lea rcx, str.DoNotInjectDrivers
call fcn.14008e538
test al, al
je 0x140077b2a
mov byte [r14 + 0x1e1], 0
lea rcx, str.UseASR
call fcn.14008e538
test al, al
je 0x140077b42
mov byte [r14 + 0x1e2], 1
mov dword [r14 + 0x184], 4
lea r12, [0x14016f048]
jmp 0x140077b5b
mov ebx, 0x80004003
test r13, r13
je 0x140077b69
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140077b78
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140077b87
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r15, r15
je 0x140077b95
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x59], 0
je 0x140077ba9
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x59]
call fcn.140135848
lea rcx, [r14 + 0x18]
call fcn.1400f4ef4
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140077bdf
test byte [rcx + 0x1c], 1
je 0x140077bdf
cmp byte [rcx + 0x19], 4
jb 0x140077bdf
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014ac30]
mov edx, 0x3d
call fcn.1400049d8
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret