Function at 0x14005c170
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14, rdx
mov r15, rcx
lea r13, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c1e1
test byte [rcx + 0x1c], 4
je 0x14005c1e1
cmp byte [rcx + 0x19], 5
jb 0x14005c1e1
mov edx, 0x16
lea rsi, [0x140083780]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001010
jmp 0x14005c1e8
lea rsi, [0x140083780]
and dword [rsp + 0x3c], 0
and dword [rsp + 0x30], 0
lea r8, [r15 + 0x2c]
lea rdx, str.UseGroup
mov rcx, r14
call fcn.1400668b8
mov ebx, eax
test eax, eax
je 0x14005c248
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x17
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x14005c522
cmp dword [r15 + 0x2c], 0
jne 0x14005c2cc
lea r8, [r15 + 0x28]
lea rdx, str.DeviceID
mov rcx, r14
call fcn.1400668b8
mov ebx, eax
test eax, eax
je 0x14005c293
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x18
jmp 0x14005c234
cmp dword [r15 + 0x28], 0
jne 0x14005c40d
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c51d
test byte [rcx + 0x1c], 4
je 0x14005c51d
cmp byte [rcx + 0x19], 2
jb 0x14005c51d
mov edx, 0x19
jmp 0x14005c511
xor edx, edx
mov r8d, 0x102
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.GroupName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14005c33a
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x1a
jmp 0x14005c234
cmp dword [rsp + 0x38], 1
jne 0x14005c4f4
cmp dword [rsp + 0x34], 0x100
ja 0x14005c4f4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.GroupName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14005c3b3
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x1c
jmp 0x14005c234
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140098480]
call fcn.140059404
test rax, rax
jne 0x14005c3ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x1d
jmp 0x14005c234
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14002a628
nop
lea r8, [rsp + 0x3c]
lea rdx, str.CountryCode
mov rcx, r14
call fcn.1400668b8
mov ebx, eax
test eax, eax
je 0x14005c455
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x1f
jmp 0x14005c234
lea r8, [rsp + 0x30]
lea rdx, str.AreaCode
mov rcx, r14
call fcn.1400668b8
mov ebx, eax
test eax, eax
je 0x14005c49d
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
mov edx, 0x20
jmp 0x14005c234
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [r15 + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rcx], rax
call fcn.14005bd10
test eax, eax
jne 0x14005c522
lea ebx, [rax + 0x57]
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c522
test byte [rcx + 0x1c], 4
je 0x14005c522
cmp byte [rcx + 0x19], 2
jb 0x14005c522
lea edx, [rax + 0x21]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001010
jmp 0x14005c522
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14005c51d
test byte [rcx + 0x1c], 4
je 0x14005c51d
cmp byte [rcx + 0x19], 2
jb 0x14005c51d
mov edx, 0x1b
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov ebx, 0x3f1
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rsi
ret