Function at 0x14019fc00
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 0x14019ff59
sub r8d, 1
je 0x14019fe81
cmp r8d, 1
jne 0x14019fcac
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 0x14019fdb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14019fcf8
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14019fcac
call fcn.14021b810
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.140214340
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 0x14019fd6e
cmp rsi, 0x40
jle 0x14019fd46
lea rcx, [rsi + rsi]
call fcn.140223aa8
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401a0031
jmp 0x14019fd4f
lea rdi, [rbp - 0x28]
mov esi, 0x40
mov r13, rdi
test r12, r12
je 0x14019fd66
lea r8, [r12 + r12]
mov rdx, r14
mov rcx, rdi
call fcn.140240000
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
lea rax, [rbp - 0x28]
cmp r14, rax
je 0x14019fd8c
cmp r14, r13
je 0x14019fd8c
mov rcx, r14
call fcn.14021b810
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 0x14019fc9a
xor esi, esi
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.14008e230
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 0x14019fe12
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019fe12
mov rcx, qword [rsp + 0x78]
call fcn.14021b810
cmp qword [rsp + 0x30], 0
jne 0x14019fe3b
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 0x14019fe48
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b0c80
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14019fe66
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fe66
mov rcx, qword [rsp + 0x20]
call fcn.14021b810
nop
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14019fccb
call fcn.14021b810
jmp 0x14019fccb
mov r9d, SHCreateThread
lea r8, [rbp + 0x60]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14019fcac
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14008e230
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 0x14019fef9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019fef9
mov rcx, qword [rbp - 0x70]
call fcn.14021b810
cmp qword [rsp + 0x48], 0
jne 0x14019ff22
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 0x14019ff2f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400b0c80
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14019fccb
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fccb
mov rcx, qword [rsp + 0x38]
call fcn.14021b810
jmp 0x14019fccb
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 0x14019fcac
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14008e230
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 0x14019ffd1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14019ffd1
mov rcx, qword [rbp - 0x58]
call fcn.14021b810
cmp qword [rsp + 0x60], 0
jne 0x14019fffa
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 0x1401a0007
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400b0c80
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14019fccb
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14019fccb
mov rcx, qword [rsp + 0x50]
call fcn.14021b810
jmp 0x14019fccb
call fcn.14010b060
int3