Function at 0x1401a1030
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov eax, r9d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x80], rdx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov ecx, 0x7d1
mov word [rbp - 0x80], cx
mov word [rbp - 0x7e], r8w
mov ecx, 0xa
mov word [rbp - 0x7a], cx
lea rcx, [0x1402e06b8]
lea r9, str.ddMMM
test eax, eax
cmove r9, rcx
mov dword [rsp + 0x28], 0xff
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
xor edx, edx
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
cmp eax, 2
jle 0x1401a127a
mov rsi, 0xffffffffffffffff
mov r8, rsi
lea rdx, [rbp - 0x3c]
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], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401a1124
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a1124
mov rcx, qword [rsp + 0x50]
call fcn.14021b810
nop
mov eax, dword [rdi + 4]
test eax, eax
jne 0x1401a11ba
lea r9d, [rax + 8]
lea r8, [rbp - 0x70]
mov edx, 0x1014
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401a1154
mov dword [rdi + 4], 3
jmp 0x1401a1224
movzx eax, word [rbp - 0x70]
cmp ax, 0x31
je 0x1401a11b2
cmp ax, 0x30
jne 0x1401a116b
mov eax, 1
jmp 0x1401a11b7
cmp ax, 0x32
jne 0x1401a1178
mov eax, 2
jmp 0x1401a11b7
mov r9d, SHCreateThread
lea r8, [rbp - 0x60]
lea edx, [r9 + 8]
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401a119e
mov dword [rdi + 4], 3
jmp 0x1401a1224
movzx ecx, word [rbp - 0x60]
add ecx, 2
movzx eax, word [rbp - 0x70]
cmp eax, ecx
mov eax, 2
je 0x1401a11b7
mov eax, 3
mov dword [rdi + 4], eax
cmp eax, 2
jne 0x1401a1224
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
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 [rsp + 0x68]
test rcx, rcx
je 0x1401a1224
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401a1224
mov rcx, qword [rsp + 0x68]
call fcn.14021b810
cmp qword [rsp + 0x40], 0
jne 0x1401a124d
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 0x1401a125b
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400b0c80
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1401a1299
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1401a1299
mov rcx, qword [rsp + 0x30]
call fcn.14021b810
jmp 0x1401a1299
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 + 0x1c0]
xor rcx, rsp
call fcn.140214340
add rsp, 0x2d0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret