Function at 0x14018acd0
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x380
movaps xmmword [rsp + 0x370], xmm6
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x24c]
mov r8d, 0x118
mov rcx, rdi
xor edx, edx
call fcn.1401cd0e0
mov dword [rdi - 4], 0x11c
lea rcx, [rsp + 0x248]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14018ad3d
cmp byte [rsp + 0x362], 1
setne byte [rsi + 0x4c]
jmp 0x14018ad99
mov ecx, 1
call fcn.140060b40
test al, al
je 0x14018ad99
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x62
mov r9d, 1
call fcn.1400618b0
lea rcx, [rsp + 0x100]
lea rdx, str.GetVersionEx
mov r8d, 0xc
call fcn.140007184
mov rcx, rdi
call fcn.140061980
lea rax, str.kernel32.dll
lea rdx, [rsp + 0xe0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea rdi, [rsp + 0x230]
mov rcx, rdi
call fcn.14005ba50
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call fcn.1400e9ca4
mov ebx, eax
mov rcx, rdi
call fcn.14005baa0
test bl, bl
je 0x14018b1c0
mov edi, dword [rsp + 0x10c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], 0
test dil, 1
je 0x14018ae1d
lea rdx, str.Debug_
lea rcx, [rsp + 0x230]
call fcn.14003b040
test dil, 4
je 0x14018ae37
lea rdx, str.Patched_
lea rcx, [rsp + 0x230]
call fcn.14003b040
test dil, 2
je 0x14018ae51
lea rdx, str.Prerelease_
lea rcx, [rsp + 0x230]
call fcn.14003b040
test dil, 8
je 0x14018ae6b
lea rdx, str.Private_
lea rcx, [rsp + 0x230]
call fcn.14003b040
test dil, 0x20
je 0x14018ae85
lea rdx, str.Special_
lea rcx, [rsp + 0x230]
call fcn.14003b040
movzx r9d, byte [rsp + 0x247]
test r9b, r9b
jns 0x14018ae9b
mov r9, qword [rsp + 0x238]
test r9, r9
je 0x14018aee0
dec r9
lea rax, [rsp + 0x248]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xc0]
lea rdi, [rsp + 0x230]
mov rdx, rdi
xor r8d, r8d
call fcn.14003aa48
cmp byte [rdi + 0x17], 0
jns 0x14018af17
mov rcx, qword [rsp + 0x230]
call fcn.1401c9f6c
jmp 0x14018af17
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x230]
movaps xmmword [rsp + 0xc0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], 0
mov eax, 0x40004
mov ecx, dword [rsp + 0x110]
and ecx, eax
cmp ecx, eax
lea rax, str.Windows_NT
lea rdx, str.Unknown
cmove rdx, rax
lea r14, [rsp + 0x230]
mov rcx, r14
call fcn.140002c8a
mov eax, dword [rsp + 0xf8]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [rsi + 0x44], eax
mov r8d, dword [rsp + 0xfc]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x48], eax
and r8d, ecx
lea rdx, [0x140218398]
lea rcx, [rsp + 0xa0]
call fcn.14006e780
lea rdi, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
js 0x14018af9d
xor eax, eax
mov byte [rdi], al
mov byte [rdi + 0x17], al
jmp 0x14018afc3
mov rax, qword [rsi + 0x20]
xor ecx, ecx
mov byte [rax], cl
mov qword [rsi + 0x28], 0
cmp byte [rsi + 0x37], cl
jns 0x14018afc3
mov rcx, qword [rsi + 0x20]
call fcn.1401c9f6c
mov qword [rsi + 0x30], 0
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
movzx eax, byte [rsp + 0xd7]
test al, al
jns 0x14018afee
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x14018b08b
lea rdx, [0x140200cfa]
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.140002c8a
lea rdx, [rsp + 0xc0]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, rbx
call fcn.14003ae50
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
xor ebp, ebp
mov qword [rax + 0x10], rbp
xorps xmm6, xmm6
movups xmmword [rax], xmm6
lea rdx, [0x140200b44]
call fcn.14003b040
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], rbp
mov bl, 1
cmp byte [rsp + 0x97], bpl
js 0x14018b096
lea rax, [rsp + 0x80]
jmp 0x14018b09e
lea rax, [0x1401fea56]
xor ebx, ebx
jmp 0x14018b09e
mov rax, qword [rsp + 0x80]
cmp byte [rdi + 0x17], 0
jns 0x14018b0a7
mov rdi, qword [rdi]
mov ecx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov edx, dword [rsi + 0x44]
xor ebp, ebp
cmp byte [rsp + 0x247], bpl
jns 0x14018b0c5
mov r14, qword [rsp + 0x230]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str._s__u._u._u._s_s
lea rcx, [rsp + 0xa0]
mov r8, r14
call fcn.14006e780
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], bpl
js 0x14018b101
xor eax, eax
mov byte [rdi], al
mov byte [rdi + 0x17], al
jmp 0x14018b127
mov rax, qword [rsi + 8]
xor ecx, ecx
mov byte [rax], cl
mov qword [rsi + 0x10], 0
cmp byte [rsi + 0x1f], cl
jns 0x14018b127
mov rcx, qword [rsi + 8]
call fcn.1401c9f6c
mov qword [rsi + 0x18], 0
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
test bl, bl
je 0x14018b192
cmp byte [rsp + 0x97], 0
jns 0x14018b170
mov rcx, qword [rsp + 0x80]
call fcn.1401c9f6c
cmp byte [rsp + 0x77], 0
jns 0x14018b181
mov rcx, qword [rsp + 0x60]
call fcn.1401c9f6c
cmp byte [rsp + 0x5f], 0
jns 0x14018b192
mov rcx, qword [rsp + 0x48]
call fcn.1401c9f6c
cmp byte [rsp + 0x247], 0
jns 0x14018b1a9
mov rcx, qword [rsp + 0x230]
call fcn.1401c9f6c
cmp byte [rsp + 0xd7], 0
jns 0x14018b1c0
mov rcx, qword [rsp + 0xc0]
call fcn.1401c9f6c
lea rcx, [rsi + 0x50]
mov dword [rsi + 0x50], 0x68
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
add rsi, 0xb8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.1401ca2e0
movaps xmm6, xmmword [rsp + 0x370]
add rsp, 0x380
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret