Function at 0x1401a37e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov esi, r9d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x68], rdx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
lea rcx, [rbp + 0x230]
call fcn.1401043d0
mov r14d, eax
cmp eax, 0x641
jge 0x1401a3851
mov rcx, qword [rbp + 0x230]
call fcn.14018b6b0
mov word [rbp - 0x68], ax
jmp 0x1401a3856
mov word [rbp - 0x68], r14w
lea rcx, [rbp + 0x230]
call fcn.140100730
mov word [rbp - 0x66], ax
lea rcx, [rbp + 0x230]
call fcn.1400fe010
mov word [rbp - 0x62], ax
neg esi
sbb edx, edx
add edx, 2
mov dword [rsp + 0x28], 0xff
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x68]
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x1401a3ad1
mov rsi, 0xffffffffffffffff
mov r8, rsi
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008e200
nop
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401a3903
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a3903
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
nop
cmp r14d, 0x641
jge 0x1401a397e
movzx r9d, word [rbp - 0x68]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, r14d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1401a5280
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401a397e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a397e
mov rcx, qword [rsp + 0x68]
call fcn.14021b7f0
mov eax, dword [rdi + 4]
test eax, eax
jne 0x1401a3a14
lea r9d, [rax + 8]
lea r8, [rbp - 0x58]
mov edx, 0x1014
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401a39ae
mov dword [rdi + 4], 3
jmp 0x1401a3a7b
movzx eax, word [rbp - 0x58]
cmp ax, 0x31
je 0x1401a3a0c
cmp ax, 0x30
jne 0x1401a39c5
mov eax, 1
jmp 0x1401a3a11
cmp ax, 0x32
jne 0x1401a39d2
mov eax, 2
jmp 0x1401a3a11
mov r9d, 0xb
lea r8, [rbp - 0x48]
lea edx, [r9 + 8]
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401a39f8
mov dword [rdi + 4], 3
jmp 0x1401a3a7b
movzx ecx, word [rbp - 0x48]
add ecx, 2
movzx eax, word [rbp - 0x58]
cmp eax, ecx
mov eax, 2
je 0x1401a3a11
mov eax, 3
mov dword [rdi + 4], eax
cmp eax, 2
jne 0x1401a3a7b
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1401a2400
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401a3a7b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a3a7b
mov rcx, qword [rbp - 0x80]
call fcn.14021b7f0
cmp qword [rsp + 0x40], 0
jne 0x1401a3aa4
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 0x1401a3ab2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400b0c50
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1401a3af0
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401a3af0
mov rcx, qword [rsp + 0x30]
call fcn.14021b7f0
jmp 0x1401a3af0
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 + 0x1d0]
xor rcx, rsp
call fcn.140214310
add rsp, 0x2e8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret