Function at 0x1404d6c3d
Capabilities:
Get geographical location

Disassembly:
push rbp
cdqe
sar ah, 0x80
rol ebp, 0x9d
push rbx
mov bpl, al
bsf ax, r9w
rcr al, cl
push rsi
inc ah
rol bpl, 0x8a
add ax, r9w
push rdi
mov dil, 0x28
add al, 0x46
cwde
push r12
btr ax, bx
push r14
lahf
not rax
push r15
mov rbp, rsp
sub rsp, 0x40
ror dil, cl
mov rax, qword [0x1400b7288]
dec r14d
shld r14, r10, 0xda
sub r14b, 0xa9
xor rax, rsp
mov qword [rbp - 0x10], rax
movsx edi, sp
xchg r14b, dil
mov rdi, r8
mov r15, rdx
mov r14w, r8w
mov r14, rcx
jmp 0x1404d6cae
call fcn.1404ca067
mov rsi, rax
cmp r10w, 0x26bb
xor eax, eax
jmp 0x1404d6cc3
mov qword [rbp - 0x20], rax
jmp 0x1404d6ccc
mov dword [rbp - 0x18], eax
jmp 0x1404d6cd4
call fcn.1404ca067
lea rcx, [rbp - 0x20]
sub r12d, r12d
lea rbx, [rsi + 0xa0]
jmp 0x1404d6cf0
mov qword [rax + 0x3a0], rcx
ror ax, cl
lea rax, [r14 + 0x80]
cmp r8w, r11w
clc
mov qword [rsi + 0x98], r14
cmc
cmp r13, 0x4baf7bc4
mov qword [rbx], rax
cmp dil, 0xe1
test rax, rax
jmp 0x1404d6d24
je 0x1404d6d64
cmp word [rax], r12w
jmp 0x1404d6d33
je 0x1404d6d64
mov edx, dword [0x1400c6a60]
not r8b
movzx r8, si
lea rcx, [0x1400c68f0]
dec edx
xchg r8w, r8w
movzx r8d, r12w
mov r8, rbx
jmp 0x1404d6d5f
call fcn.1404d7123
mov dword [rbp - 0x20], r12d
xadd ax, ax
mov rax, qword [rsi + 0x98]
clc
cmp bpl, 0xfe
test rax, rax
jmp 0x1404d6d80
je 0x1404d6e56
cmp word [rax], r12w
jmp 0x1404d6d8f
je 0x1404d6e56
mov rax, qword [rbx]
test eax, r10d
cmc
test rax, rax
jmp 0x1404d6da4
je 0x1404d6dc7
cmp word [rax], r12w
jmp 0x1404d6db3
je 0x1404d6dc7
lea rcx, [rbp - 0x20]
call fcn.1404d7268
jmp 0x1404d6dd0
lea rcx, [rbp - 0x20]
call fcn.1404d7906
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6dd9
jne 0x1404d6f22
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
movzx ecx, bp
movsxd rcx, ebx
dec edx
movsxd rcx, eax
lea rcx, [0x1400c64d0]
jmp 0x1404d6e03
call fcn.1404d7123
test al, al
jmp 0x1404d6e0f
je 0x1404d6f18
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d6e20
je 0x1404d6e43
cmp word [rax], r12w
je 0x1404d6e43
lea rcx, [rbp - 0x20]
jmp 0x1404d6e39
call fcn.1404d7268
jmp 0x1404d6f18
lea rcx, [rbp - 0x20]
jmp 0x1404d6e4c
call fcn.1404d7906
jmp 0x1404d6f18
mov rax, qword [rbx]
clc
test rax, rax
jmp 0x1404d6e62
je 0x1404d6efe
cmp word [rax], r12w
jmp 0x1404d6e71
je 0x1404d6efe
call fcn.1404ca067
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d6e88
mov rax, qword [rax + 0xa0]
jmp 0x1404d6e94
inc rcx
test dl, sil
cmp word [rax + rcx*2], r12w
jmp 0x1404d6ea4
jne 0x1404d6e94
cmp rcx, 3
movsx eax, r13w
movsx rax, r13w
mov eax, r12d
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d6ec8
mov dword [rdx + 0xb4], eax
movsx edx, sp
mov edx, 1
jmp 0x1404d6edb
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d6eea
jne 0x1404d6f18
mov dword [rbp - 0x20], r12d
jmp 0x1404d6ef9
jmp 0x1404d6f18
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test sil, 0xac
clc
mov dword [rbp - 0x1c], eax
clc
stc
cmp dword [rbp - 0x20], r12d
je 0x1404d70c7
lea rax, [r14 + 0x100]
neg r14
lea rdx, [rbp - 0x20]
jmp 0x1404d6f35
sbb rcx, rcx
test r10b, r13b
cmc
and rcx, rax
call fcn.1404d7df1
mov ebx, eax
test eax, eax
jmp 0x1404d6f4d
je 0x1404d70c7
movzx ecx, bx
jmp 0x1404d6f5b
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d6f68
je 0x1404d70c7
mov ecx, dword [rbp - 0x1c]
xchg dh, dl
movzx edx, si
not dl
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d6f8a
je 0x1404d70c7
test r15, r15
je 0x1404d6fa3
mov dword [r15], ebx
cmp r9, 0x7f301677
mov ecx, dword [rbp - 0x1c]
cwd
sal r8b, 0xff
rol dl, cl
lea rdx, [rsi + 0x2f0]
btr si, cx
rol sil, 0xe4
xor r9d, r9d
not sil
lea esi, [r9 + 0x55]
movsx r8, di
movzx r8w, bpl
movsx r8d, bx
mov r8d, esi
jmp 0x1404d6fdc
call fcn.1404cbbac
test rdi, rdi
jmp 0x1404d6fe9
je 0x1404d70bd
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
sub r9d, r9d
cmovbe r8, rcx
mov r8d, esi
call fcn.1404cbbac
mov ecx, dword [rbp - 0x1c]
seta sil
movsx r8, cx
mov esi, 0x40
movsx r8w, r13b
movzx r8d, r10w
cdq
mov r9d, esi
movzx dx, r15b
seta dl
movsx rdx, bx
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d703e
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d704b
je 0x1404d70c7
mov ecx, dword [rbp - 0x18]
movzx r9w, r8b
cmovne r9d, eax
lea r8, [rdi + 0x80]
movzx r9, cx
movsx r9d, di
movsx dx, r14b
mov r9d, esi
xchg edx, edx
mov dl, 0xb2
setg dl
mov edx, 0x1002
jmp 0x1404d7085
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d7092
je 0x1404d70c7
lea rdx, [rdi + 0x100]
xchg rcx, r9
mov ecx, ebx
bswap r9
mov r9d, 0x32832338
mov r9d, eax
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
call fcn.1404e4a85
mov eax, 1
jmp 0x1404d70d0
xor eax, eax
rol cl, 0xb8
movzx rcx, r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
jmp 0x1404d70dc
call fcn.1404a0519
add rsp, 0x40
pop r15
not r12d
pop r14
mov bx, bx
xchg bpl, sil
movzx r12, r12w
pop r12
pop rdi
movzx rbp, bx
movsx ebx, dx
movzx si, spl
pop rsi
movzx ebp, ax
movzx bp, r13b
movsx rbx, di
pop rbx
movzx rbp, di
jmp 0x1404d711c
pop rbp
jmp 0x1404d7122
ret