Function at 0x1400d4ae0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r14d, r14d
lea rdi, [rsp + 0x20]
test rdx, rdx
mov r13, r8
mov rsi, rcx
cmovne rdi, rdx
mov dword [rdi], r14d
test r8, r8
je 0x1400d4b30
mov byte [r8], r14b
cmp word [rcx], r14w
jne 0x1400d4b3d
xor eax, eax
jmp 0x1400d4d6b
mov r9d, reloc.SHELL32.dll_SHRestricted
mov word [rbp - 0x30], r14w
lea r8, [rbp - 0x30]
mov ecx, 0x400
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsi]
mov r15, r14
mov word [rsp + 0x60], r14w
mov rbx, r14
test ax, ax
je 0x1400d4d58
movzx ecx, ax
call fcn.14009c8a4
movzx edx, word [rsi]
test al, al
je 0x1400d4b97
lea rbx, [rbx + rbx*4]
lea rbx, [rbx - 0x18]
lea r15, [r15 + r15*4]
lea rbx, [rdx + rbx*2]
add r15, r15
jmp 0x1400d4bb8
cmp dx, word [rbp - 0x30]
jne 0x1400d4ba5
mov r15d, 1
jmp 0x1400d4bb8
movzx ecx, dx
call qword [sym.imp.USER32.dll_IsCharAlphaW]
test eax, eax
jne 0x1400d4bc6
cmp word [rsi], 0x28
je 0x1400d4bc6
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x1400d4b73
jmp 0x1400d4bf1
mov r8d, 0x32
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.14009ccc8
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.140106f38
test rax, rax
je 0x1400d4bf1
mov word [rax], r14w
test rbx, rbx
je 0x1400d4d58
cmp word [rsp + 0x60], r14w
je 0x1400d4d46
mov rax, r14
mov ecx, 0x5e6
mov dword [rsp + rax*4 + 0x48], ecx
inc ecx
inc rax
cmp rax, 4
jl 0x1400d4c0e
lea rax, [0x14013ff70]
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
lea r12, [rsp + 0x48]
lea rax, [0x14013ff74]
mov qword [rsp + 0x30], rax
lea rax, [0x14013bfac]
mov qword [rsp + 0x38], rax
lea rax, [0x14013ff78]
mov qword [rsp + 0x40], rax
mov ecx, dword [r12]
call fcn.140096d58
mov r8, rsi
xor ecx, ecx
inc r8
cmp word [rax + r8*2], cx
jne 0x1400d4c64
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140111e14
test eax, eax
je 0x1400d4c8e
inc r14d
add r12, 4
cmp r14d, 4
jb 0x1400d4c56
jmp 0x1400d4ca6
mov edx, r14d
lea rcx, [rsp + 0x60]
mov r8d, 0x32
mov rdx, qword [rsp + rdx*8 + 0x28]
call fcn.14009ccc8
movzx ecx, word [rsp + 0x62]
call fcn.14009fd48
cmp eax, 0x42
jne 0x1400d4cc1
movzx ecx, word [rsp + 0x60]
call fcn.14009fd3c
jmp 0x1400d4cc6
movzx eax, word [rsp + 0x60]
movzx eax, ax
cmp eax, 0x42
je 0x1400d4d36
cmp eax, 0x47
je 0x1400d4d2b
cmp eax, 0x4b
je 0x1400d4d20
cmp eax, 0x4d
je 0x1400d4d15
cmp eax, 0x62
je 0x1400d4d36
cmp eax, 0x67
je 0x1400d4d09
cmp eax, 0x6b
je 0x1400d4cfd
cmp eax, 0x6d
jne 0x1400d4d46
mov dword [rdi], 2
shl rbx, 0x14
jmp 0x1400d4d46
mov dword [rdi], 1
shl rbx, 0xa
jmp 0x1400d4d46
mov dword [rdi], 3
shl rbx, 0x1e
jmp 0x1400d4d46
mov dword [rdi], esi
imul rbx, rbx, 0xf4240
jmp 0x1400d4d46
mov dword [rdi], esi
imul rbx, rbx, 0x3e8
jmp 0x1400d4d46
mov dword [rdi], esi
imul rbx, rbx, 0x3b9aca00
jmp 0x1400d4d46
xor r14d, r14d
mov dword [rdi], r14d
test r13, r13
je 0x1400d4d46
mov byte [r13], 1
test r15, r15
je 0x1400d4d68
mov rax, rbx
cqo
idiv r15
mov rbx, rax
jmp 0x1400d4d68
or rsi, 0xffffffffffffffff
movabs rbx, 0x7fffffff7fffffff
mov dword [rdi], esi
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret