Function at 0x1401d1060
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, 0x118
cmp qword [rcx + 0x80], 0
jne 0x1401d1a37
mov r12d, edx
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0xe0]
call sub.kernel32.dll_GetSystemInfo
movsx r15, word [rsp + 0xe0]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0xb0], rbx
jb 0x1401d12a8
mov esi, eax
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d110c
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
xor edi, edi
mov r8d, 0x50
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401d1a5e
mov r8, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 5
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop
cmp ebp, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x38]
jne 0x1401d1189
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1401d1ee0
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], r14d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x1401d11b9
mov ebp, r13d
cmp r13d, esi
jbe 0x1401d1150
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d11e4
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
mov r8d, 0x30
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401d1a5e
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
cmp rdi, 3
jb 0x1401d12b9
mov rbx, qword [rsp + 0x30]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1401d1a90
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1401d1a90
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1401d1a90
add rbx, 0x2c
xor r14d, r14d
movzx r12d, byte [rsp + 0x27]
nop dword [rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1401d1a90
cmp r14, 0x20
je 0x1401d12c3
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1401d12c3
mov edx, dword [r15]
mov rcx, rsi
call fcn.1401d1a90
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1401d1a90
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1401d1a90
add r14, 0x10
jmp 0x1401d1260
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1401d1358
xor eax, eax
movzx r12d, byte [rsp + 0x27]
jmp 0x1401d12f7
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401d12f5
xor r8d, r8d
mov r15, qword [rsp + 0x28]
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x1401d1a55
inc r8
cmp rax, r8
jne 0x1401d12e0
jmp 0x1401d12fc
xor eax, eax
mov r15, qword [rsp + 0x28]
mov r8, rax
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14003c6e0
cmp qword [rsp + 0x60], 0
je 0x1401d15d4
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
je 0x1401d133d
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x38], 0
je 0x1401d1358
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
xor ecx, ecx
xor eax, eax
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1393
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
mov r8d, 0xc
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401d1a5e
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0
lea r14, [rsp + 0x48]
mov rcx, r14
mov edx, ebp
call fcn.1401d1a90
mov rcx, r14
mov edx, ebx
call fcn.1401d1a90
mov rcx, r14
mov edx, esi
call fcn.1401d1a90
mov r13, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1401d141e
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r13 + rax], 0
je 0x1401d1412
inc rax
cmp r8, rax
jne 0x1401d1400
jmp 0x1401d141e
cmp rax, r8
mov r8, rax
ja 0x1401d1a5e
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.14003c6e0
cmp qword [rsp + 0x60], 0
je 0x1401d1470
cmp r15w, 0xe
ja 0x1401d14cb
lea rax, [0x1402c7c28]
mov rcx, qword [rax + r15*8]
lea rax, [0x1402c7ca0]
mov rsi, qword [rax + r15*8]
mov r15, rcx
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1503
jmp 0x1401d14eb
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401d1a4b
js 0x1401d1a5e
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d14b4
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1401d1519
jmp 0x1401d1a5e
lea rsi, [0x1402a2c43]
mov r15d, 7
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1503
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401d1a5e
mov rbx, rax
mov rcx, rbx
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
je 0x1401d1540
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapFree
mov esi, dword [rsp + 0x100]
test r12b, r12b
je 0x1401d1588
lea rcx, [rsp + 0x98]
mov rdx, rsi
call fcn.1401d1b50
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1689
jmp 0x1401d1671
test rsi, rsi
je 0x1401d163d
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d15b5
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
lea r8, [rsi*8]
mov edx, 8
call sub.kernel32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1401d1643
jmp 0x1401d1a5e
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x1401d1a62
js 0x1401d1a5e
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1620
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.kernel32.dll_HeapAlloc
mov rdi, rax
test rax, rax
jne 0x1401d1a67
jmp 0x1401d1a5e
mov r14d, 8
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov r12, rsi
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1401d1689
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov rcx, rax
mov qword [0x1402d9150], rax
inc rsi
imul r8, rsi, 0x70
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401d1a5e
mov rbp, rax
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0
test r12, r12
je 0x1401d18ec
mov rsi, r12
shl rsi, 3
mov r13d, 1
xor r14d, r14d
jmp 0x1401d1766
imul rax, r14, 0x70
movups xmm0, xmmword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov qword [rbp + rax + 0x10], rcx
movups xmmword [rbp + rax], xmm0
mov qword [rbp + rax + 0x18], rbx
mov qword [rbp + rax + 0x20], r15
mov qword [rbp + rax + 0x28], r15
mov qword [rbp + rax + 0x30], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rbp + rax + 0x38], rcx
mov qword [rbp + rax + 0x40], rcx
mov qword [rbp + rax + 0x48], 0
mov qword [rbp + rax + 0x60], rdi
mov dword [rbp + rax + 0x68], 0
mov r14, qword [rsp + 0x40]
inc r14
mov qword [rsp + 0x40], r14
inc r13
mov rsi, qword [rsp + 0xc0]
add rsi, 0xfffffffffffffff8
mov rdi, r12
je 0x1401d18ec
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rax, [0x14003ae40]
mov qword [rsp + 0xd8], rax
lea rax, str.Q__
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.140036ab0
mov ebx, 1
test r15, r15
je 0x1401d1824
js 0x1401d1a5e
movzx eax, byte [0x1402d9160]
mov rax, qword [0x1402d9150]
test rax, rax
jne 0x1401d180b
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov qword [0x1402d9150], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
je 0x1401d1a5e
mov rcx, rbx
mov rdx, qword [rsp + 0x90]
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x28], 0
mov qword [rsp + 0xc0], rsi
je 0x1401d18a0
js 0x1401d1a5e
movzx eax, byte [0x1402d9160]
mov rax, qword [0x1402d9150]
test rax, rax
jne 0x1401d1875
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401d1a5e
mov qword [0x1402d9150], rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.kernel32.dll_HeapAlloc
mov rsi, rax
test rax, rax
jne 0x1401d18a5
jmp 0x1401d1a5e
mov esi, 1
mov rcx, rsi
mov r12, rdi
mov rdx, rdi
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xb8]
mov rdi, qword [rax + r13*8 - 8]
cmp r14, qword [rsp + 0x38]
jne 0x1401d16f0
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.14008a230
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
jmp 0x1401d16f0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0xa0], 0
je 0x1401d192b
mov r8, qword [rsp + 0x98]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x28], 0
movzx ebx, byte [rsp + 0x27]
mov r14, qword [rsp + 0xb0]
je 0x1401d1951
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
test r15, r15
je 0x1401d196c
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, qword [rsp + 0x90]
call sub.kernel32.dll_HeapFree
mov rsi, qword [r14 + 0x80]
test rsi, rsi
je 0x1401d1a03
mov rdi, qword [r14 + 0x70]
add rdi, 0x50
jmp 0x1401d1999
add rdi, 0x70
dec rsi
je 0x1401d1a03
cmp qword [rdi - 0x48], 0
je 0x1401d19b2
mov r8, qword [rdi - 0x50]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov r8, qword [rdi - 8]
test r8, r8
je 0x1401d19cf
cmp qword [rdi], 0
je 0x1401d19cf
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rdi - 0x30], 0
je 0x1401d19e8
mov r8, qword [rdi - 0x38]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rdi - 0x18], 0
je 0x1401d1990
mov r8, qword [rdi - 0x20]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1401d1990
lea rsi, [r14 + 0x70]
cmp qword [r14 + 0x78], 0
je 0x1401d1a1f
mov r8, qword [rsi]
mov rcx, qword [0x1402d9150]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bl
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 1
jmp 0x1401d1519
cmp r8, rax
jbe 0x1401d12ff
ud2
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1401d132c
jmp 0x1401d133d