Function at 0x180002b90
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 [0x1800810c0]
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 0x180002cb5
mov r11, qword [rsi]
cmp qword [r11 + 8], r15
jb 0x180002ca8
mov r11, qword [r11 + 0x10]
test r11, r11
je 0x180002ca8
nop dword [rax]
mov r9, qword [r11 + 8]
mov rax, qword [r11 + 0x10]
sub rax, r9
cmp rax, r15
jb 0x180002c98
mov qword [rbp - 1], rbx
mov qword [rbp - 0x51], r9
mov r10, qword [rdi + 8]
mov rax, qword [rdi]
cmp rax, r10
je 0x180002c54
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 0x180002c98
add rax, 8
cmp rax, r10
jne 0x180002c30
lea rcx, [r15 + r9]
mov qword [r11 + 8], rcx
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x180002f6e
mov eax, dword [rdx + 8]
test eax, eax
je 0x180002f6e
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180002d44
test eax, eax
je 0x180002f6e
jmp 0x180002c80
mov r11, qword [r11]
test r11, r11
jne 0x180002c00
mov rax, qword [r14 + 0x18]
add rsi, 8
cmp rsi, rax
jne 0x180002be3
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.180002f80
cmp byte [rbp - 0x19], r12b
jne 0x180002e11
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.18000a0a0
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.1800023b0
mov byte [r13 + 0x20], 1
mov edi, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180002dcf
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x180002dcf
mov r8, qword [rbp - 9]
test r8, r8
je 0x180002dcf
call fcn.1800029f0
mov rbx, qword [rbp - 0x19]
mov qword [rbp - 0x19], r12
test rbx, rbx
je 0x180002dd3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180002dcf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180002dcf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r12, qword [rbp - 0x19]
test r12, r12
je 0x180002f69
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x180002f69
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 0x180002f69
mov rcx, qword [rbp - 0x19]
jmp 0x180002f62
mov rbx, qword [rbp - 0x61]
lea rdi, [rbx + 0x10]
mov ecx, 0x18
call fcn.18000a524
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 0x180002e4d
mov qword [rdx], rax
mov rbx, qword [rdi + 8]
lea rax, [rbx + 8]
mov qword [rdi + 8], rax
jmp 0x180002e5c
lea r8, [rbp - 1]
mov rcx, rdi
call fcn.180005480
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.18000a524
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 0x180002ea7
mov rcx, rdi
call fcn.180005290
mov edx, 0x18
mov rcx, rdi
call fcn.18000a438
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 0x180002f6e
mov eax, dword [rdx + 8]
test eax, eax
je 0x180002f6e
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x180002ef1
test eax, eax
jne 0x180002ee1
jmp 0x180002f6e
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.1800023b0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x51]
call fcn.180002520
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180002f69
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180002f69
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 0x180002f69
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x180002d21
call fcn.180002310
int3