Function at 0x140029160
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2878
call fcn.14002d7c0
sub rsp, rax
mov rax, qword [0x1400cada8]
xor rax, rsp
mov qword [rsp + 0x2868], rax
mov dword [rsp + 0x2860], 0x384
mov dword [rsp + 0x34], 0x800
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x1858], 4
cmp dword [0x1400ca420], 0
je 0x1400294c6
lea r9, [0x1400e3940]
lea r8, [0x1400ca0f0]
lea rdx, str.SRAC
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_52
call fcn.14002abd0
lea r8, [0x140029fe0]
mov edx, 0xc
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
lea r8, [0x140029e60]
mov edx, 0xd
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
lea r8, [0x140029f30]
mov edx, 0xe
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov r8d, Ordinal_34
mov edx, 6
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov r8d, 0x4d2
mov edx, 8
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
cmp dword [0x1400e394c], 0
je 0x140029317
mov r8, 0xffffffffffffffff
mov edx, 9
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
lea rax, [rsp + 0x1850]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400ca438]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140029315
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2864]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1858]
xor r8d, r8d
lea rdx, str.LicenseSetting
mov rcx, qword [rsp + 0x1850]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140029307
cmp dword [rsp + 0x1858], 4
jne 0x140029307
cmp dword [rsp + 0x2864], 0x32
jne 0x140029307
mov r8d, 5
mov edx, 9
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov rcx, qword [rsp + 0x1850]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14002932e
mov r8d, 5
mov edx, 9
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov r8d, Ordinal_34
mov edx, 7
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
movsxd rax, dword [rsp + 0x2860]
mov r8, rax
mov edx, reloc.LMGR10.dll_Ordinal_63
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov r8d, 1
mov edx, 0x40
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
xor r8d, r8d
mov edx, Ordinal_79
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
lea rax, [rsp + 0x1850]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWARESRACLicense
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400294bc
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.COSMOS_LICENSE_FILE
mov rcx, qword [rsp + 0x1850]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140029432
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x850]
call fcn.14002d590
lea r8, [rsp + 0x850]
mov edx, Ordinal_59
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_61
mov rcx, qword [rsp + 0x1850]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x800
lea rdx, [rsp + 0x1050]
lea rcx, [0x1400ca490]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140029485
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x1050]
lea rdx, [0x1400ca4a4]
lea rcx, [rsp + 0x1860]
call fcn.14002d710
jmp 0x1400294a1
lea r8, [rsp + 0x850]
lea rdx, [0x1400ca48c]
lea rcx, [rsp + 0x1860]
call fcn.14002d710
lea r8, [rsp + 0x1860]
lea rdx, str.SRAC_LICENSE_FILE
mov rcx, qword [0x1400e3940]
call sub.LMGR10.dll_Ordinal_244
mov dword [0x1400ca420], 0
mov rcx, qword [rsp + 0x2868]
xor rcx, rsp
call fcn.14002cdc0
add rsp, 0x2878
ret