Function at 0x140014c10
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], xmm7
movaps xmmword [rsp + 0x120], xmm6
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0xd0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1400ad030
mov rbx, qword [rdi]
mov rax, qword [0x140233ad8]
test rax, rax
je 0x140015111
mov rcx, qword [0x140233ae0]
cmp rcx, rbx
ja 0x14001520c
cmp rax, rbx
jb 0x14001520c
lea r8, [rsp + 0x30]
mov qword [r8], 0
mov rdx, qword [rsp + 0xd0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1400151d5
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x140014ccd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400b9400
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14001515f
xor ebx, ebx
mov qword [rsp + 0x28], rbx
call fcn.1400b9400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400b9400
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x70], rbx
xorps xmm7, xmm7
movaps xmmword [rsp + 0x60], xmm7
movaps xmm6, xmmword [0x1401ee3a0]
lea rdx, [rsp + 0x100]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0xfc]
mov dword [r8], 0xaaaaaaaa
lea r9, [rsp + 0xf0]
mov qword [r9], rbx
lea rax, [rsp + 0xe8]
mov qword [rax], rbx
lea r10, [0x1401efe10]
lea rcx, [rsp + 0x30]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.1400f49a0
movabs r12, 0xaaaaaaaaaaaaaaaa
test al, al
je 0x14001514c
lea rbx, [rsp + 0x30]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
mov r8, rbx
call fcn.1400f5980
test al, al
je 0x1400151c8
movzx ecx, byte [rsp + 0x47]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x38]
cmovs rbx, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rax
test rax, rax
js 0x1400151e0
test rbx, rbx
jne 0x140014dd9
test rax, rax
jne 0x140015228
lea rbx, [rsp + 0xb8]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400f4860
lea r14, [rsp + 0xd0]
mov rcx, rbx
mov rdx, r14
call fcn.1400fce40
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x70], rax
mov byte [r14 + 0x17], 0
mov word [r14], 0
cmp byte [rbx + 0x17], 0
jns 0x140014e34
mov rcx, qword [rsp + 0xb8]
call fcn.14012cd4c
mov qword [rsp + 0xe0], r12
movaps xmmword [rsp + 0xd0], xmm6
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.140015260
lea rax, [0x140205808]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 3
movzx eax, byte [rsp + 0xe7]
test al, al
js 0x140014e80
and eax, 0x7f
jmp 0x140014e90
mov rax, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rax
test rax, rax
js 0x1400151e0
test r14, r14
jne 0x140014eb7
test rax, rax
jne 0x140015228
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x98]
lea r14, [rsp + 0xd0]
mov r8, r14
call fcn.1400f4ae0
mov edx, dword [rsp + 0xfc]
mov rcx, rbx
call fcn.1400153e0
movzx r8d, byte [rsp + 0xcf]
test r8b, r8b
js 0x140014efa
and r8d, 0x7f
jmp 0x140014f0a
mov r8, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, r14
mov rdx, rbx
call fcn.140014560
cmp byte [rsp + 0xcf], 0
js 0x14001516b
movzx ecx, byte [rsp + 0xe7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0xd8]
cmovs r14, qword [rsp + 0xd0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rax
test rax, rax
js 0x1400151e0
test r14, r14
jne 0x140014f68
test rax, rax
jne 0x140015228
lea r15, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.1400e23d0
mov rbx, qword [r15]
mov r14, qword [r15 + 8]
mov r13, qword [r15 + 0x10]
cmp byte [rsp + 0xe7], 0
jns 0x140014f9f
mov rcx, qword [rsp + 0xd0]
call fcn.14012cd4c
cmp byte [rsp + 0x47], 0
jns 0x140014fb0
mov rcx, qword [rsp + 0x30]
call fcn.14012cd4c
lea r15, [rsp + 0xd0]
mov qword [r15 + 0x10], r12
movaps xmmword [r15], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9d, 0x18
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x140015157
mov ecx, 0x58
call fcn.14012cd5c
mov r15, rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
call fcn.1400b9400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400b9400
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, fcn.1400529d0
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.1400b9400
cmp qword [r15 + 8], rdi
je 0x140015064
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp qword [r15 + 8], 0
jne 0x1400151b4
mov qword [r15 + 8], rdi
call fcn.1400b9400
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x40]
mov qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r15 + 0x10], xmm0
test r13, r13
jns 0x1400151a3
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, r14
call fcn.1400148b0
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x60]
call fcn.1400f4790
xor edi, edi
test r13, r13
jns 0x1400150af
mov rcx, rbx
call fcn.14012cd4c
cmp byte [rsp + 0x77], 0
jns 0x1400150c0
mov rcx, qword [rsp + 0x60]
call fcn.14012cd4c
test rdi, rdi
jne 0x140015190
mov rdi, qword [rsp + 0x28]
mov qword [rsi], r15
test rdi, rdi
jne 0x14001517d
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14012f6f0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [0x1401ee3a0]
lea rdi, [rsp + 0x30]
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 [0x140233ad8], rax
mov qword [0x140233ae0], rcx
jmp 0x140014c75
xor r14d, r14d
xor r13d, r13d
jmp 0x140014fb0
xor r15d, r15d
jmp 0x1400150a2
mov qword [rsi], 0
jmp 0x1400150da
mov rcx, qword [rsp + 0xb8]
call fcn.14012cd4c
jmp 0x140014f23
call fcn.1400b9400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400150da
call fcn.1400b9400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400150c9
mov qword [r15 + 0x28], rbx
mov qword [r15 + 0x30], r14
mov qword [r15 + 0x38], r13
jmp 0x14001508f
call fcn.1400b9400
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140015053
xor r14d, r14d
xor r13d, r13d
xor ebx, ebx
jmp 0x140014f9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140014cae
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140167fb0
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call fcn.1401b2090
mov rdi, qword [rdi]
jmp 0x140014ccd
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140167fb0
int3