Function at 0x1400d85a0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1410443b8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14d, edx
mov rsi, rcx
mov dword [rsp + 0x60], 0
lea rbx, [0x1401885d8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edi, 0xffffffff
test eax, eax
je 0x1400d866b
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400091a0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x78], rcx
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400d865d
cmp eax, edi
je 0x1400d866b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d866b
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 4], 0
je 0x1400d8729
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140038e20
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x68]
call fcn.140099f60
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x1400d86f6
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x1400d86f6
cmp ecx, 0x814
jne 0x1400d86f6
mov dword [rsp + 0x50], 2
lea rax, [0x1402728e4]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140022650
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400d8716
cmp eax, 0xffffffff
je 0x1400d8724
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d8724
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140035d80
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x1400d8741
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
jmp 0x1400d87c2
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 0x59
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400d87b0
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400091a0
mov rdx, qword [rsp + 0x28]
mov qword [rbp - 0x80], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400d87a2
cmp eax, 0xffffffff
je 0x1400d87b0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d87b0
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400d87dd
cmp eax, 0xffffffff
je 0x1400d87f1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d87ec
mov rcx, qword [rsp + 0x30]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140035d80
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx]
test eax, eax
je 0x1400d880a
cmp eax, 0xffffffff
je 0x1400d881c
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x1400d881c
mov rbx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, rbx
call fcn.140035d80
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140102b40
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret