Function at 0x140064d7c
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 [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, rdx
mov r15, rcx
lea r13, str._0_n_
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140064de2
test byte [rcx + 0x1c], 4
je 0x140064de2
cmp byte [rcx + 0x19], 5
jb 0x140064de2
mov edx, 0x16
lea rsi, [0x140095090]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
jmp 0x140064de9
lea rsi, [0x140095090]
and dword [rsp + 0x3c], 0
and dword [rsp + 0x30], 0
lea r8, [r15 + 0x24]
lea rdx, str.UseGroup
mov rcx, r14
call fcn.14006f620
mov ebx, eax
test eax, eax
je 0x140064e49
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x17
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x140065135
cmp dword [r15 + 0x24], 0
jne 0x140064ecd
lea r8, [r15 + 0x20]
lea rdx, str.DeviceID
mov rcx, r14
call fcn.14006f620
mov ebx, eax
test eax, eax
je 0x140064e94
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x18
jmp 0x140064e35
cmp dword [r15 + 0x20], 0
jne 0x140065020
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065130
test byte [rcx + 0x1c], 4
je 0x140065130
cmp byte [rcx + 0x19], 2
jb 0x140065130
mov edx, 0x19
jmp 0x140065124
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 0x140064f41
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x1a
jmp 0x140064e35
cmp dword [rsp + 0x38], 1
jne 0x140065107
cmp dword [rsp + 0x34], 0x100
ja 0x140065107
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 0x140064fc0
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x1c
jmp 0x140064e35
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1400a7720]
call fcn.1400608e0
test rax, rax
jne 0x140065012
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x1d
jmp 0x140064e35
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14002df70
nop
lea r8, [rsp + 0x3c]
lea rdx, [0x140094fa0]
mov rcx, r14
call fcn.14006f620
mov ebx, eax
test eax, eax
je 0x140065068
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x1f
jmp 0x140064e35
lea r8, [rsp + 0x30]
lea rdx, str.AreaCode
mov rcx, r14
call fcn.14006f620
mov ebx, eax
test eax, eax
je 0x1400650b0
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
mov edx, 0x20
jmp 0x140064e35
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.140064ce8
test eax, eax
jne 0x140065135
lea ebx, [rax + 0x57]
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065135
test byte [rcx + 0x1c], 4
je 0x140065135
cmp byte [rcx + 0x19], 2
jb 0x140065135
lea edx, [rax + 0x21]
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
jmp 0x140065135
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x140065130
test byte [rcx + 0x1c], 4
je 0x140065130
cmp byte [rcx + 0x19], 2
jb 0x140065130
mov edx, 0x1b
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
mov ebx, 0x3f1
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001b10
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rsi
ret