Function at 0x1401a8810
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 [0x14038d940]
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 0x1401a8b69
sub r8d, 1
je 0x1401a8a91
cmp r8d, 1
jne 0x1401a88bc
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 0x1401a89c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1401a8908
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x1401a88bc
call fcn.1402275a0
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.1402200b0
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 0x1401a897e
cmp rsi, 0x40
jle 0x1401a8956
lea rcx, [rsi + rsi]
call fcn.14022f948
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401a8c41
jmp 0x1401a895f
lea rdi, [rbp - 0x28]
mov esi, 0x40
mov r13, rdi
test r12, r12
je 0x1401a8976
lea r8, [r12 + r12]
mov rdx, r14
mov rcx, rdi
call fcn.14024bde0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
lea rax, [rbp - 0x28]
cmp r14, rax
je 0x1401a899c
cmp r14, r13
je 0x1401a899c
mov rcx, r14
call fcn.1402275a0
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 0x1401a88aa
xor esi, esi
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401a8a22
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a8a22
mov rcx, qword [rsp + 0x78]
call fcn.1402275a0
cmp qword [rsp + 0x30], 0
jne 0x1401a8a4b
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 0x1401a8a58
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b0420
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1401a8a76
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1401a8a76
mov rcx, qword [rsp + 0x20]
call fcn.1402275a0
nop
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x1401a88db
call fcn.1402275a0
jmp 0x1401a88db
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 0x1401a88bc
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rsi
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a8b09
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a8b09
mov rcx, qword [rbp - 0x70]
call fcn.1402275a0
cmp qword [rsp + 0x48], 0
jne 0x1401a8b32
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 0x1401a8b3f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400b0420
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1401a88db
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1401a88db
mov rcx, qword [rsp + 0x38]
call fcn.1402275a0
jmp 0x1401a88db
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 0x1401a88bc
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rsp + 0x50], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rsi
mov qword [rsp + 0x58], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1401a8be1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a8be1
mov rcx, qword [rbp - 0x58]
call fcn.1402275a0
cmp qword [rsp + 0x60], 0
jne 0x1401a8c0a
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 0x1401a8c17
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400b0420
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1401a88db
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1401a88db
mov rcx, qword [rsp + 0x50]
call fcn.1402275a0
jmp 0x1401a88db
call fcn.14010bc70
int3