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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x14009b978]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, rdx
mov r15, rcx
lea r13, [0x14009b020]
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x1400647f2
test byte [rcx + 0x1c], 4
je 0x1400647f2
cmp byte [rcx + 0x19], 5
jb 0x1400647f2
mov edx, 0x16
lea rsi, [0x14008de50]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400042fc
jmp 0x1400647f9
lea rsi, [0x14008de50]
and dword [rsp + 0x3c], 0
and dword [rsp + 0x30], 0
lea r8, [r15 + 0x24]
lea rdx, str.UseGroup
mov rcx, r14
call fcn.14006eaa4
mov ebx, eax
test eax, eax
je 0x140064859
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x17
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
jmp 0x140064b45
cmp dword [r15 + 0x24], 0
jne 0x1400648dd
lea r8, [r15 + 0x20]
lea rdx, str.DeviceID
mov rcx, r14
call fcn.14006eaa4
mov ebx, eax
test eax, eax
je 0x1400648a4
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x18
jmp 0x140064845
cmp dword [r15 + 0x20], 0
jne 0x140064a30
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b40
test byte [rcx + 0x1c], 4
je 0x140064b40
cmp byte [rcx + 0x19], 2
jb 0x140064b40
mov edx, 0x19
jmp 0x140064b34
xor edx, edx
mov r8d, 0x102
lea rcx, [rsp + 0x50]
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140064951
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x1a
jmp 0x140064845
cmp dword [rsp + 0x38], 1
jne 0x140064b17
cmp dword [rsp + 0x34], 0x100
ja 0x140064b17
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.GroupName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400649d0
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x1c
jmp 0x140064845
lea rdx, [rsp + 0x50]
mov rcx, qword [0x14009f560]
call fcn.140060340
test rax, rax
jne 0x140064a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x1d
jmp 0x140064845
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14002dae4
nop
lea r8, [rsp + 0x3c]
lea rdx, [0x14008dd60]
mov rcx, r14
call fcn.14006eaa4
mov ebx, eax
test eax, eax
je 0x140064a78
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x1f
jmp 0x140064845
lea r8, [rsp + 0x30]
lea rdx, str.AreaCode
mov rcx, r14
call fcn.14006eaa4
mov ebx, eax
test eax, eax
je 0x140064ac0
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
mov edx, 0x20
jmp 0x140064845
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [r15 + 0x28]
mov rax, qword [rsp + 0x40]
mov qword [rcx], rax
call fcn.1400646f8
test eax, eax
jne 0x140064b45
lea ebx, [rax + 0x57]
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b45
test byte [rcx + 0x1c], 4
je 0x140064b45
cmp byte [rcx + 0x19], 2
jb 0x140064b45
lea edx, [rax + 0x21]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400042fc
jmp 0x140064b45
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140064b40
test byte [rcx + 0x1c], 4
je 0x140064b40
cmp byte [rcx + 0x19], 2
jb 0x140064b40
mov edx, 0x1b
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400042fc
mov ebx, 0x3f1
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400018f0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rsi
ret