Function at 0x1400c7a80
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, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0xd0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1400cb300
mov rbx, qword [rdi]
mov rax, qword [0x1401fab98]
test rax, rax
je 0x1400c7d55
mov rcx, qword [0x1401faba0]
cmp rcx, rbx
ja 0x1400c7d90
cmp rax, rbx
jb 0x1400c7d90
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1400c7d90
lea r8, [rsp + 0x30]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400c7b23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400c7d90
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
call r14
mov ebx, eax
call fcn.1400ed550
mov r15, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call r15
call fcn.1400ed550
call r14
mov ebx, eax
call fcn.1400ed550
mov ecx, ebx
call r15
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r12
movaps xmm6, xmmword [0x1401af9e0]
movaps xmmword [rcx], xmm6
call fcn.1400edea0
lea rdx, [rsp + 0x100]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0xfc]
mov dword [r8], 0xaaaaaaaa
xor r14d, r14d
lea r9, [rsp + 0xf0]
mov qword [r9], r14
lea rax, [rsp + 0xe8]
mov qword [rax], r14
lea r10, [0x1401b20d8]
lea rcx, [rsp + 0x30]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.1400a12e0
mov r13d, 0
mov ebx, 0
test al, al
je 0x1400c7c36
xorps xmm0, xmm0
lea r15, [rsp + 0x30]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
mov r8, r15
call fcn.1400e44a0
xor r14d, r14d
mov r13d, 0
mov ebx, 0
test al, al
jne 0x1400c7dd9
cmp byte [rsp + 0x47], 0
jns 0x1400c7c36
mov rcx, qword [rsp + 0x30]
call fcn.140124dec
lea r15, [rsp + 0xd0]
mov qword [r15 + 0x10], r12
movaps xmmword [r15], xmm6
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9d, SafeArrayCopy
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1400c7d50
mov ecx, 0x58
call fcn.140124db0
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.1400ed550
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400ed550
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, fcn.1400c7ff0
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.1400ed550
cmp qword [r15 + 8], rdi
je 0x1400c7ce9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp qword [r15 + 8], 0
jne 0x1400c7fd2
mov qword [r15 + 8], rdi
call fcn.1400ed550
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
js 0x1400c7dc5
mov qword [r15 + 0x28], rbx
mov qword [r15 + 0x30], r14
mov qword [r15 + 0x38], r13
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x60]
call fcn.1400edec0
xor edi, edi
test r13, r13
jns 0x1400c7d31
mov rcx, rbx
call fcn.140124dec
lea rcx, [rsp + 0x60]
call fcn.1400ee050
test rdi, rdi
je 0x1400c7d93
call fcn.1400ed550
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400c7d93
xor r15d, r15d
jmp 0x1400c7d24
movaps xmm0, xmmword [0x1401af9e0]
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 [0x1401fab98], rax
mov qword [0x1401faba0], rcx
jmp 0x1400c7add
xor r15d, r15d
mov qword [rsi], r15
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, r14
call fcn.1400d7cc0
jmp 0x1400c7d11
movzx eax, byte [rsp + 0x47]
test al, al
cmovs rax, qword [rsp + 0x38]
cmovs r15, qword [rsp + 0x30]
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], rax
test rax, rax
js 0x1400c7fac
je 0x1400c7e10
test r15, r15
je 0x1400c7fbf
lea rbx, [rsp + 0xb8]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400edf20
lea r14, [rsp + 0xd0]
mov rcx, rbx
mov rdx, r14
call fcn.1400ef170
lea rcx, [rsp + 0x60]
mov rdx, r14
call fcn.1400ee0c0
mov rcx, r14
call fcn.1400ee050
mov rcx, rbx
call fcn.1400ee050
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.14007a320
lea rax, [0x1401ccdf0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 3
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x1400c7ea4
mov rax, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rax
test rax, rax
js 0x1400c7fac
je 0x1400c7ec8
test r14, r14
je 0x1400c7fbf
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x98]
lea r14, [rsp + 0xd0]
mov r8, r14
call fcn.14007de50
mov edx, dword [rsp + 0xfc]
mov rcx, rbx
call fcn.14007f1b0
movzx r8d, byte [rsp + 0xcf]
test r8b, r8b
jns 0x1400c7f15
mov r8, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, r14
mov rdx, rbx
call fcn.1400d93b0
cmp byte [rsp + 0xcf], 0
jns 0x1400c7f37
mov rcx, qword [rsp + 0xb8]
call fcn.140124dec
movzx eax, byte [rsp + 0xe7]
test al, al
cmovs rax, qword [rsp + 0xd8]
cmovs r14, qword [rsp + 0xd0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rax
test rax, rax
js 0x1400c7fac
je 0x1400c7f6c
test r14, r14
je 0x1400c7fbf
lea r15, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.1400e4ac0
mov rbx, qword [r15]
mov r14, qword [r15 + 8]
mov r13, qword [r15 + 0x10]
cmp byte [rsp + 0xe7], 0
jns 0x1400c7c25
mov rcx, qword [rsp + 0xd0]
call fcn.140124dec
jmp 0x1400c7c25
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_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.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140160550
call fcn.1400ed550
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400c7cd8