Function at 0x14000a460
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, 0x158
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm6
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rdi, [rsp + 0xe0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1400dc900
mov rbx, qword [rdi]
mov rax, qword [0x1402b8528]
test rax, rax
je 0x14000a95b
mov rcx, qword [0x1402b8530]
cmp rcx, rbx
ja 0x14000aa2b
cmp rax, rbx
jb 0x14000aa2b
lea r8, [rsp + 0x40]
mov qword [r8], 0
mov rdx, qword [rsp + 0xe0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x14000a9f4
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14000a51d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400ea220
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14000a99e
xor ebx, ebx
mov qword [rsp + 0x38], rbx
call fcn.1400ea220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400ea220
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x80], rbx
xorps xmm7, xmm7
movaps xmmword [rsp + 0x70], xmm7
movaps xmm6, xmmword [0x14026cc70]
lea rdx, [rsp + 0x110]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0x10c]
mov dword [r8], 0xaaaaaaaa
lea r9, [rsp + 0x100]
mov qword [r9], rbx
lea rax, [rsp + 0xf8]
mov qword [rax], rbx
lea r10, [0x14026ef30]
lea rcx, [rsp + 0x40]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.14010ab60
movabs r12, 0xaaaaaaaaaaaaaaaa
test al, al
je 0x14000a9a6
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
mov r8, rbx
call fcn.14010b510
test al, al
je 0x14000a9e7
movzx ecx, byte [rsp + 0x57]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x48]
cmovs rbx, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rax
test rax, rax
js 0x14000a9ff
test rbx, rbx
jne 0x14000a62c
test rax, rax
jne 0x14000aa47
lea rbx, [rsp + 0xc8]
lea rdx, [rsp + 0xb8]
mov rcx, rbx
call fcn.14010a8d0
lea r14, [rsp + 0xe0]
mov rcx, rbx
mov rdx, r14
call fcn.140123600
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x80], rax
mov byte [r14 + 0x17], 0
mov word [r14], 0
cmp byte [rbx + 0x17], 0
jns 0x14000a68a
mov rcx, qword [rsp + 0xc8]
call fcn.1401833ec
mov qword [rsp + 0xf0], r12
movaps xmmword [rsp + 0xe0], xmm6
lea rdx, [rsp + 0x110]
mov rcx, r14
call fcn.14000ad50
lea rax, [0x1402871f8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 3
movzx eax, byte [rsp + 0xf7]
test al, al
js 0x14000a6d6
and eax, 0x7f
jmp 0x14000a6e6
mov rax, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xe0]
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rax
test rax, rax
js 0x14000a9ff
test r14, r14
jne 0x14000a70d
test rax, rax
jne 0x14000aa47
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0xa8]
lea r14, [rsp + 0xe0]
mov r8, r14
call fcn.14010ac90
mov edx, dword [rsp + 0x10c]
mov rcx, rbx
call fcn.14000ac20
movzx r8d, byte [rsp + 0xdf]
test r8b, r8b
js 0x14000a750
and r8d, 0x7f
jmp 0x14000a760
mov r8, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rcx, r14
mov rdx, rbx
call fcn.14001f060
cmp byte [rsp + 0xdf], 0
js 0x14000a9b1
movzx ecx, byte [rsp + 0xf7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0xe8]
cmovs r14, qword [rsp + 0xe0]
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rax
test rax, rax
js 0x14000a9ff
test r14, r14
jne 0x14000a7c1
test rax, rax
jne 0x14000aa47
lea r15, [rsp + 0xc8]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.140148c90
mov rbx, qword [r15]
mov r13, qword [r15 + 8]
mov r14, qword [r15 + 0x10]
cmp byte [rsp + 0xf7], 0
jns 0x14000a7fb
mov rcx, qword [rsp + 0xe0]
call fcn.1401833ec
cmp byte [rsp + 0x57], 0
jns 0x14000a80c
mov rcx, qword [rsp + 0x40]
call fcn.1401833ec
lea r15, [rsp + 0xe0]
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 0x14000a996
mov qword [rsp + 0x30], rsi
mov ecx, 0x58
call fcn.1401833f4
mov r15, rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
call fcn.1400ea220
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
call r12
mov ebp, eax
call fcn.1400ea220
mov rsi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call rsi
lea rax, fcn.1400765e0
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.1400ea220
call r12
mov ebp, eax
mov qword [r15 + 8], rdi
call fcn.1400ea220
mov ecx, ebp
call rsi
mov rax, qword [rsp + 0x50]
mov qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r15 + 0x10], xmm0
test r14, r14
jns 0x14000a9d6
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, r13
call fcn.140109e90
mov rsi, qword [rsp + 0x30]
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x70]
call fcn.1400ffb30
xor edi, edi
test r14, r14
jns 0x14000a904
mov rcx, rbx
call fcn.1401833ec
cmp byte [rsp + 0x87], 0
jns 0x14000a918
mov rcx, qword [rsp + 0x70]
call fcn.1401833ec
test rdi, rdi
jne 0x14000a9c3
mov qword [rsi], r15
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140186020
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [0x14026cc70]
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 [0x1402b8528], rax
mov qword [0x1402b8530], rcx
jmp 0x14000a4c5
xor r15d, r15d
jmp 0x14000a8f7
xor r15d, r15d
jmp 0x14000a921
xor r13d, r13d
xor r14d, r14d
jmp 0x14000a80c
mov rcx, qword [rsp + 0xc8]
call fcn.1401833ec
jmp 0x14000a779
call fcn.1400ea220
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000a921
mov qword [r15 + 0x28], rbx
mov qword [r15 + 0x30], r13
mov qword [r15 + 0x38], r14
jmp 0x14000a8df
xor r13d, r13d
xor ebx, ebx
xor r14d, r14d
jmp 0x14000a7fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000a4fe
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.1401c1450
lea rdi, [rsp + 0x38]
mov qword [rdi], 0
mov rcx, rdi
call fcn.1402169f0
mov rdi, qword [rdi]
jmp 0x14000a51d
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.1401c1450
int3