Function at 0x141479020
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 [0x141548130]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14d, edx
mov rsi, rcx
mov dword [rsp + 0x60], 0
lea rbx, [0x140036840]
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 0x1414790eb
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1413c12d0
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 0x1414790dd
cmp eax, edi
je 0x1414790eb
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1414790eb
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 4], 0
je 0x1414791a9
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1413e9a20
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.1414316b0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x141479176
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x141479176
cmp ecx, 0x814
jne 0x141479176
mov dword [rsp + 0x50], 2
lea rax, [0x1400fcc74]
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.1413d0340
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x141479196
cmp eax, 0xffffffff
je 0x1414791a4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1414791a4
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1413e6510
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x1414791c1
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
jmp 0x141479242
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 0x59
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141479230
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.1413c12d0
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 0x141479222
cmp eax, 0xffffffff
je 0x141479230
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141479230
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
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 0x14147925d
cmp eax, 0xffffffff
je 0x141479271
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14147926c
mov rcx, qword [rsp + 0x30]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1413e6510
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx]
test eax, eax
je 0x14147928a
cmp eax, 0xffffffff
je 0x14147929c
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x14147929c
mov rbx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, rbx
call fcn.1413e6510
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1414c4ac0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret