Function at 0x14019fbd0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x70], rdx
xor esi, esi
mov dword [rsp + 0x68], esi
test r8d, r8d
je 0x14019ff29
sub r8d, 1
je 0x14019fe51
cmp r8d, 1
jne 0x14019fc7c
mov qword [rbp - 0x40], 0x40
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], 0x40
lea r9d, [rsi + 0x40]
lea r8, [rbp - 0x28]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14019fd85
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14019fcc8
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14019fc7c
call fcn.14021b7f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rbx + 0x18], rax
mov rax, rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140214310
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x40]
mov ecx, 0xff
mov esi, ecx
cmp rax, rcx
cmovg rsi, rax
mov rdi, qword [rbp - 0x30]
mov r14, rdi
mov r12, qword [rbp - 0x38]
cmp r12, rcx
cmovg r12, rcx
mov r13, rdi
cmp rsi, rax
je 0x14019fd3e
cmp rsi, 0x40
jle 0x14019fd16
lea rcx, [rsi + rsi]
call fcn.140223a88
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401a0001
jmp 0x14019fd1f
lea rdi, [rbp - 0x28]
mov esi, 0x40
mov r13, rdi
test r12, r12
je 0x14019fd36
lea r8, [r12 + r12]
mov rdx, r14
mov rcx, rdi
call fcn.14023ffe0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
lea rax, [rbp - 0x28]
cmp r14, rax
je 0x14019fd5c
cmp r14, r13
je 0x14019fd5c
mov rcx, r14
call fcn.14021b7f0
mov rdi, qword [rbp - 0x30]
mov qword [rbp - 0x38], 0xff
mov r9d, 0xff
mov r8, rdi
mov edx, 0x1008
mov ecx, dword [r15]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14019fc6a
xor esi, esi
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14019fde2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019fde2
mov rcx, qword [rsp + 0x78]
call fcn.14021b7f0
cmp qword [rsp + 0x30], 0
jne 0x14019fe0b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rbx + 0x18], rax
jmp 0x14019fe18
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b0c50
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14019fe36
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fe36
mov rcx, qword [rsp + 0x20]
call fcn.14021b7f0
nop
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14019fc9b
call fcn.14021b7f0
jmp 0x14019fc9b
mov r9d, 0xd
lea r8, [rbp + 0x60]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14019fc7c
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x48], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14019fec9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019fec9
mov rcx, qword [rbp - 0x70]
call fcn.14021b7f0
cmp qword [rsp + 0x48], 0
jne 0x14019fef2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rbx + 0x18], rax
jmp 0x14019feff
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400b0c50
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14019fc9b
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fc9b
mov rcx, qword [rsp + 0x38]
call fcn.14021b7f0
jmp 0x14019fc9b
mov r9d, 9
lea r8, [rbp + 0x60]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14019fc7c
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14019ffa1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019ffa1
mov rcx, qword [rbp - 0x58]
call fcn.14021b7f0
cmp qword [rsp + 0x60], 0
jne 0x14019ffca
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rbx + 0x18], rax
jmp 0x14019ffd7
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400b0c50
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14019fc9b
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fc9b
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
jmp 0x14019fc9b
call fcn.14010b030
int3