Function at 0x14015f9a0
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ebx, ebx
lea rdi, [rsp + 0x20]
test rdx, rdx
mov r12, r8
mov rsi, rcx
cmovne rdi, rdx
mov dword [rdi], ebx
test r8, r8
je 0x14015f9ee
mov byte [r8], bl
cmp word [rcx], bx
jne 0x14015f9fa
xor eax, eax
jmp 0x14015fc64
mov r9d, reloc.SHELL32.dll_SHRestricted
mov word [rbp - 0x20], bx
lea r8, [rbp - 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsi]
xor r15d, r15d
mov word [rsp + 0x70], bx
mov r14, rbx
test ax, ax
je 0x14015fc51
movzx ecx, ax
call fcn.1400fe854
movzx edx, word [rsi]
test al, al
je 0x14015fa52
lea rbx, [rbx + rbx*4]
lea rbx, [rbx - 0x18]
lea r14, [r14 + r14*4]
lea rbx, [rdx + rbx*2]
add r14, r14
jmp 0x14015fa73
cmp dx, word [rbp - 0x20]
jne 0x14015fa60
mov r14d, 1
jmp 0x14015fa73
movzx ecx, dx
call qword [sym.imp.USER32.dll_IsCharAlphaW]
test eax, eax
jne 0x14015fa81
cmp word [rsi], 0x28
je 0x14015fa81
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14015fa2e
jmp 0x14015faac
mov r8d, 0x32
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.1400ff058
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.1401b23e0
test rax, rax
je 0x14015faac
mov word [rax], r15w
test rbx, rbx
je 0x14015fc51
cmp word [rsp + 0x70], r15w
je 0x14015fc3f
movdqa xmm0, xmmword [0x1401f2200]
lea rax, str.bkgt
mov qword [rsp + 0x40], rax
lea r13, [rsp + 0x28]
lea rax, [0x1401f1f34]
mov dword [rsp + 0x38], 0x5ea
mov qword [rsp + 0x48], rax
lea rax, [0x1401edc5c]
mov qword [rsp + 0x50], rax
lea rax, [0x1401f1f38]
mov qword [rsp + 0x58], rax
lea rax, [0x1401f1f3c]
mov qword [rsp + 0x60], rax
xor eax, eax
or rsi, 0xffffffffffffffff
movdqu xmmword [rsp + 0x28], xmm0
mov ecx, dword [r13]
call fcn.1400f70b0
mov r8, rsi
xor ecx, ecx
inc r8
cmp word [rax + r8*2], cx
jne 0x14015fb2c
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1401c076c
test eax, eax
je 0x14015fb56
inc r15d
add r13, 4
cmp r15d, 5
jb 0x14015fb1e
jmp 0x14015fb6e
mov edx, r15d
lea rcx, [rsp + 0x70]
mov r8d, 0x32
mov rdx, qword [rsp + rdx*8 + 0x40]
call fcn.1400ff058
movzx ecx, word [rsp + 0x72]
call fcn.140105e80
cmp eax, 0x42
jne 0x14015fb89
movzx ecx, word [rsp + 0x70]
call fcn.140105e74
jmp 0x14015fb8e
movzx eax, word [rsp + 0x70]
movzx ecx, ax
cmp ecx, 0x62
ja 0x14015fbfd
lea eax, [rcx - 0x42]
test eax, 0xffffffdf
je 0x14015fbeb
cmp ecx, 0x47
je 0x14015fbe0
cmp ecx, 0x4b
je 0x14015fbd5
cmp ecx, 0x4d
je 0x14015fbca
cmp ecx, 0x54
jne 0x14015fc3f
movabs rax, 0xe8d4a51000
mov dword [rdi], esi
imul rbx, rax
jmp 0x14015fc3f
mov dword [rdi], esi
imul rbx, rbx, 0xf4240
jmp 0x14015fc3f
mov dword [rdi], esi
imul rbx, rbx, 0x3e8
jmp 0x14015fc3f
mov dword [rdi], esi
imul rbx, rbx, 0x3b9aca00
jmp 0x14015fc3f
xor r15d, r15d
mov dword [rdi], r15d
test r12, r12
je 0x14015fc3f
mov byte [r12], 1
jmp 0x14015fc3f
cmp ecx, 0x67
je 0x14015fc35
cmp ecx, 0x6b
je 0x14015fc29
cmp ecx, 0x6d
je 0x14015fc1d
cmp ecx, 0x74
jne 0x14015fc3f
mov dword [rdi], 4
shl rbx, 0x28
jmp 0x14015fc3f
mov dword [rdi], 2
shl rbx, 0x14
jmp 0x14015fc3f
mov dword [rdi], 1
shl rbx, 0xa
jmp 0x14015fc3f
mov dword [rdi], 3
shl rbx, 0x1e
test r14, r14
je 0x14015fc61
mov rax, rbx
cqo
idiv r14
mov rbx, rax
jmp 0x14015fc61
or rsi, 0xffffffffffffffff
movabs rbx, 0x7fffffff7fffffff
mov dword [rdi], esi
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret