Function at 0x14001a630
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 rbx, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [0x1400f00f0], 0
mov qword [rsp + 0xe8], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x50]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xe0], rax
movups xmmword [rsp + 0xf8], xmm6
movups xmmword [rsp + 0x108], xmm6
mov qword [rsp + 0x118], 0
mov word [rsp + 0x128], 0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xd0]
call fcn.140001150
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
cmp r12, 3
jne 0x14001a79b
mov qword [rsp + 0x48], r15
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0xb8]
call fcn.140020f50
mov r13, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc8]
mov qword [rsp + 0x50], 8
movups xmmword [rsp + 0x58], xmm6
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], rbp
lea r15, [rsp + 0xa8]
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], rbp
lea r12, [rsp + 0xb8]
mov eax, dword [0x1400f02c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], rsi
je 0x14001a82c
add rax, 0x110
jmp 0x14001a831
movzx eax, byte [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x14001a7c7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14001aaa3
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14001aaa3
mov qword [rax], r12
mov qword [rax + 8], r15
mov qword [rdi], rax
lea rax, [0x1400aad98]
mov qword [rdi + 8], rax
cmp qword [rsi + 8], 0
je 0x14001aa87
mov r8, qword [rsi]
mov rcx, qword [0x1400f0220]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
call fcn.140063940
mov rax, qword [rax]
mov r9, qword [rax + 0x210]
xor eax, eax
cmp rbp, 0xffffffffffffffff
sete al
cmp rax, r9
cmova r9, rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 1
lea rsi, [rsp + 0xd0]
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.14000eed0
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.14000cc00
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
test rbp, rbp
je 0x14001a8d1
lea rbx, [r13 + 8]
mov r14, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001a8b9
add rbx, 0x18
dec rbp
je 0x14001a8d1
cmp qword [rbx], 0
je 0x14001a8b0
mov r8, qword [rbx - 8]
mov rcx, qword [0x1400f0220]
xor edx, edx
call r14
jmp 0x14001a8b0
cmp qword [rsp + 0xc0], 0
je 0x14001a8ee
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe0], rax
mov eax, dword [0x1400f02c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14001a942
add rax, 0x110
jmp 0x14001a947
call fcn.140063940
lea rcx, [rsp + 0xd0]
mov rax, qword [rax]
mov r8, qword [rax + 0x210]
xor eax, eax
cmp r12, 0xffffffffffffffff
sete al
cmp rax, r8
cmova r8, rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov r9d, 1
mov rcx, r12
xor edx, edx
call fcn.14000e3c0
mov rax, qword [0x1400f00f0]
mov qword [rdi + 8], rax
mov qword [rdi], 0
test r12, r12
je 0x14001a9d0
lea rdi, [r15 + 8]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001a9b9
add rdi, 0x20
dec r12
je 0x14001a9d0
cmp qword [rdi], 0
je 0x14001a9b0
mov r8, qword [rdi - 8]
mov rcx, qword [0x1400f0220]
xor edx, edx
call rbx
jmp 0x14001a9b0
test rsi, rsi
je 0x14001a9e7
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsp + 0x48]
lock dec qword [rdi + 0x1d8]
mov rsi, qword [rsp + 0x80]
jne 0x14001aa59
mov rax, qword [rdi + 0x210]
test rax, rax
je 0x14001aa59
mov r14, qword [rdi + 0x200]
add rdi, 0x1e0
shl rax, 3
lea r15, [rax + rax*8]
xor r12d, r12d
xor ebx, ebx
jmp 0x14001aa3c
add r12, 0x48
inc rbx
cmp r15, r12
je 0x14001aa59
mov eax, 3
xchg qword [r14 + r12 + 0x30], rax
cmp rax, 2
jne 0x14001aa30
mov rcx, rdi
mov rdx, rbx
call fcn.1400623a0
jmp 0x14001aa30
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x14001aa6e
lea rcx, [rsp + 0x48]
call fcn.1400629a0
cmp qword [rsi + 8], 0
je 0x14001aa87
mov r8, qword [rsi]
mov rcx, qword [0x1400f0220]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
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 ecx, 8
mov edx, 0x10
call fcn.1400a42a0
ud2