Function at 0x14001e740
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 rdi, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
lea rcx, [rsp + 0x80]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc8], 0
mov word [rsp + 0xd8], 0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.140001140
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
cmp r15, 3
jne 0x14001e8a5
mov qword [rsp + 0x50], r14
lea rdx, str.AppDataRoamingCodeUser_settings.json
lea rcx, [rsp + 0x108]
mov r8d, 1
call fcn.140025250
mov r12, qword [rsp + 0x108]
mov rbp, qword [rsp + 0x118]
mov qword [rsp + 0x58], 8
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], rbp
lea r14, [rsp + 0xf8]
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], rbp
lea r15, [rsp + 0x108]
mov eax, dword [0x1400f92c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rbx
je 0x14001e902
add rax, 0x110
jmp 0x14001e907
movzx eax, byte [0x1400f92c0]
mov rcx, qword [0x1400f91f8]
test rcx, rcx
jne 0x14001e8d1
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14001eb5a
mov rcx, rax
mov qword [0x1400f91f8], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14001eb5a
mov qword [rax], r15
mov qword [rax + 8], r14
mov qword [rsi], rax
lea rax, case.0x1400270ad.366
mov qword [rsi + 8], rax
jmp 0x14001eb3e
call fcn.1400686f0
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], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x80]
mov rdx, rbp
xor r8d, r8d
call fcn.1400116e0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140010950
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
test rbp, rbp
je 0x14001e9b1
lea r13, [r12 + 8]
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001e999
add r13, 0x18
dec rbp
je 0x14001e9b1
cmp qword [r13], 0
je 0x14001e990
mov r8, qword [r13 - 8]
mov rcx, qword [0x1400f91f8]
xor edx, edx
call rdi
jmp 0x14001e990
cmp qword [rsp + 0x110], 0
je 0x14001e9ce
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov eax, dword [0x1400f92c4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14001ea1c
add rax, 0x110
jmp 0x14001ea21
call fcn.1400686f0
lea rcx, [rsp + 0x80]
mov rax, qword [rax]
mov r8, qword [rax + 0x210]
xor eax, eax
cmp r15, 0xffffffffffffffff
sete al
cmp rax, r8
cmova r8, rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r9d, 1
mov rcx, r15
xor edx, edx
call fcn.140010b30
mov rax, qword [0x1400f90f0]
mov qword [rsi + 8], rax
mov qword [rsi], 0
test r15, r15
je 0x14001eab0
lea rsi, [r14 + 8]
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001ea99
add rsi, 0x20
dec r15
je 0x14001eab0
cmp qword [rsi], 0
je 0x14001ea90
mov r8, qword [rsi - 8]
mov rcx, qword [0x1400f91f8]
xor edx, edx
call rdi
jmp 0x14001ea90
test rbx, rbx
je 0x14001eac7
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, qword [rsp + 0x50]
lock dec qword [rsi + 0x1d8]
jne 0x14001eb29
mov rax, qword [rsi + 0x210]
test rax, rax
je 0x14001eb29
mov rbx, qword [rsi + 0x200]
add rsi, 0x1e0
shl rax, 3
lea r14, [rax + rax*8]
xor r15d, r15d
xor edi, edi
jmp 0x14001eb0c
add r15, 0x48
inc rdi
cmp r14, r15
je 0x14001eb29
mov eax, 3
xchg qword [rbx + r15 + 0x30], rax
cmp rax, 2
jne 0x14001eb00
mov rcx, rsi
mov rdx, rdi
call fcn.140067170
jmp 0x14001eb00
mov rax, qword [rsp + 0x50]
lock dec qword [rax]
jne 0x14001eb3e
lea rcx, [rsp + 0x50]
call fcn.1400677b0
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
mov ecx, 8
mov edx, 0x10
call fcn.1400a9e00
ud2