Function at 0x14001e260
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rdx
xor r12d, r12d
mov ecx, 0x20a
call fcn.140028c8c
mov rdi, rax
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001e657
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [0x140030024]
lea r14, [r12 - 1]
cmp rdx, 0x10000
jae 0x14001e2e5
movzx edx, dx
lea rcx, [rbp - 0x30]
call fcn.14000acd0
jmp 0x14001e307
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e2f0
mov r8d, eax
lea rcx, [rbp - 0x30]
call fcn.14000aee0
nop
mov word [rdi], r12w
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001e31c
mov rcx, qword [rbx]
cmp r8, 2
jne 0x14001e336
lea rdx, [0x140031098]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001e336
mov al, 1
jmp 0x14001e338
xor al, al
lea r13, str._x_sys_default_locale
mov rcx, r12
test al, al
cmovne rcx, r13
mov r9d, 0x104
mov r8, rdi
mov edx, 0x59
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001e3e6
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14001e37f
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001e399
call fcn.140001540
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14001e662
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdx, str.unknown_
lea rcx, [rbp - 0x28]
cmp rdx, 0x10000
jae 0x14001e3c5
movzx edx, dx
call fcn.14000acd0
jmp 0x14001e3cb
call fcn.14000a8c0
nop
mov rdx, qword [rbp - 0x28]
lea rsi, [rdx - 0x18]
mov r8d, dword [rsi + 8]
lea rcx, [rbp - 0x30]
call fcn.14000ab00
nop
jmp 0x14001e486
mov rax, r14
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001e3f0
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14000ab00
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14001e424
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001e43e
call fcn.140001540
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14001e662
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdx, [0x14002f3cc]
lea rcx, [rbp - 0x28]
cmp rdx, 0x10000
jae 0x14001e46a
movzx edx, dx
call fcn.14000acd0
jmp 0x14001e470
call fcn.14000a8c0
nop
mov rdx, qword [rbp - 0x28]
lea rsi, [rdx - 0x18]
mov r8d, dword [rsi + 8]
lea rcx, [rbp - 0x30]
call fcn.14000ab00
nop
mov eax, r14d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14001e49f
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + VariantCopy]
mov word [rdi], r12w
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001e4b4
mov rcx, qword [rbx]
cmp r8, 2
jne 0x14001e4ce
lea rdx, [0x140031098]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001e4ce
mov al, 1
jmp 0x14001e4d0
xor al, al
mov rcx, r12
test al, al
cmovne rcx, r13
mov r9d, 0x104
mov r8, rdi
mov edx, 0x5a
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001e58d
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14001e510
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001e52a
call fcn.140001540
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14001e662
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rdx, [0x14002f350]
lea rcx, [rbp - 0x20]
cmp rdx, 0x10000
jae 0x14001e556
movzx edx, dx
call fcn.14000acd0
jmp 0x14001e55c
call fcn.14000a8c0
nop
mov rdx, qword [rbp - 0x20]
lea rsi, [rdx - 0x18]
mov r8d, dword [rsi + 8]
lea rcx, [rbp - 0x30]
call fcn.14000ab00
nop
mov eax, r14d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14001e5a9
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + VariantCopy]
jmp 0x14001e5a9
mov rax, r14
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001e590
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14000ab00
mov rcx, rdi
call fcn.1400286c0
lea rcx, [rbp - 0x30]
call fcn.14001f410
mov rdx, rax
mov rcx, r15
call fcn.14000a0f0
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14001e5e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001e61a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001e615
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001e650
mov rcx, r8
call fcn.1400286c0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, r15
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80004005
call fcn.140001300
int3