Function at 0x180293c50
Capabilities:
Get system information on windows
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb78
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xc8]
call fcn.1800740e0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov qword [rsp + 0x48], 0
jmp 0x180293ca4
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 2
jae 0x180293fa4
cmp qword [rsp + 0x48], 0
jbe 0x180293cca
movzx eax, word [rsp + 0x128]
cmp eax, 9
je 0x180293cca
jmp 0x180293fa4
lea rax, [0x1803a8540]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rax + rcx*4]
or eax, 0x20019
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
lea rdx, [0x1803a8e00]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x180293f94
mov dword [rsp + 0x50], 0x104
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x160]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x68], 0
jne 0x180293f94
lea rax, [0x1803a8540]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rax + rcx*4]
or eax, 0x20019
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180293f87
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x370], cx
mov dword [rsp + 0x6c], 0x800
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [0x1803a6350]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180293f87
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0xa8]
call fcn.1801eb5b0
nop
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa8]
call fcn.180073760
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xa8]
call fcn.1800737a0
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa8]
call fcn.180073760
lea rcx, [fcn.18017d134]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x88]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0xf8]
call fcn.180083630
lea rcx, [rsp + 0xa8]
call fcn.180003ba0
test rax, rax
je 0x180293f7a
lea rax, [0x1803a3120]
mov qword [rsp + 0x58], rax
jmp 0x180293ee8
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
je 0x180293f7a
lea rcx, [rsp + 0xa8]
call fcn.180073860
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.1801466d8
movzx eax, al
test eax, eax
je 0x180293f75
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x108]
call fcn.1801eb5b0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xc8]
call fcn.180074110
nop
lea rcx, [rsp + 0x108]
call fcn.180073360
jmp 0x180293eda
lea rcx, [rsp + 0xa8]
call fcn.180073360
mov dword [rsp + 0x50], 0x104
jmp 0x180293d21
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180293c97
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0xc8]
call fcn.180078dc0
mov rdx, rax
mov rcx, qword [rsp + 0xb80]
call fcn.180079a40
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xb80]
call fcn.1800ab5f0
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xc8]
call fcn.180074290
mov rax, qword [rsp + 0xb80]
add rsp, 0xb78
ret