Function at 0x140002110
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x580
mov rax, qword [0x140032030]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140002483
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x400
call fcn.14000d090
mov r9d, dword [rsp + 0x58]
lea rdx, [0x14002d1c0]
mov r8d, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.140007d80
lea rax, [rsp + 0x170]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1400021a4
lea rdx, [rsp + 0x170]
mov rcx, rsi
call fcn.140001b10
mov eax, dword [rsp + 0x54]
sub eax, 4
je 0x14000240d
sub eax, 1
je 0x1400022f5
sub eax, 1
je 0x140002218
mov rcx, rdi
cmp eax, 4
je 0x1400021fa
mov r8d, 0xe
lea rdx, [0x14002cf30]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ebx, 6
lea rdx, [0x14002d0b8]
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
mov ebx, 3
test eax, eax
je 0x1400022b3
sub eax, 1
je 0x14000226e
cmp eax, 1
je 0x14000224f
xor ebx, ebx
lea rdx, [0x14002d240]
mov rcx, rdi
lea r8d, [rbx + 0xe]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ebx, 5
lea rdx, [0x14002d0a0]
mov rcx, rdi
lea r8d, [rbx + 4]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x140002297
mov ebx, 4
lea rdx, [0x14002d058]
mov rcx, rdi
lea r8d, [rbx + 5]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, [0x14002d070]
mov r8d, 0x16
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x1400022d9
lea rdx, [0x14002d010]
mov r8d, 0xd
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, [0x14002d030]
mov r8d, 0x13
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400023ec
sub eax, 1
je 0x1400023da
cmp eax, 1
je 0x14000232b
mov r8d, 0xe
lea rdx, [0x14002d240]
mov rcx, rdi
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp byte [rsp + 0x16a], 1
jne 0x14000236d
cmp word [rsp + 0x20], 9
jne 0x14000236d
mov r8d, 0x23
lea rdx, [0x14002cf70]
mov rcx, rdi
call fcn.140001b10
cmp word [rsp + 0x164], 3
jb 0x14000247f
mov ebx, 3
mov eax, ebx
jmp 0x14000249a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140002396
lea r8d, [rax + 0x13]
mov rcx, rdi
lea rdx, [0x14002cfb8]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, rdi
test eax, eax
je 0x1400023c1
mov r8d, 0x16
lea rdx, [0x14002cfe0]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xe
lea rdx, [0x14002d220]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xa
lea rdx, [0x14002d208]
jmp 0x14000234a
mov r8d, 0xc
lea rdx, [0x14002cf50]
mov rcx, rdi
call fcn.140001b10
mov ebx, 2
mov eax, ebx
jmp 0x14000249a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140002445
cmp eax, 0xa
je 0x14000243c
mov rcx, rdi
cmp eax, 0x5a
jne 0x1400021e1
lea rdx, [0x14002cf18]
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
lea rdx, [0x14002cf00]
jmp 0x140002471
mov eax, dword [rsp + 0x60]
cmp eax, 2
jne 0x140002465
lea r8d, [rax + 0xc]
mov rcx, rdi
lea rdx, [0x14002cec8]
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
cmp eax, 1
jne 0x14000247f
lea rdx, [0x14002cee8]
mov rcx, rdi
mov r8d, 0xa
call fcn.140001b10
mov eax, ebx
jmp 0x14000249a
mov r8d, 0xe
lea rdx, [0x14002cf30]
mov rcx, rdi
call fcn.140001b10
xor eax, eax
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14000aa50
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret