Function at 0x140020310
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r14d, r14d
mov dword [rbp - 0x69], r14d
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
lea r8d, [r14 + 7]
lea rdx, [0x1400beb58]
call fcn.140011970
mov dword [rbp - 0x69], 1
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x5a]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rbx, eax
test eax, eax
jle 0x140020601
xor eax, eax
mov qword [rbp - 9], rax
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1400224a0
nop
mov rax, qword [rbp - 9]
mov word [rax], r14w
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
lea r8d, [r14 + 7]
lea rdx, [0x1400beb58]
lea rcx, [rbp + 0x1f]
call fcn.140011970
nop
mov r9d, ebx
mov r8, qword [rbp - 9]
lea edx, [r14 + 0x5a]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14002043a
mov rdx, qword [rbp - 9]
cmp word [rdx], r14w
jne 0x14002040b
mov r8d, r14d
jmp 0x14002041b
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140020410
lea rcx, [rbp + 0x1f]
call fcn.140011970
cmp rdi, rax
je 0x14002043a
mov r9, rbx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140011ac0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x59]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
jle 0x1400205c8
mov rdx, rsi
lea rcx, [rbp - 0x61]
call fcn.1400224a0
mov rcx, rax
lea rax, [rbp - 9]
cmp rax, rcx
je 0x14002048b
mov rax, qword [rcx]
mov qword [rcx], r14
mov rcx, qword [rbp - 9]
mov qword [rbp - 9], rax
test rcx, rcx
je 0x14002048b
call fcn.140056314
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140020499
call fcn.140056314
mov rax, qword [rbp - 9]
mov word [rax], r14w
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
mov r8d, 7
lea rdx, [0x1400beb58]
lea rcx, [rbp - 1]
call fcn.140011970
nop
mov r9d, esi
mov r8, qword [rbp - 9]
mov edx, 0x59
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140020516
mov rdx, qword [rbp - 9]
cmp word [rdx], 0
jne 0x140020500
mov rbx, r14
jmp 0x14002050a
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140020500
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.140011970
mov r8d, 0x2d
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.140014650
nop
lea r8, [rbp + 0x1f]
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14001ef00
nop
mov rdx, rax
mov rcx, rdi
call fcn.14000e340
nop
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x140020561
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400129b0
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r14
mov word [rbp - 0x59], r14w
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x14002058c
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.1400129b0
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x1400205b7
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.1400129b0
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
mov r8, qword [rbp + 0x37]
cmp r8, 8
jb 0x1400205e2
inc r8
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
call fcn.1400129b0
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140020601
call fcn.140056314
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140056280
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret