Function at 0x1800579e0
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 [0x1801bf040]
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 0x180057b05
mov r11, qword [rsi]
cmp qword [r11 + 8], r15
jb 0x180057af8
mov r11, qword [r11 + 0x10]
test r11, r11
je 0x180057af8
nop dword [rax]
mov r9, qword [r11 + 8]
mov rax, qword [r11 + 0x10]
sub rax, r9
cmp rax, r15
jb 0x180057ae8
mov qword [rbp - 1], rbx
mov qword [rbp - 0x51], r9
mov r10, qword [rdi + 8]
mov rax, qword [rdi]
cmp rax, r10
je 0x180057aa4
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 0x180057ae8
add rax, 8
cmp rax, r10
jne 0x180057a80
lea rcx, [r15 + r9]
mov qword [r11 + 8], rcx
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180057dbe
mov eax, dword [rdx + 8]
test eax, eax
je 0x180057dbe
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180057b94
test eax, eax
je 0x180057dbe
jmp 0x180057ad0
mov r11, qword [r11]
test r11, r11
jne 0x180057a50
mov rax, qword [r14 + 0x18]
add rsi, 8
cmp rsi, rax
jne 0x180057a33
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.180057dd0
cmp byte [rbp - 0x19], r12b
jne 0x180057c61
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.180083030
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.180057200
mov byte [r13 + 0x20], 1
mov edi, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180057c1f
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x180057c1f
mov r8, qword [rbp - 9]
test r8, r8
je 0x180057c1f
call fcn.180057840
mov rbx, qword [rbp - 0x19]
mov qword [rbp - 0x19], r12
test rbx, rbx
je 0x180057c23
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180057c1f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180057c1f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r12, qword [rbp - 0x19]
test r12, r12
je 0x180057db9
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x180057db9
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 0x180057db9
mov rcx, qword [rbp - 0x19]
jmp 0x180057db2
mov rbx, qword [rbp - 0x61]
lea rdi, [rbx + 0x10]
mov ecx, 0x18
call fcn.180083058
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 0x180057c9d
mov qword [rdx], rax
mov rbx, qword [rdi + 8]
lea rax, [rbx + 8]
mov qword [rdi + 8], rax
jmp 0x180057cac
lea r8, [rbp - 1]
mov rcx, rdi
call fcn.180059e40
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.180083058
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 0x180057cf7
mov rcx, rdi
call fcn.180059ce0
mov edx, 0x18
mov rcx, rdi
call fcn.180083050
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 0x180057dbe
mov eax, dword [rdx + 8]
test eax, eax
je 0x180057dbe
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180057d41
test eax, eax
jne 0x180057d31
jmp 0x180057dbe
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.180057200
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x51]
call fcn.180057370
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180057db9
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180057db9
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 0x180057db9
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x180057b71
call fcn.1800571a0
int3