Function at 0x1401a3810
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.140104400
mov r14d, eax
cmp eax, 0x641
jge 0x1401a3881
mov rcx, qword [rbp + 0x230]
call fcn.14018b6e0
mov word [rbp - 0x68], ax
jmp 0x1401a3886
mov word [rbp - 0x68], r14w
lea rcx, [rbp + 0x230]
call fcn.140100760
mov word [rbp - 0x66], ax
lea rcx, [rbp + 0x230]
call fcn.1400fe040
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 0x1401a3b01
mov rsi, 0xffffffffffffffff
mov r8, rsi
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008e230
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 0x1401a3933
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a3933
mov rcx, qword [rsp + 0x50]
call fcn.14021b810
nop
cmp r14d, 0x641
jge 0x1401a39ae
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.1401a52b0
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 0x1401a39ae
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a39ae
mov rcx, qword [rsp + 0x68]
call fcn.14021b810
mov eax, dword [rdi + 4]
test eax, eax
jne 0x1401a3a44
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 0x1401a39de
mov dword [rdi + 4], 3
jmp 0x1401a3aab
movzx eax, word [rbp - 0x58]
cmp ax, 0x31
je 0x1401a3a3c
cmp ax, 0x30
jne 0x1401a39f5
mov eax, 1
jmp 0x1401a3a41
cmp ax, 0x32
jne 0x1401a3a02
mov eax, 2
jmp 0x1401a3a41
mov r9d, SHCreateThread
lea r8, [rbp - 0x48]
lea edx, [r9 + 8]
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401a3a28
mov dword [rdi + 4], 3
jmp 0x1401a3aab
movzx ecx, word [rbp - 0x48]
add ecx, 2
movzx eax, word [rbp - 0x58]
cmp eax, ecx
mov eax, 2
je 0x1401a3a41
mov eax, 3
mov dword [rdi + 4], eax
cmp eax, 2
jne 0x1401a3aab
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1401a2430
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 0x1401a3aab
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a3aab
mov rcx, qword [rbp - 0x80]
call fcn.14021b810
cmp qword [rsp + 0x40], 0
jne 0x1401a3ad4
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 0x1401a3ae2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400b0c80
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1401a3b20
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401a3b20
mov rcx, qword [rsp + 0x30]
call fcn.14021b810
jmp 0x1401a3b20
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.140214340
add rsp, 0x2e8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret