Function at 0x1404da7d2
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
cmc
movzx bp, r10b
push rsi
cmc
push rdi
bts eax, edx
push r12
push r14
xor rdi, r8
shld edi, edi, 0x2b
btr r14, 0x91
push r15
sub rbp, rax
mov rbp, rsp
add al, 0x9b
sub rsp, 0x40
movzx r15w, sil
rcr r14w, 0xc6
shr r14w, 0x20
mov rax, qword [0x1400b7288]
bts r14w, r10w
rcr r15w, cl
xor rax, rsp
movzx edi, dx
movsx rdi, sp
mov qword [rbp - 0x10], rax
mov rdi, r8
not r15w
mov r15, rdx
mov r14b, sil
movzx r14w, r9b
mov r14, rcx
jmp 0x1404da846
call fcn.1404cdafb
mov rsi, rax
jmp 0x1404da856
xor eax, eax
jmp 0x1404da85d
mov qword [rbp - 0x20], rax
jmp 0x1404da866
mov dword [rbp - 0x18], eax
jmp 0x1404da86e
call fcn.1404cdafb
lea rcx, [rbp - 0x20]
bts bx, dx
rcl ebx, 0x27
sub r12d, r12d
shr rbx, cl
lea rbx, [rsi + 0xa0]
cmc
mov qword [rax + 0x3a0], rcx
cdqe
lea rax, [r14 + 0x80]
clc
test r12w, dx
mov qword [rsi + 0x98], r14
cmp r8b, al
mov qword [rbx], rax
stc
test rax, rax
jmp 0x1404da8b7
je 0x1404da8fa
cmp word [rax], r12w
jmp 0x1404da8c6
je 0x1404da8fa
mov edx, dword [0x1400c6a60]
movsx r8d, r13w
cmovb cx, r9w
inc cx
lea rcx, [0x1400c68f0]
dec edx
bswap r8d
movsx r8, si
movsx r8d, dx
mov r8, rbx
call fcn.1404daca7
mov dword [rbp - 0x20], r12d
movzx eax, r11w
rcl rax, cl
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1404da9fd
cmp word [rax], r12w
jmp 0x1404da91e
je 0x1404da9fd
mov rax, qword [rbx]
test rax, rax
jmp 0x1404da92f
je 0x1404da952
cmp word [rax], r12w
je 0x1404da952
lea rcx, [rbp - 0x20]
jmp 0x1404da948
call fcn.1404dadc4
jmp 0x1404da960
lea rcx, [rbp - 0x20]
jmp 0x1404da95b
call fcn.1404db447
cmp dword [rbp - 0x20], r12d
jmp 0x1404da969
jne 0x1404daad8
mov edx, dword [0x1400c68e0]
not ch
cmovne r8w, r11w
mov ch, 0xf0
lea r8, [rsi + 0x98]
setg ch
movzx rcx, bx
dec edx
setp cl
movzx rcx, di
movsxd rcx, esi
lea rcx, [0x1400c64d0]
jmp 0x1404da9a5
call fcn.1404daca7
test al, al
jmp 0x1404da9b1
je 0x1404daac9
mov rax, qword [rbx]
test rax, rax
jmp 0x1404da9c2
je 0x1404da9ea
cmp word [rax], r12w
jmp 0x1404da9d1
je 0x1404da9ea
lea rcx, [rbp - 0x20]
jmp 0x1404da9e0
call fcn.1404dadc4
jmp 0x1404daac9
lea rcx, [rbp - 0x20]
jmp 0x1404da9f3
call fcn.1404db447
jmp 0x1404daac9
mov rax, qword [rbx]
jmp 0x1404daa05
test rax, rax
jmp 0x1404daa0d
je 0x1404daaa8
cmp word [rax], r12w
jmp 0x1404daa1c
je 0x1404daaa8
call fcn.1404cdafb
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404daa33
mov rax, qword [rax + 0xa0]
jmp 0x1404daa3f
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1404daa3f
cmp rcx, 3
movsxd rax, r12d
mov rax, r8
jmp 0x1404daa5c
mov eax, r12d
mov cl, 0xa1
lea rcx, [0x1400ac1c0]
setne al
xchg al, al
sete al
jmp 0x1404daa75
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404daa85
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404daa94
jne 0x1404daac9
mov dword [rbp - 0x20], r12d
jmp 0x1404daaa3
jmp 0x1404daac9
mov dword [rbp - 0x20], 0x104
jmp 0x1404daab4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test r12b, bl
mov dword [rbp - 0x1c], eax
test ebp, 0x54c7676f
cmp dword [rbp - 0x20], r12d
jmp 0x1404daad2
je 0x1404dac5b
lea rax, [r14 + 0x100]
btr rdx, 0xd
neg r14
cmovnp dx, bp
movzx rdx, r13w
lea rdx, [rbp - 0x20]
jmp 0x1404daaf8
sbb rcx, rcx
stc
and rcx, rax
jmp 0x1404dab04
call fcn.1404db965
mov ebx, eax
cmc
cmp edx, ecx
test eax, eax
jmp 0x1404dab15
je 0x1404dac5b
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1404dac5b
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x1404dab39
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404dac5b
test r15, r15
jmp 0x1404dab4f
je 0x1404dab60
mov dword [r15], ebx
or r8w, 0x4992
add edx, ecx
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
xor r9d, r9d
xchg r8d, r8d
lea esi, [r9 + 0x55]
cmovl r8w, di
mov r8d, esi
jmp 0x1404dab81
call fcn.1404cf6b5
test rdi, rdi
je 0x1404dac4c
mov ecx, dword [rbp - 0x1c]
or r8d, r14d
lea rdx, [rdi + 0x120]
bts r8w, sp
xor r9d, r9d
cmovs r8w, bx
mov r8d, esi
call fcn.1404cf6b5
mov ecx, dword [rbp - 0x1c]
setns dl
cwd
jmp 0x1404dabbe
mov esi, 0x40
mov r9d, esi
not r8b
cqo
movsxd rdx, r13d
mov r8, rdi
mov edx, 0x1001
jmp 0x1404dabdb
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404dabe8
je 0x1404dac5b
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
bswap r9d
mov r9d, esi
not dl
movzx dx, r9b
mov edx, 0x1002
jmp 0x1404dac0f
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404dac1c
je 0x1404dac5b
lea rdx, [rdi + 0x100]
mov ecx, ebx
not r8b
lea r9d, [rsi - 0x36]
jmp 0x1404dac3e
lea r8d, [rsi - 0x30]
jmp 0x1404dac47
call fcn.1404e8420
mov eax, 1
jmp 0x1404dac56
jmp 0x1404dac60
sub eax, eax
ror cx, cl
mov rcx, qword [rbp - 0x10]
test r11b, 0x14
stc
xor rcx, rsp
jmp 0x1404dac71
call fcn.1404a3da6
add rsp, 0x40
movzx r12, cx
movzx si, bpl
pop r15
pop r14
movsx ebx, dx
pop r12
movsxd rbx, r10d
pop rdi
pop rsi
movzx bx, r10b
pop rbx
cmovs rbp, rdx
jmp 0x1404daca0
pop rbp
jmp 0x1404daca6
ret