Function at 0x1404cf306
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
adc bpl, 0x21
push rsi
push rdi
push r12
push r14
push r15
shr ax, cl
cmp r14w, 0x7ff3
bts ax, r8w
mov rbp, rsp
cmp r14, r14
sub rsp, 0x40
mov rax, qword [0x1400b7288]
shrd r15w, sp, 0xeb
xadd dil, r14b
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dil, 0x8d
xchg r15b, r14b
movsx r14w, al
mov rdi, r8
jmp 0x1404cf358
mov r15, rdx
movsx r14w, r14b
movsx r14, r13w
movzx r14, bx
mov r14, rcx
call fcn.1404c2697
mov rsi, rax
clc
xor eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404cf37f
mov dword [rbp - 0x18], eax
jmp 0x1404cf387
call fcn.1404c2697
lea rcx, [rbp - 0x20]
rcl bx, 4
inc ebx
bsr bx, r15w
sub r12d, r12d
rcl ebx, 0xcc
ror bh, cl
rcr bl, 0xfe
lea rbx, [rsi + 0xa0]
jmp 0x1404cf3b8
mov qword [rax + 0x3a0], rcx
or ax, 0x6e8f
lea rax, [r14 + 0x80]
mov qword [rsi + 0x98], r14
cmp rdx, 0x73bf36e4
mov qword [rbx], rax
stc
test r14d, 0x6a5c5034
test rax, rax
jmp 0x1404cf3eb
je 0x1404cf422
cmp word [rax], r12w
je 0x1404cf422
mov edx, dword [0x1400c6a60]
mov cl, r12b
setns cl
movzx r8w, r11b
lea rcx, [0x1400c68f0]
dec edx
mov r8, rbx
jmp 0x1404cf41d
call fcn.1404cf80d
mov dword [rbp - 0x20], r12d
shr rax, 0x6c
test r10w, 0x4b28
mov rax, qword [rsi + 0x98]
test dh, 0x1f
stc
test rax, rax
je 0x1404cf534
cmp word [rax], r12w
jmp 0x1404cf44d
je 0x1404cf534
mov rax, qword [rbx]
cmp r13b, r9b
cmp dil, 0xac
test cx, r10w
test rax, rax
jmp 0x1404cf469
je 0x1404cf491
cmp word [rax], r12w
jmp 0x1404cf478
je 0x1404cf491
lea rcx, [rbp - 0x20]
jmp 0x1404cf487
call fcn.1404cf94d
jmp 0x1404cf49f
lea rcx, [rbp - 0x20]
jmp 0x1404cf49a
call fcn.1404cfffc
cmp dword [rbp - 0x20], r12d
jne 0x1404cf615
mov edx, dword [0x1400c68e0]
inc ch
lea r8, [rsi + 0x98]
movzx ecx, r13w
not cl
movsx ecx, ax
dec edx
movsx rcx, bp
jmp 0x1404cf4cf
lea rcx, [0x1400c64d0]
jmp 0x1404cf4db
call fcn.1404cf80d
test al, al
jmp 0x1404cf4e7
je 0x1404cf606
mov rax, qword [rbx]
clc
test rax, rax
jmp 0x1404cf4f9
je 0x1404cf521
cmp word [rax], r12w
jmp 0x1404cf508
je 0x1404cf521
lea rcx, [rbp - 0x20]
jmp 0x1404cf517
call fcn.1404cf94d
jmp 0x1404cf606
lea rcx, [rbp - 0x20]
jmp 0x1404cf52a
call fcn.1404cfffc
jmp 0x1404cf606
mov rax, qword [rbx]
test bpl, 0x55
clc
test rax, rax
jmp 0x1404cf544
je 0x1404cf5e8
cmp word [rax], r12w
jmp 0x1404cf553
je 0x1404cf5e8
call fcn.1404c2697
mov rdx, rax
clc
cmp r14b, 0xec
or rcx, 0xffffffffffffffff
jmp 0x1404cf56f
mov rax, qword [rax + 0xa0]
jmp 0x1404cf57b
inc rcx
test dil, spl
cmp r15w, 0x1b39
cmp word [rax + rcx*2], r12w
jne 0x1404cf57b
cmp rcx, 3
setl cl
movzx ecx, si
movzx rcx, ax
mov eax, r12d
lea rcx, [0x1400ac1c0]
jmp 0x1404cf5af
sete al
mov dword [rdx + 0xb4], eax
setp dh
cdq
movzx edx, r12w
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404cf5d4
jne 0x1404cf606
mov dword [rbp - 0x20], r12d
jmp 0x1404cf5e3
jmp 0x1404cf606
mov dword [rbp - 0x20], 0x104
jmp 0x1404cf5f4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
stc
mov dword [rbp - 0x1c], eax
jmp 0x1404cf606
cmp dword [rbp - 0x20], r12d
jmp 0x1404cf60f
je 0x1404cf7b6
lea rax, [r14 + 0x100]
bswap rdx
xadd dh, dh
neg r14
lea rdx, [rbp - 0x20]
jmp 0x1404cf62e
sbb rcx, rcx
and rcx, rax
jmp 0x1404cf639
call fcn.1404d051d
mov ebx, eax
test eax, eax
jmp 0x1404cf647
je 0x1404cf7b6
movzx ecx, bx
jmp 0x1404cf655
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404cf662
je 0x1404cf7b6
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x1404cf675
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404cf682
je 0x1404cf7b6
test r15, r15
jmp 0x1404cf690
je 0x1404cf69e
mov dword [r15], ebx
cmove r8w, r15w
mov ecx, dword [rbp - 0x1c]
shld r8, rsp, 0x3f
rcr dl, cl
sub edx, 0x3cf06d15
lea rdx, [rsi + 0x2f0]
xor r9d, r9d
mov sil, 0x60
movzx rsi, r9w
lea esi, [r9 + 0x55]
movzx r8, cx
movzx r8d, si
mov r8d, esi
jmp 0x1404cf6d3
call fcn.1404c4156
test rdi, rdi
je 0x1404cf7a7
mov ecx, dword [rbp - 0x1c]
not r8
xchg r8, r8
movsx r8d, si
lea rdx, [rdi + 0x120]
btr r8, 0xf5
sete r8b
movzx r8, r12w
xor r9d, r9d
not r8d
jmp 0x1404cf710
mov r8d, esi
call fcn.1404c4156
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
movsx r8, di
not dh
movsx edx, ax
mov r9d, esi
movsxd rdx, ecx
mov r8, rdi
bswap dx
mov dx, r9w
mov dh, 0xd6
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cf74e
je 0x1404cf7b6
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
cqo
not r9b
mov r9d, esi
movsx rdx, cx
mov edx, 0x1002
jmp 0x1404cf774
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cf781
je 0x1404cf7b6
lea rdx, [rdi + 0x100]
mov ecx, ebx
lea r9d, [rsi - 0x36]
mov r8b, 0x63
setp r8b
not r8b
lea r8d, [rsi - 0x30]
call fcn.1404dd0aa
mov eax, 1
jmp 0x1404cf7b1
jmp 0x1404cf7bb
sub eax, eax
mov cl, r11b
mov rcx, qword [rbp - 0x10]
test r12b, 0x69
jmp 0x1404cf7c8
xor rcx, rsp
call fcn.1404988af
add rsp, 0x40
movsx r14d, cx
mov si, 0x2e03
mov r14d, r9d
pop r15
movsx ebp, r11w
pop r14
setne bpl
movzx rbx, r10w
pop r12
movsx edi, r13w
movsx rdi, cx
movsx di, dl
pop rdi
pop rsi
movzx ebx, di
pop rbx
mov bpl, dil
pop rbp
jmp 0x1404cf80c
ret