Function at 0x1400788d4
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 [0x140170048]
lea r13, [0x140170048]
mov r15d, 1
cmp rcx, r13
je 0x140078942
test byte [rcx + 0x1c], r15b
je 0x140078942
cmp byte [rcx + 0x19], 4
jb 0x140078942
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x2d]
lea r8, [0x14014dcb0]
call fcn.140004c54
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 0x140079050
test rax, rax
je 0x140079050
test r14, r14
je 0x140079050
cmp qword [rbp + 0x6f], r12
je 0x140079050
cmp qword [rbp + 0x77], r12
je 0x140079050
cmp qword [rbp + 0x8f], r12
je 0x140079050
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [r14 + 0xa0]
cmp ax, word [rbp - 0x29]
je 0x140078a0a
mov ebx, 0x80780095
mov rcx, qword [0x140170048]
cmp rcx, r13
je 0x1400789fe
test byte [rcx + 0x1c], r15b
je 0x1400789fe
cmp byte [rcx + 0x19], 2
jb 0x1400789fe
movzx r9d, word [rbp - 0x29]
lea edx, [r12 + 0x2f]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
movzx eax, ax
mov dword [rsp + 0x28], 0x80780095
mov dword [rsp + 0x20], eax
call fcn.140077734
lea r14, [0x140170048]
jmp 0x14007909a
mov edx, dword [r14 + 0xc4]
lea r8, [rbp + 0x47]
mov ecx, dword [r14 + 0xc0]
mov byte [rbp + 0x47], r12b
call fcn.14009018c
mov ebx, eax
test eax, eax
jns 0x140078a5d
mov rcx, qword [0x140170048]
cmp rcx, r13
je 0x1400789fe
test byte [rcx + 0x1c], r15b
je 0x1400789fe
cmp byte [rcx + 0x19], 2
jb 0x1400789fe
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
call fcn.140004c78
jmp 0x1400789fe
cmp byte [rbp + 0x47], r12b
jne 0x140078a94
mov ebx, 0x80780095
mov rcx, qword [0x140170048]
cmp rcx, r13
je 0x1400789fe
mov r14b, 8
test byte [rcx + 0x1c], r14b
je 0x1400789fe
cmp byte [rcx + 0x19], 2
jb 0x1400789fe
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x140078a4b
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.14008468c
test eax, eax
jns 0x140078adb
mov rcx, qword [0x140170048]
cmp rcx, r13
je 0x140078adb
test byte [rcx + 0x1c], r15b
je 0x140078adb
cmp byte [rcx + 0x19], 2
jb 0x140078adb
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x32
mov r9d, eax
call fcn.140004c78
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.14008468c
test eax, eax
jns 0x140078b25
mov rcx, qword [0x140170048]
cmp rcx, r13
je 0x140078b2c
test byte [rcx + 0x1c], r15b
je 0x140078b2c
cmp byte [rcx + 0x19], 2
jb 0x140078b2c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x33
mov r9d, eax
call fcn.140004c78
mov rcx, qword [0x140170048]
cmp dword [r14 + 0x18], r15d
je 0x140078b64
mov ebx, 0x80780026
cmp rcx, r13
je 0x1400789fe
test byte [rcx + 0x1c], r15b
je 0x1400789fe
cmp byte [rcx + 0x19], 2
jb 0x1400789fe
mov edx, 0x34
mov r9d, 0x80780026
jmp 0x140078a4b
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 0x140078bff
test al, al
je 0x140078bc4
mov rcx, qword [0x140170048]
lea r14, [0x140170048]
cmp rcx, r14
je 0x140078bba
test byte [rcx + 0x1c], r15b
je 0x140078bba
cmp byte [rcx + 0x19], 2
jb 0x140078bba
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x35
call fcn.140004c54
mov ebx, 0x80070057
jmp 0x14007909a
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140078bf8
test byte [rcx + 0x1c], r15b
je 0x140078bf8
cmp byte [rcx + 0x19], 4
jb 0x140078bf8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x36
call fcn.140004c54
mov byte [rsi + 0x1f8], r15b
mov r15d, dword [rbp + 0x67]
mov ecx, 0xffffffff
mov eax, r15d
shl rax, 2
cmp rax, rcx
ja 0x140079046
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp + 0x47], rax
test rax, rax
jne 0x140078c35
mov ebx, 0x8007000e
jmp 0x1400789fe
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r8d, r8d
test r15d, r15d
je 0x140078cc2
mov rdx, qword [rbp + 0x77]
mov r9, qword [rbp + 0x47]
mov r10, qword [rbp + 0x97]
sub r9, rdx
test byte [rdx], 1
je 0x140078cb0
mov ecx, r8d
shl rcx, 4
add rcx, qword [rbp + 0x8f]
mov rax, qword [rcx]
cmp rax, qword [0x14014fd28]
jne 0x140078d36
mov rax, qword [rcx + 8]
cmp rax, qword [0x14014fd30]
jne 0x140078d36
mov al, byte [rsi + 0x1d0]
test al, al
jne 0x140078ca3
test r10, r10
je 0x140078d36
cmp al, 1
jne 0x140078cb0
test r10, r10
jne 0x140078d36
mov eax, dword [rdx]
inc r8d
mov dword [r9 + rdx], eax
add rdx, 4
cmp r8d, r15d
jb 0x140078c5c
cmp byte [rsi + 0x1d0], r12b
je 0x140078de8
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.0x140005adb.0]
mov ebx, eax
test eax, eax
jns 0x140078d40
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140079055
test byte [rcx + 0x1c], r14b
je 0x140079055
cmp byte [rcx + 0x19], 2
jb 0x140079055
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov r9d, ebx
call fcn.140004c78
jmp 0x140079055
mov ebx, 0x80070057
jmp 0x140079055
mov r8, qword [rbp - 0x59]
lea r9, [rbp - 0x69]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
call fcn.140087a04
mov ebx, eax
test eax, eax
jns 0x140078d8c
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140079055
test byte [rcx + 0x1c], r14b
je 0x140079055
cmp byte [rcx + 0x19], 2
jb 0x140079055
mov edx, 0x38
jmp 0x140078d1e
cmp byte [rbp - 0x69], r12b
je 0x140078de8
mov ebx, 0x80780130
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140079055
test byte [rcx + 0x1c], r14b
je 0x140079055
cmp byte [rcx + 0x19], 2
jb 0x140079055
mov r9, qword [rbp + 0x57]
lea r8, [0x14014dcb0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x39
mov dword [rsp + 0x20], 0x80780130
call fcn.140005c44
jmp 0x140079055
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.140055ba0
mov ebx, eax
test eax, eax
jns 0x140078e77
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140079055
test byte [rcx + 0x1c], 1
je 0x140079055
cmp byte [rcx + 0x19], 2
jb 0x140079055
mov edx, 0x3a
jmp 0x140078d1e
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 0x14007903f
mov ecx, eax
mov r15d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x1d8], rax
test rax, rax
jne 0x140078ebb
mov ebx, 0x8007000e
jmp 0x140079055
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x140078eef
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 0x140078ed5
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.14010ab40
mov ebx, eax
test eax, eax
jns 0x140078f7b
mov rcx, qword [0x140170048]
lea r14, [0x140170048]
cmp rcx, r14
je 0x140078f72
test byte [rcx + 0x1c], 1
je 0x140078f72
cmp byte [rcx + 0x19], 2
jb 0x140078f72
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x3b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005c44
mov r12, qword [rbp - 0x61]
jmp 0x14007905c
xor edx, edx
mov rcx, r14
call fcn.1400f62b4
mov r12, qword [rbp - 0x61]
mov ebx, eax
test eax, eax
js 0x140079055
movups xmm0, xmmword [rsi + 0xd0]
lea r8, [rsi + 0x1f0]
mov rcx, r12
lea rdx, [rbp - 0x39]
movdqu xmmword [rbp - 0x39], xmm0
call fcn.14010a3a0
mov ebx, eax
test eax, eax
jns 0x140078ffd
mov rcx, qword [0x140170048]
lea r14, [0x140170048]
cmp rcx, r14
je 0x14007905c
test byte [rcx + 0x1c], 1
je 0x14007905c
cmp byte [rcx + 0x19], 2
jb 0x14007905c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x3c
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005c44
jmp 0x14007905c
mov rcx, r14
call fcn.1400f6448
lea rcx, str.DoNotInjectDrivers
call fcn.14008fd7c
test al, al
je 0x14007901c
mov byte [rsi + 0x1e1], 0
lea rcx, str.UseASR
call fcn.14008fd7c
test al, al
je 0x140079033
mov byte [rsi + 0x1e2], 1
mov dword [rsi + 0x184], 4
jmp 0x140079055
mov ebx, 0x80070216
jmp 0x140079055
mov ebx, 0x80070216
jmp 0x1400789fe
mov ebx, 0x80004003
lea r14, [0x140170048]
mov rax, qword [rbp + 0x47]
test rax, rax
je 0x14007906e
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14007907d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14007908c
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x14007909a
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x59], 0
je 0x1400790ae
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x59]
call fcn.140138624
lea rcx, [rsi + 0x18]
call fcn.1400f6448
mov rcx, qword [0x140170048]
cmp rcx, r14
je 0x1400790e4
test byte [rcx + 0x1c], 1
je 0x1400790e4
cmp byte [rcx + 0x19], 4
jb 0x1400790e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014dcb0]
mov edx, 0x3d
call fcn.140004c54
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret