Function at 0x140022b4c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r13
push r14
lea rbp, [rax - 0xa8]
sub rsp, 0x190
lea rcx, [0x1400f1430]
call fcn.1400053cc
xor esi, esi
mov dword [rsp + 0x70], 0x11c
lea rcx, [rsp + 0x70]
mov byte [0x1400f1472], sil
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x74]
lea rdx, [rbp - 0x7c]
mov dword [0x1400f1420], eax
lea rcx, [0x1400f1430]
mov eax, dword [rsp + 0x78]
mov dword [0x1400f1424], eax
mov eax, dword [rsp + 0x7c]
mov dword [0x1400f1428], eax
call fcn.140004344
mov r10, qword [0x1400f1438]
lea edi, [rsi + 1]
or r14, 0xffffffffffffffff
lea r13, [0x1400b7514]
mov r8d, esi
test r10, r10
jne 0x14006a764
mov r8, r14
cmp r8, r14
lea rcx, [0x1400f1430]
cmove r8, r14
xor edx, edx
call fcn.1400099a4
mov r9, qword [0x1400f1438]
mov rdx, rsi
lea rcx, [r9 - 1]
test r9, r9
je 0x140022daa
mov rbx, qword [0x1400f1430]
mov r10, rsi
mov r8, rsi
mov r11d, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [rbx + rcx*2], r11w
lea rax, [r8 + 1]
cmovne rax, r8
add r10, rdi
mov r8, rax
movzx r11d, word [r13 + r10*2]
test r11w, r11w
jne 0x140022c2b
test rax, rax
jne 0x14006a7ac
cmp rcx, r14
lea rax, [rcx + 1]
mov rdx, rsi
lea rcx, [0x1400f1430]
cmovne rdx, rax
mov r8, r14
call fcn.1400099a4
mov eax, dword [0x1400f1420]
mov word [0x1400f146d], si
mov qword [0x1400f1450], rsi
mov qword [0x1400f1458], rsi
mov qword [0x1400f1460], rsi
mov dword [0x1400f1468], esi
mov byte [0x1400f146c], sil
sub eax, 5
je 0x14006a92c
sub eax, edi
je 0x14006a80c
cmp eax, 4
jne 0x140022d25
cmp dword [0x1400f1424], esi
mov byte [0x1400f1451], dil
mov byte [0x1400f1453], dil
mov byte [0x1400f145f], dil
mov byte [0x1400f145d], dil
mov byte [0x1400f145b], dil
mov byte [0x1400f1459], dil
mov byte [0x1400f1455], dil
mov byte [0x1400f1461], dil
mov byte [0x1400f1463], dil
mov byte [0x1400f1465], dil
jne 0x140022d25
cmp byte [rbp + 0x8a], dil
jne 0x14006a7ce
cmp dword [rsp + 0x7c], 0x55ec
jae 0x14006a7c0
mov byte [0x1400f1464], dil
mov dword [rbp + 0xb0], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
movzx ebx, byte [0x1400f146e]
lea rcx, [rsp + 0x38]
cmp dword [rbp + 0xb0], edi
cmove ebx, edi
xor edx, edx
mov byte [0x1400f146e], bl
lea r8d, [rdx + 0x30]
call fcn.1400267d0
test bl, bl
jne 0x14006a984
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x38]
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov word [0x1400f1470], ax
lea rax, [0x1400f1420]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
mov rcx, r14
jmp 0x140022c53
mov r11, qword [0x1400f1430]
mov rdx, rsi
mov rcx, rsi
mov r9d, reloc.OLEAUT32.dll_RegisterActiveObject
cmp word [r11 + r8*2], r9w
lea rax, [rcx + 1]
cmovne rax, rcx
add rdx, rdi
mov rcx, rax
movzx r9d, word [r13 + rdx*2]
test r9w, r9w
jne 0x14006a777
test rax, rax
je 0x140022bec
add r8, rdi
cmp r8, r10
jb 0x14006a76b
jmp 0x140022be9
sub rcx, rdi
add rdx, rdi
cmp rdx, r9
jb 0x140022c1f
jmp 0x140022daa
mov word [0x1400f1466], 0x101
jmp 0x140022d25
cmp dword [rsp + 0x7c], 0x44ff
jae 0x14006a7e6
mov word [0x1400f1468], 0x101
jmp 0x140022d25
cmp dword [rsp + 0x7c], 0x4f7c
jae 0x14006a7fe
mov word [0x1400f146a], 0x101
jmp 0x140022d25
mov word [0x1400f146c], 0x101
jmp 0x140022d25
mov eax, dword [0x1400f1424]
mov byte [0x1400f1451], dil
mov byte [0x1400f1453], dil
test eax, eax
jne 0x14006a850
cmp byte [rbp + 0x8a], dil
jne 0x14006a83b
mov word [0x1400f1454], 0x101
jmp 0x140022d25
mov word [0x1400f1455], 0x101
mov byte [0x1400f1457], dil
jmp 0x140022d25
cmp eax, edi
jne 0x14006a88e
mov byte [0x1400f1455], dil
mov byte [0x1400f1457], dil
cmp byte [rbp + 0x8a], dil
jne 0x14006a879
mov word [0x1400f1458], 0x101
jmp 0x140022d25
mov word [0x1400f1459], 0x101
mov byte [0x1400f145b], dil
jmp 0x140022d25
cmp eax, 2
jne 0x14006a8d4
mov byte [0x1400f145b], dil
mov byte [0x1400f1459], dil
mov byte [0x1400f1455], dil
cmp byte [rbp + 0x8a], dil
jne 0x14006a8bf
mov word [0x1400f145c], 0x101
jmp 0x140022d25
mov word [0x1400f145d], 0x101
mov byte [0x1400f145f], dil
jmp 0x140022d25
cmp eax, 3
jne 0x140022d25
mov byte [0x1400f145f], dil
mov byte [0x1400f145d], dil
mov byte [0x1400f145b], dil
mov byte [0x1400f1459], dil
mov byte [0x1400f1455], dil
cmp byte [rbp + 0x8a], dil
jne 0x14006a917
mov word [0x1400f1460], 0x101
jmp 0x140022d25
mov word [0x1400f1461], 0x101
mov byte [0x1400f1463], dil
jmp 0x140022d25
mov eax, dword [0x1400f1424]
cmp eax, edi
jne 0x14006a941
mov word [0x1400f1450], 0x101
jmp 0x14006a96d
cmp eax, 2
jne 0x14006a96d
mov byte [0x1400f1451], dil
mov byte [0x1400f1453], dil
cmp byte [rbp + 0x8a], dil
jne 0x14006a966
mov byte [0x1400f1450], dil
jmp 0x14006a96d
mov byte [0x1400f1452], dil
mov al, byte [rbp + 0x88]
shr al, 6
and al, dil
mov byte [0x1400f1472], al
jmp 0x140022d25
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
call fcn.14007402c
test al, al
je 0x14006a9be
lea rcx, [rsp + 0x20]
call fcn.14007402c
test al, al
lea rdx, [fcn.140024e48]
lea rcx, [rsp + 0x38]
cmovne rdx, qword [rsp + 0x30]
call rdx
jmp 0x14006a9c9
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140022d7a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x140022d7a