Function at 0x140482760
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 [0x14057c500]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14d, edx
mov rsi, rcx
mov dword [rsp + 0x60], 0
lea rbx, [0x1400495e0]
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 0x14048282b
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1402d3550
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 0x14048281d
cmp eax, edi
je 0x14048282b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14048282b
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 4], 0
je 0x1404828e9
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14037d5b0
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, select
lea rdx, [rsp + 0x68]
call fcn.1404378c0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x1404828b6
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x1404828b6
cmp ecx, 0x814
jne 0x1404828b6
mov dword [rsp + 0x50], 2
lea rax, [0x1400dd12c]
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.140363a80
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1404828d6
cmp eax, 0xffffffff
je 0x1404828e4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404828e4
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x140482901
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
jmp 0x140482982
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 0x59
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140482970
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.1402d3550
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 0x140482962
cmp eax, 0xffffffff
je 0x140482970
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140482970
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
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 0x14048299d
cmp eax, 0xffffffff
je 0x1404829b1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404829ac
mov rcx, qword [rsp + 0x30]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx]
test eax, eax
je 0x1404829ca
cmp eax, 0xffffffff
je 0x1404829dc
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x1404829dc
mov rbx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, rbx
call fcn.140379300
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret