Function at 0x1401a2220
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 rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rdi, [rsp + 0xe0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1401d3d80
mov rbx, qword [rdi]
mov rax, qword [0x140472078]
test rax, rax
je 0x1401a264f
mov rcx, qword [0x140472080]
cmp rcx, rbx
ja 0x1401a268a
cmp rax, rbx
jb 0x1401a268a
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 0x1401a26a8
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1401a22d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140209cc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401a26b3
call fcn.140209cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140209cc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], r12
movaps xmm6, xmmword [0x1403db8a0]
movaps xmmword [rcx], xmm6
call fcn.14020a520
lea rdx, [rsp + 0x110]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0x10c]
mov dword [r8], 0xaaaaaaaa
xor ebx, ebx
lea r9, [rsp + 0x100]
mov qword [r9], rbx
lea rax, [rsp + 0xf8]
mov qword [rax], rbx
lea r10, fcn.1402ac8b0
lea rcx, [rsp + 0x40]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.140217f70
test al, al
je 0x1401a26bb
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
mov r8, rbx
call fcn.1401fef60
test al, al
je 0x1401a26ca
movzx eax, byte [rsp + 0x57]
test al, al
cmovs rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb8]
mov qword [rdx], rbx
cmovs rax, qword [rsp + 0x48]
mov qword [rdx + 8], rax
lea r14, [rsp + 0xc8]
mov rcx, r14
call fcn.14020a650
lea rbx, [rsp + 0xe0]
mov rcx, r14
mov rdx, rbx
call fcn.14020b6a0
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.14020a880
mov rcx, rbx
call fcn.14020a810
mov rcx, r14
call fcn.14020a810
mov qword [rbx + 0x10], r12
movaps xmmword [rbx], xmm6
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.1400fbf10
lea rax, [0x1404365ee]
lea rdx, [rsp + 0xa8]
mov qword [rdx], rax
mov qword [rdx + 8], 3
movzx eax, byte [rbx + 0x17]
test al, al
mov r8, qword [rbx]
cmovns r8, rbx
lea rcx, [rsp + 0x98]
mov qword [rcx], r8
cmovs rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov r8, rbx
call fcn.1400fe1e0
mov edx, dword [rsp + 0x10c]
mov rcx, r14
call fcn.1400ff300
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
jns 0x1401a2489
mov r8, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rcx, rbx
mov rdx, r14
call fcn.1400e4b90
cmp byte [rsp + 0xdf], 0
js 0x1401a26db
movzx eax, byte [rsp + 0xf7]
test al, al
cmovs rbx, qword [rsp + 0xe0]
lea rdx, [rsp + 0x88]
mov qword [rdx], rbx
cmovs rax, qword [rsp + 0xe8]
mov qword [rdx + 8], rax
lea r15, [rsp + 0xc8]
mov rcx, r15
call fcn.1401ff8f0
mov rbx, qword [r15]
mov rax, qword [r15 + 8]
mov qword [rsp + 0x30], rax
mov r13, qword [r15 + 0x10]
cmp byte [rsp + 0xf7], 0
jns 0x1401a2504
mov rcx, qword [rsp + 0xe0]
call fcn.140258e54
cmp byte [rsp + 0x57], 0
jns 0x1401a2515
mov rcx, qword [rsp + 0x40]
call fcn.140258e54
mov r14, rsi
lea r15, [rsp + 0xe0]
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, 0x18
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1401a26ed
mov ecx, 0x58
call fcn.140258e18
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.140209cc0
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
call r12
mov ebp, eax
call fcn.140209cc0
mov rsi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call rsi
lea rax, fcn.1401a2730
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.140209cc0
call r12
mov ebp, eax
mov qword [r15 + 8], rdi
call fcn.140209cc0
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 r13, r13
jns 0x1401a26f8
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, qword [rsp + 0x30]
call fcn.1401f19b0
mov rsi, r14
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x70]
call fcn.14020a540
xor edi, edi
test r13, r13
jns 0x1401a260a
mov rcx, rbx
call fcn.140258e54
lea rcx, [rsp + 0x70]
call fcn.14020a810
test rdi, rdi
jne 0x1401a270e
mov qword [rsi], r15
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14025a610
mov rax, rsi
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
movaps xmm0, xmmword [0x1403db8a0]
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 [0x140472078], rax
mov qword [0x140472080], rcx
jmp 0x1401a227d
lea rdi, [rsp + 0x38]
mov qword [rdi], 0
mov rcx, rdi
xor edx, edx
call fcn.140380d40
mov rdi, qword [rdi]
jmp 0x1401a22d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1401a22b6
xor r15d, r15d
jmp 0x1401a261d
xor eax, eax
mov qword [rsp + 0x30], rax
xor r13d, r13d
jmp 0x1401a2515
xor eax, eax
mov qword [rsp + 0x30], rax
xor ebx, ebx
xor r13d, r13d
jmp 0x1401a2504
mov rcx, qword [rsp + 0xc8]
call fcn.140258e54
jmp 0x1401a24a2
xor r15d, r15d
mov rsi, r14
jmp 0x1401a25fd
mov qword [r15 + 0x28], rbx
mov rax, qword [rsp + 0x30]
mov qword [r15 + 0x30], rax
mov qword [r15 + 0x38], r13
jmp 0x1401a25e7
call fcn.140209cc0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1401a261d