Function at 0x140019b20
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov r14, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rdi, [rsp + 0xd0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.14012aea0
mov rsi, qword [rdi]
mov rax, qword [0x1402cbf18]
test rax, rax
je 0x14001a066
mov rcx, qword [0x1402cbf20]
cmp rcx, rsi
ja 0x14001a0de
cmp rax, rsi
jb 0x14001a0de
lea r8, [rsp + 0x40]
mov qword [r8], 0
mov rdx, qword [rsp + 0xd0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x14001a0d3
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140019bd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140118d70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14001a0c7
xor ebx, ebx
mov qword [rsp + 0x38], rbx
call fcn.140118d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140118d70
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsp + 0x10b], ebx
mov dword [rsp + 0x108], ebx
movaps xmm6, xmmword [0x14026f080]
lea rdx, [rsp + 0x110]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0x104]
mov dword [r8], 0xaaaaaaaa
lea r9, [rsp + 0xf8]
mov qword [r9], rbx
lea rax, [rsp + 0xf0]
mov qword [rax], rbx
lea r10, [0x140270f60]
lea rcx, [rsp + 0x40]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.14001a2c0
movabs rbp, 0xaaaaaaaaaaaaaaaa
test al, al
mov qword [rsp + 0x30], r14
je 0x14001a164
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
mov r8, rbx
call fcn.1401457c0
test al, al
je 0x14001a17b
movsx rax, byte [rsp + 0x57]
test rax, rax
cmovs rax, qword [rsp + 0x48]
cmovs rbx, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rax
test rax, rax
js 0x14001a0a1
sete al
test rbx, rbx
setne cl
or cl, al
je 0x14001a0b4
lea r15, [rsp + 0xb8]
lea rdx, [rsp + 0xa8]
mov rcx, r15
call fcn.140177590
lea r12, [rsp + 0xd0]
mov rcx, r15
mov rdx, r12
call fcn.1401549c0
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov rbx, qword [r12 + 8]
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x108], eax
mov eax, dword [r12 + 0x13]
mov dword [rsp + 0x10b], eax
mov sil, byte [r12 + 0x17]
mov byte [r12 + 0x17], 0
mov word [r12], 0
cmp byte [r15 + 0x17], 0
jns 0x140019d61
mov rcx, qword [rsp + 0xb8]
call fcn.14018f5b0
mov qword [rsp + 0xe0], rbp
movaps xmmword [rsp + 0xd0], xmm6
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.14001a3e0
lea rax, [0x14029a434]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 3
movsx rax, byte [rsp + 0xe7]
test rax, rax
jns 0x140019dba
mov rax, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], rax
test rax, rax
js 0x14001a0a1
sete al
test r12, r12
setne cl
or cl, al
je 0x14001a0b4
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x98]
lea r12, [rsp + 0xd0]
mov r8, r12
call fcn.14001a5b0
mov edx, dword [rsp + 0x104]
mov rcx, r15
call fcn.14001a1a0
movsx r8, byte [rsp + 0xcf]
test r8, r8
jns 0x140019e31
mov r8, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xb8]
mov rcx, r12
mov rdx, r15
call fcn.14016ee40
cmp byte [rsp + 0xcf], 0
js 0x14001a0fa
movsx rax, byte [rsp + 0xe7]
test rax, rax
cmovs rax, qword [rsp + 0xd8]
cmovs r12, qword [rsp + 0xd0]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rax
test rax, rax
js 0x14001a0a1
sete al
test r12, r12
setne cl
or cl, al
je 0x14001a0b4
lea r13, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.1401464a0
mov r15, qword [r13]
mov r12, qword [r13 + 8]
mov r14, qword [r13 + 0x10]
cmp byte [rsp + 0xe7], 0
jns 0x140019ec7
mov rcx, qword [rsp + 0xd0]
call fcn.14018f5b0
cmp byte [rsp + 0x57], 0
jns 0x140019ed8
mov rcx, qword [rsp + 0x40]
call fcn.14018f5b0
lea r13, [rsp + 0xd0]
mov qword [r13 + 0x10], rbp
movaps xmmword [r13], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rdi
mov r8, r13
mov r9d, Ordinal_26
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x14001a10c
mov ecx, 0x58
call fcn.14018f5b8
mov r13, rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
call fcn.140118d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140118d70
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, fcn.14006e920
mov qword [r13], rax
mov qword [r13 + 8], 0
call fcn.140118d70
cmp qword [r13 + 8], rdi
je 0x140019f8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp qword [r13 + 8], 0
jne 0x14001a119
mov qword [r13 + 8], rdi
call fcn.140118d70
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r13 + 0x10], xmm0
test r14, r14
jns 0x14001a12d
lea rcx, [r13 + 0x28]
mov rdx, r15
mov r8, r12
call fcn.14011ed30
mov r12, qword [rsp + 0x28]
test sil, sil
jns 0x14001a03f
mov rcx, r13
add rcx, 0x40
mov rdx, r12
mov r8, rbx
call fcn.140145f60
xor edi, edi
test r14, r14
jns 0x140019fe4
mov rcx, r15
call fcn.14018f5b0
test sil, sil
mov r14, qword [rsp + 0x30]
jns 0x140019ff6
mov rcx, r12
call fcn.14018f5b0
test rdi, rdi
jne 0x14001a13e
mov rdi, qword [rsp + 0x38]
mov qword [r14], r13
test rdi, rdi
jne 0x14001a151
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140191d80
mov rax, r14
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r13 + 0x40], r12
mov qword [r13 + 0x48], rbx
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x10b]
mov dword [r13 + 0x50], eax
mov dword [r13 + 0x53], ecx
mov byte [r13 + 0x57], sil
jmp 0x140019fd5
movaps xmm0, xmmword [0x14026f080]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
mov qword [0x1402cbf18], rax
mov qword [0x1402cbf20], rcx
jmp 0x140019b7d
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceb00
mov qword [r14], 0
jmp 0x14001a010
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140019bb6
lea rdi, [rsp + 0x38]
mov qword [rdi], 0
mov rcx, rdi
call fcn.140225d30
mov rdi, qword [rdi]
jmp 0x140019bd5
mov rcx, qword [rsp + 0xb8]
call fcn.14018f5b0
jmp 0x140019e4a
xor r13d, r13d
mov r12, qword [rsp + 0x28]
jmp 0x140019fd7
call fcn.140118d70
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140019f7d
mov qword [r13 + 0x28], r15
mov qword [r13 + 0x30], r12
mov qword [r13 + 0x38], r14
jmp 0x140019fb9
call fcn.140118d70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140019fff
call fcn.140118d70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14001a010
xor eax, eax
mov qword [rsp + 0x28], rax
xor esi, esi
xor r12d, r12d
xor r14d, r14d
xor r15d, r15d
jmp 0x140019ed8
xor eax, eax
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor esi, esi
xor r12d, r12d
xor r14d, r14d
xor r15d, r15d
jmp 0x140019ec7