Function at 0x1400ebbd0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x24], 0
lea r14, [0x1401a1e20]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov r9d, 0xff
lea r8, [rbp - 0x60]
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, 0xffffffff
test eax, eax
je 0x1400ebcee
mov r8d, ebx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140040590
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rcx], r14
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebc92
cmp ecx, ebx
je 0x1400ebca5
mov ecx, ebx
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
mov dword [rsp + 0x24], 8
jne 0x1400ebcad
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call fcn.140049bf0
mov dword [rsp + 0x24], 8
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400ebcdb
cmp eax, 0xffffffff
je 0x1400ebcee
mov ecx, ebx
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebcee
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.140049bf0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
je 0x1400ebdae
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140045450
or dword [rsp + 0x24], 0x10
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rbp - 0x78]
call fcn.14009eba0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x1400ebd7b
mov rax, qword [rbp - 0x78]
cmp byte [rax], 0
jne 0x1400ebd7b
cmp ecx, 0x814
jne 0x1400ebd7b
mov dword [rsp + 0x70], 2
lea rax, [0x14023070c]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.14003c4e0
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebd9b
cmp ecx, 0xffffffff
je 0x1400ebdae
mov ecx, ebx
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebdae
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rsp + 0x38]
call fcn.140049bf0
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x1400ebe1b
mov qword [rdi], rax
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebde1
cmp ecx, 0xffffffff
je 0x1400ebdf5
mov ecx, ebx
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebdf5
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebf70
cmp ecx, 0xffffffff
je 0x1400ebf84
mov rcx, qword [rsp + 0x28]
lock xadd dword [rcx], ebx
jmp 0x1400ebf6b
mov r9d, 0xff
lea r8, [rbp - 0x60]
mov edx, 0x59
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400ebf11
mov r8d, ebx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.140040590
nop
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov qword [rax], r14
mov eax, dword [rsp + 0x24]
or eax, 0xa0
mov dword [rsp + 0x24], eax
test al, 0x40
je 0x1400ebe9c
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebe88
cmp ecx, 0xffffffff
je 0x1400ebe9c
mov ecx, ebx
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebe9c
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebebc
cmp ecx, 0xffffffff
je 0x1400ebecf
mov ecx, ebx
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebecf
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call fcn.140049bf0
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400ebefe
cmp eax, 0xffffffff
je 0x1400ebf11
mov ecx, ebx
mov rax, qword [rsp + 0x60]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebf11
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x60]
call fcn.140049bf0
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebf3e
cmp ecx, 0xffffffff
je 0x1400ebf52
mov ecx, ebx
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400ebf52
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400ebf70
cmp ecx, 0xffffffff
je 0x1400ebf84
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400ebf84
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rsp + 0x28]
call fcn.140049bf0
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140121c90
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret