Function at 0x1404cf36f
Capabilities:
Get geographical location

Disassembly:
push rbp
mov ax, 0x4496
sal al, 0x62
lahf
push rbx
sar ax, 0x69
sal bp, 0x51
push rsi
and bpl, dl
shr rax, 0xdd
push rdi
ror ax, cl
push r12
sal dil, 0x79
push r14
push r15
xor di, 0x10de
mov rbp, rsp
xor r15w, r14w
sub rsp, 0x40
sar di, 0x90
mov r15, rsp
sub rax, 0x6e9f0ff2
mov rax, qword [0x1400b7288]
rcl r14w, cl
mov r15w, 0x117f
shld di, di, 0x51
xor rax, rsp
setle dil
mov qword [rbp - 0x10], rax
mov rdi, r8
mov r15, rdx
mov r14, rcx
jmp 0x1404cf3e4
call fcn.1404c2576
mov rsi, rax
sub eax, eax
jmp 0x1404cf3f3
mov qword [rbp - 0x20], rax
jmp 0x1404cf3fc
mov dword [rbp - 0x18], eax
jmp 0x1404cf404
call fcn.1404c2576
lea rcx, [rbp - 0x20]
bt bx, dx
seto bh
sub bl, 0x10
xor r12d, r12d
bts bx, dx
shr bx, cl
lea rbx, [rsi + 0xa0]
cmp r14b, 0x11
clc
mov qword [rax + 0x3a0], rcx
rcr ah, cl
shld ax, r15w, 0x82
lea rax, [r14 + 0x80]
cmc
mov qword [rsi + 0x98], r14
jmp 0x1404cf450
mov qword [rbx], rax
cmc
test rax, rax
jmp 0x1404cf45c
je 0x1404cf49b
cmp word [rax], r12w
jmp 0x1404cf46b
je 0x1404cf49b
mov edx, dword [0x1400c6a60]
inc ch
movsx rcx, r10w
lea rcx, [0x1400c68f0]
setge r8b
movzx r8d, cx
dec edx
mov r8, rbx
jmp 0x1404cf496
call fcn.1404cf869
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
clc
cmp r13b, bl
cmp r10b, 0xba
test rax, rax
jmp 0x1404cf4b6
je 0x1404cf59e
cmp word [rax], r12w
je 0x1404cf59e
mov rax, qword [rbx]
test di, 0x3e3a
jmp 0x1404cf4d3
test rax, rax
je 0x1404cf4fe
cmp word [rax], r12w
jmp 0x1404cf4e5
je 0x1404cf4fe
lea rcx, [rbp - 0x20]
jmp 0x1404cf4f4
call fcn.1404cf9a9
jmp 0x1404cf50c
lea rcx, [rbp - 0x20]
jmp 0x1404cf507
call fcn.1404d0077
cmp dword [rbp - 0x20], r12d
jmp 0x1404cf515
jne 0x1404cf667
mov edx, dword [0x1400c68e0]
mov r8b, 0x2e
movsx cx, r8b
lea r8, [rsi + 0x98]
setnp cl
movzx ecx, bx
dec edx
movsx rcx, sp
movzx rcx, bx
mov ch, 6
lea rcx, [0x1400c64d0]
call fcn.1404cf869
test al, al
jmp 0x1404cf556
je 0x1404cf658
mov rax, qword [rbx]
stc
test rax, rax
je 0x1404cf58b
cmp word [rax], r12w
jmp 0x1404cf572
je 0x1404cf58b
lea rcx, [rbp - 0x20]
jmp 0x1404cf581
call fcn.1404cf9a9
jmp 0x1404cf658
lea rcx, [rbp - 0x20]
jmp 0x1404cf594
call fcn.1404d0077
jmp 0x1404cf658
mov rax, qword [rbx]
test rsp, 0x20b92ee4
test rax, rax
jmp 0x1404cf5b0
je 0x1404cf639
cmp word [rax], r12w
jmp 0x1404cf5bf
je 0x1404cf639
call fcn.1404c2576
mov rdx, rax
clc
test r13w, r9w
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
jmp 0x1404cf5e2
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1404cf5e2
cmp rcx, 3
lahf
mov eax, r12d
setne ch
lea rcx, [0x1400ac1c0]
sete al
mov dword [rdx + 0xb4], eax
movsxd rdx, r14d
not dx
mov edx, 1
jmp 0x1404cf61b
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jne 0x1404cf658
mov dword [rbp - 0x20], r12d
jmp 0x1404cf634
jmp 0x1404cf658
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
jmp 0x1404cf64e
mov dword [rbp - 0x1c], eax
clc
jmp 0x1404cf658
cmp dword [rbp - 0x20], r12d
jmp 0x1404cf661
je 0x1404cf817
lea rax, [r14 + 0x100]
neg r14
cqo
bswap rdx
mov edx, 0x1b64191
lea rdx, [rbp - 0x20]
jmp 0x1404cf684
sbb rcx, rcx
and rcx, rax
call fcn.1404d05c2
mov ebx, eax
test r13, 0x7dc06c7c
cmc
test eax, eax
jmp 0x1404cf6a0
je 0x1404cf817
movzx ecx, bx
jmp 0x1404cf6ae
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404cf6bb
je 0x1404cf817
mov ecx, dword [rbp - 0x1c]
mov dl, 0xc8
mov edx, 1
jmp 0x1404cf6d0
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404cf817
test r15, r15
jmp 0x1404cf6e6
je 0x1404cf6ef
mov dword [r15], ebx
mov ecx, dword [rbp - 0x1c]
not dl
sub rdx, r11
lea rdx, [rsi + 0x2f0]
movzx r8d, r15w
xor r9d, r9d
mov sil, 0xec
lea esi, [r9 + 0x55]
mov r8d, esp
movsx r8d, sp
mov r8d, esi
call fcn.1404c4140
test rdi, rdi
je 0x1404cf808
mov ecx, dword [rbp - 0x1c]
or dx, 0x6510
lea rdx, [rdi + 0x120]
jmp 0x1404cf73b
xor r9d, r9d
mov r8d, esi
jmp 0x1404cf746
call fcn.1404c4140
mov ecx, dword [rbp - 0x1c]
movsx r8w, cl
movsx esi, ax
mov esi, 0x40
mov r9d, esi
movzx dx, r14b
setle dl
movsx r8w, dil
mov r8, rdi
movsx dx, r15b
movzx dx, r10b
cdq
mov edx, 0x1001
jmp 0x1404cf783
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cf790
je 0x1404cf817
mov ecx, dword [rbp - 0x18]
movsx r9d, dx
lea r8, [rdi + 0x80]
cwd
cdq
bswap rdx
mov r9d, esi
movzx edx, r9w
movsxd rdx, esi
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cf7c6
je 0x1404cf817
lea rdx, [rdi + 0x100]
movzx r9w, r14b
movsx r8, r14w
mov ecx, ebx
movsx r9, cx
mov r8, 0x429a6218
movzx r8w, cl
lea r9d, [rsi - 0x36]
movzx r8d, si
movsx r8, r12w
lea r8d, [rsi - 0x30]
jmp 0x1404cf803
call fcn.1404dd193
mov eax, 1
jmp 0x1404cf812
jmp 0x1404cf820
sub eax, eax
cmc
or ch, 0xb3
sar cx, cl
mov rcx, qword [rbp - 0x10]
jmp 0x1404cf829
xor rcx, rsp
jmp 0x1404cf831
call fcn.140498899
add rsp, 0x40
pop r15
movzx r12, r9w
movzx bx, r9b
seta dil
pop r14
jmp 0x1404cf850
pop r12
jmp 0x1404cf85a
pop rdi
movsx ebx, di
xchg esi, ebp
pop rsi
pop rbx
pop rbp
jmp 0x1404cf868
ret