Function at 0x180001d50
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x98
mov rax, qword [0x18012c100]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov rdi, r8
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x61], rcx
mov qword [rbp - 1], rdx
xor r12d, r12d
mov rsi, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rbp + 0x7f]
cmp rsi, rax
je 0x180001e75
mov r11, qword [rsi]
cmp qword [r11 + 8], r15
jb 0x180001e68
mov r11, qword [r11 + 0x10]
test r11, r11
je 0x180001e68
nop dword [rax]
mov r9, qword [r11 + 8]
mov rax, qword [r11 + 0x10]
sub rax, r9
cmp rax, r15
jb 0x180001e58
mov qword [rbp - 1], rbx
mov qword [rbp - 0x51], r9
mov r10, qword [rdi + 8]
mov rax, qword [rdi]
cmp rax, r10
je 0x180001e14
nop dword [rax + rax]
mov r8, qword [rax]
mov rdx, r9
sub rdx, r8
mov rcx, r8
sub rcx, r9
cmp r9, r8
cmova rcx, rdx
cmp rcx, rbx
ja 0x180001e58
add rax, 8
cmp rax, r10
jne 0x180001df0
lea rcx, [r15 + r9]
mov qword [r11 + 8], rcx
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18000212e
mov eax, dword [rdx + 8]
test eax, eax
je 0x18000212e
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180001f04
test eax, eax
je 0x18000212e
jmp 0x180001e40
mov r11, qword [r11]
test r11, r11
jne 0x180001dc0
mov rax, qword [r14 + 0x18]
add rsi, 8
cmp rsi, rax
jne 0x180001da3
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 0x4d]
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x29]
mov dword [rbp - 0x1d], eax
mov rax, qword [rbp - 0x21]
shr rax, 0x20
lea r14, [rax - 1]
add r14, r15
dec rax
not rax
and r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov r9, rbx
mov r8, r14
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.180002140
cmp byte [rbp - 0x19], r12b
jne 0x180001fd1
movzx ecx, byte [rbp - 0x21]
mov byte [r13], cl
mov byte [r13 + 0x20], r12b
mov rax, r13
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180068380
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [r14]
mov qword [rbp - 0x21], rcx
mov rax, qword [r14 + 8]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r9
mov qword [rbp - 9], r15
lea rdx, [rbp - 0x21]
mov rcx, r13
call fcn.180001570
mov byte [r13 + 0x20], 1
mov edi, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180001f8f
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x180001f8f
mov r8, qword [rbp - 9]
test r8, r8
je 0x180001f8f
call fcn.180001bb0
mov rbx, qword [rbp - 0x19]
mov qword [rbp - 0x19], r12
test rbx, rbx
je 0x180001f93
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180001f8f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180001f8f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r12, qword [rbp - 0x19]
test r12, r12
je 0x180002129
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x180002129
mov rbx, qword [rbp - 0x19]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180002129
mov rcx, qword [rbp - 0x19]
jmp 0x180002122
mov rbx, qword [rbp - 0x61]
lea rdi, [rbx + 0x10]
mov ecx, 0x18
call fcn.1800684c0
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rbp - 1], rax
mov rdx, qword [rbx + 0x18]
cmp rdx, qword [rbx + 0x20]
je 0x18000200d
mov qword [rdx], rax
mov rbx, qword [rdi + 8]
lea rax, [rbx + 8]
mov qword [rdi + 8], rax
jmp 0x18000201c
lea r8, [rbp - 1]
mov rcx, rdi
call fcn.180004a40
mov rbx, rax
mov rcx, qword [rbx]
mov rsi, qword [rbp - 0x21]
mov qword [rcx], rsi
mov rcx, qword [rbx]
mov qword [rcx + 8], r14
mov ecx, 0x18
call fcn.1800684c0
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov r8, qword [rbx]
mov rdi, qword [r8 + 0x10]
mov qword [r8 + 0x10], rax
test rdi, rdi
je 0x180002067
mov rcx, rdi
call fcn.180004820
mov edx, 0x18
mov rcx, rdi
call fcn.180068874
lea rdx, [r15 + rsi]
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 8], rdx
lea rdx, [rsi + r14]
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
mov r8, qword [rbp - 0x61]
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x18000212e
mov eax, dword [rdx + 8]
test eax, eax
je 0x18000212e
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1800020b1
test eax, eax
jne 0x1800020a1
jmp 0x18000212e
mov rcx, qword [r8]
mov qword [rbp - 0x51], rcx
mov rax, qword [r8 + 8]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x21]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], r15
lea rdx, [rbp - 0x51]
mov rcx, r13
call fcn.180001570
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x51]
call fcn.1800016e0
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180002129
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180002129
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180002129
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x180001ee1
call fcn.1800014d0
int3