Function at 0x1404d65b2
Capabilities:
Get geographical location

Disassembly:
push rbp
ror al, cl
cdqe
sub rax, rbx
push rbx
sal ah, 0xc3
mov al, r14b
push rsi
ror bpl, 0xff
btr rax, r12
push rdi
rcr dil, 0x3c
btc ax, 0x84
push r12
sub bpl, r11b
push r14
not r14d
shld di, r10w, 0x17
push r15
movsxd r14, esi
shrd bp, bp, 0xae
mov rbp, rsp
cmovb eax, r8d
sub rsp, 0x40
bts di, r12w
shr r15w, 0x3e
or al, 0x4e
mov rax, qword [0x1400b7288]
sbb r15b, 4
adc dil, 0xec
seta r15b
xor rax, rsp
movsx r14w, r12b
mov qword [rbp - 0x10], rax
movsx r15d, r11w
not r15d
mov rdi, r8
not r15b
mov r15, rdx
mov r14, rcx
jmp 0x1404d663d
call fcn.1404c9973
mov rsi, rax
xor eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d6650
mov dword [rbp - 0x18], eax
jmp 0x1404d6658
call fcn.1404c9973
lea rcx, [rbp - 0x20]
bsr ebx, r8d
sub r12d, r12d
or ebx, 0x20770eb5
lea rbx, [rsi + 0xa0]
cmc
mov qword [rax + 0x3a0], rcx
rcl ah, 0x2f
lea rax, [r14 + 0x80]
test ch, 0x15
mov qword [rsi + 0x98], r14
jmp 0x1404d6696
mov qword [rbx], rax
clc
test rax, rax
jmp 0x1404d66a2
je 0x1404d66ce
cmp word [rax], r12w
je 0x1404d66ce
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
dec edx
cmovno r8w, di
mov r8, rbx
call fcn.1404d6a72
mov dword [rbp - 0x20], r12d
mov eax, 0x16fc10da
mov rax, qword [rsi + 0x98]
jmp 0x1404d66e7
test rax, rax
jmp 0x1404d66ef
je 0x1404d67cc
cmp word [rax], r12w
jmp 0x1404d66fe
je 0x1404d67cc
mov rax, qword [rbx]
test rax, rax
je 0x1404d672d
cmp word [rax], r12w
jmp 0x1404d6719
je 0x1404d672d
lea rcx, [rbp - 0x20]
call fcn.1404d6bda
jmp 0x1404d673b
lea rcx, [rbp - 0x20]
jmp 0x1404d6736
call fcn.1404d7259
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6744
jne 0x1404d688a
mov edx, dword [0x1400c68e0]
movzx r8d, r9w
movsxd rcx, ebp
mov r8, rcx
lea r8, [rsi + 0x98]
movsx cx, r11b
movsxd rcx, esp
not cl
dec edx
lea rcx, [0x1400c64d0]
call fcn.1404d6a72
test al, al
jmp 0x1404d6780
je 0x1404d6880
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d6791
je 0x1404d67b9
cmp word [rax], r12w
jmp 0x1404d67a0
je 0x1404d67b9
lea rcx, [rbp - 0x20]
jmp 0x1404d67af
call fcn.1404d6bda
jmp 0x1404d6880
lea rcx, [rbp - 0x20]
jmp 0x1404d67c2
call fcn.1404d7259
jmp 0x1404d6880
mov rax, qword [rbx]
test rax, rax
je 0x1404d6863
cmp word [rax], r12w
jmp 0x1404d67e1
je 0x1404d6863
call fcn.1404c9973
mov rdx, rax
cmp si, cx
or rcx, 0xffffffffffffffff
jmp 0x1404d67fb
mov rax, qword [rax + 0xa0]
jmp 0x1404d6807
inc rcx
stc
cmp word [rax + rcx*2], r12w
jmp 0x1404d6815
jne 0x1404d6807
cmp rcx, 3
mov eax, r12d
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d6831
mov dword [rdx + 0xb4], eax
mov dx, 0x6dac
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d684f
jne 0x1404d6880
mov dword [rbp - 0x20], r12d
jmp 0x1404d685e
jmp 0x1404d6880
mov dword [rbp - 0x20], 0x104
jmp 0x1404d686f
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp sil, bl
test al, 0xb
cmp dword [rbp - 0x20], r12d
je 0x1404d6a22
lea rax, [r14 + 0x100]
sbb dh, 0x19
neg r14
lea rdx, [rbp - 0x20]
jmp 0x1404d68a0
sbb rcx, rcx
test r15b, 0xcf
and rcx, rax
jmp 0x1404d68af
call fcn.1404d779e
mov ebx, eax
cmp bpl, 0x13
test r12d, esi
test eax, eax
jmp 0x1404d68c4
je 0x1404d6a22
movzx ecx, bx
jmp 0x1404d68d2
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1404d6a22
mov ecx, dword [rbp - 0x1c]
cwd
bswap dx
xchg dx, dx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d6a22
test r15, r15
jmp 0x1404d6906
je 0x1404d6918
mov dword [r15], ebx
bsr r8d, edx
bts cx, r12w
mov ecx, dword [rbp - 0x1c]
btr r8d, 0x5e
setg dl
sub rdx, rdi
lea rdx, [rsi + 0x2f0]
cmp ebp, 0x723e338b
xor r9d, r9d
lea esi, [r9 + 0x55]
movsx r8d, r9w
mov r8d, esi
jmp 0x1404d6946
call fcn.1404cb468
test rdi, rdi
jmp 0x1404d6953
je 0x1404d6a18
mov ecx, dword [rbp - 0x1c]
cmove rdx, rbx
lea rdx, [rdi + 0x120]
btc r8w, r15w
movsxd r8, esi
adc r8d, eax
xor r9d, r9d
mov r8d, esi
call fcn.1404cb468
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
cwd
movsx r9d, si
mov r9d, esi
mov r8, rdi
bswap rdx
cwd
mov edx, 0x1001
jmp 0x1404d69a0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d69ad
je 0x1404d6a22
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9w, ax
movzx r9, r11w
movzx r9d, bp
mov r9d, esi
movzx edx, ax
cmovns dx, r10w
mov edx, 0x1002
jmp 0x1404d69de
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d69eb
je 0x1404d6a22
lea rdx, [rdi + 0x100]
mov ecx, ebx
not r8b
lea r9d, [rsi - 0x36]
movzx r8, bx
jmp 0x1404d6a0f
lea r8d, [rsi - 0x30]
call fcn.1404e41ab
mov eax, 1
jmp 0x1404d6a2b
sub eax, eax
cmp ecx, r9d
and cx, r14w
mov rcx, qword [rbp - 0x10]
stc
xor rcx, rsp
jmp 0x1404d6a38
call fcn.14049fbde
add rsp, 0x40
cmovnp r15d, r8d
xchg r15, r14
pop r15
mov sil, r11b
pop r14
pop r12
mov bp, cx
movsx rbp, r12w
movsx ebp, r13w
pop rdi
jmp 0x1404d6a66
pop rsi
pop rbx
movsxd rbp, r8d
pop rbp
jmp 0x1404d6a71
ret