Function at 0x1404d4540
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
btr bp, 0x14
push rsi
push rdi
adc di, di
sar al, 0xa8
movsx ebp, ax
push r12
movsx ebp, bx
btr edi, eax
push r14
add bp, 0x328c
btr eax, 0xdf
shrd r14, r13, 0x59
push r15
cmp sil, r10b
mov rbp, rsp
sub rsp, 0x40
stc
rcl r14b, 0xed
not r15b
mov rax, qword [0x1400b7288]
stc
xor rax, rsp
movsx edi, r10w
mov qword [rbp - 0x10], rax
mov di, 0x2426
mov r15w, cx
xchg r15, r14
mov rdi, r8
movsx r15d, bp
setbe r14b
mov r15, rdx
mov r14, rcx
call fcn.1404c79ec
mov rsi, rax
clc
xor eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d45c2
mov dword [rbp - 0x18], eax
jmp 0x1404d45ca
call fcn.1404c79ec
lea rcx, [rbp - 0x20]
sub r12d, r12d
lea rbx, [rsi + 0xa0]
clc
mov qword [rax + 0x3a0], rcx
sal al, 0x27
lea rax, [r14 + 0x80]
test r8d, r8d
cmp rbp, 0x22b26e47
mov qword [rsi + 0x98], r14
test al, r11b
jmp 0x1404d4608
mov qword [rbx], rax
jmp 0x1404d4613
test rax, rax
jmp 0x1404d461b
je 0x1404d4658
cmp word [rax], r12w
je 0x1404d4658
mov edx, dword [0x1400c6a60]
xchg cx, cx
lea rcx, [0x1400c68f0]
dec r8w
bswap r8w
xchg r8b, r8b
dec edx
mov r8b, 0x72
mov r8, rbx
jmp 0x1404d4653
call fcn.1404d4a0b
mov dword [rbp - 0x20], r12d
movzx rax, dx
sar ah, cl
cdqe
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d4673
je 0x1404d4748
cmp word [rax], r12w
jmp 0x1404d4682
je 0x1404d4748
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d4693
je 0x1404d46b1
cmp word [rax], r12w
je 0x1404d46b1
lea rcx, [rbp - 0x20]
call fcn.1404d4b49
jmp 0x1404d46bf
lea rcx, [rbp - 0x20]
jmp 0x1404d46ba
call fcn.1404d518b
cmp dword [rbp - 0x20], r12d
jne 0x1404d481a
mov edx, dword [0x1400c68e0]
jmp 0x1404d46d4
lea r8, [rsi + 0x98]
movsx rcx, r14w
mov ch, 0x30
dec edx
lea rcx, [0x1400c64d0]
jmp 0x1404d46f0
call fcn.1404d4a0b
test al, al
jmp 0x1404d46fc
je 0x1404d480b
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d470d
je 0x1404d4735
cmp word [rax], r12w
jmp 0x1404d471c
je 0x1404d4735
lea rcx, [rbp - 0x20]
jmp 0x1404d472b
call fcn.1404d4b49
jmp 0x1404d480b
lea rcx, [rbp - 0x20]
jmp 0x1404d473e
call fcn.1404d518b
jmp 0x1404d480b
mov rax, qword [rbx]
test r13d, edx
test rax, rax
je 0x1404d47ea
cmp word [rax], r12w
jmp 0x1404d4760
je 0x1404d47ea
call fcn.1404c79ec
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d4777
mov rax, qword [rax + 0xa0]
jmp 0x1404d4783
inc rcx
test r11w, ax
cmp word [rax + rcx*2], r12w
jmp 0x1404d4794
jne 0x1404d4783
cmp rcx, 3
mov eax, r12d
lea rcx, [0x1400ac1c0]
not al
jmp 0x1404d47af
sete al
jmp 0x1404d47b7
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404d47c7
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d47d6
jne 0x1404d480b
mov dword [rbp - 0x20], r12d
jmp 0x1404d47e5
jmp 0x1404d480b
mov dword [rbp - 0x20], 0x104
jmp 0x1404d47f6
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp r15b, 0x36
jmp 0x1404d480b
cmp dword [rbp - 0x20], r12d
jmp 0x1404d4814
je 0x1404d49b4
lea rax, [r14 + 0x100]
neg r14
cmovb dx, ax
movsx rdx, sp
lea rdx, [rbp - 0x20]
jmp 0x1404d4835
sbb rcx, rcx
clc
cmp bpl, bl
jmp 0x1404d4841
and rcx, rax
jmp 0x1404d4849
call fcn.1404d56c5
mov ebx, eax
test eax, eax
jmp 0x1404d4857
je 0x1404d49b4
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d486d
je 0x1404d49b4
mov ecx, dword [rbp - 0x1c]
xchg dl, dl
mov edx, 1
jmp 0x1404d4882
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d49b4
test r15, r15
je 0x1404d48a4
mov dword [r15], ebx
xadd edx, r8d
rcl r8w, cl
mov ecx, dword [rbp - 0x1c]
btr rdx, rsp
clc
lea rdx, [rsi + 0x2f0]
add sil, r8b
neg r8b
xchg r8b, r8b
xor r9d, r9d
lea esi, [r9 + 0x55]
not r8w
bswap r8d
mov r8d, esi
call fcn.1404c9576
test rdi, rdi
jmp 0x1404d48da
je 0x1404d49a5
mov ecx, dword [rbp - 0x1c]
sar r8b, cl
add r8b, 0x21
adc r8b, r8b
lea rdx, [rdi + 0x120]
neg r8w
xor r9d, r9d
mov r8d, esi
jmp 0x1404d4903
call fcn.1404c9576
mov ecx, dword [rbp - 0x1c]
xchg r9d, r8d
mov r8d, ebp
bswap dx
mov esi, 0x40
movzx rdx, r13w
xchg r8b, r8b
cwd
mov r9d, esi
jmp 0x1404d492a
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d4937
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d49b4
mov ecx, dword [rbp - 0x18]
not dh
lea r8, [rdi + 0x80]
xchg dx, r9w
setns r9b
movsx r9d, r12w
mov r9d, esi
mov dh, 0x74
cmovo rdx, r9
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d4979
je 0x1404d49b4
lea rdx, [rdi + 0x100]
movzx r9, di
cmovp cx, dx
mov ecx, ebx
xchg r9b, r8b
cmovp r8w, bp
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
call fcn.1404e226b
mov eax, 1
jmp 0x1404d49af
jmp 0x1404d49b6
xor eax, eax
mov rcx, qword [rbp - 0x10]
test sil, 0xff
xor rcx, rsp
call fcn.14049dc81
add rsp, 0x40
mov sil, 0x18
pop r15
movsx bx, r12b
mov r14b, 0xb9
pop r14
not r12b
movsx edi, r15w
movsxd rdi, r13d
pop r12
mov di, r10w
movsx ebx, r12w
pop rdi
movzx rbx, sp
movsx rbx, ax
not bx
pop rsi
movsx ebp, r12w
pop rbx
movsx rbp, di
xchg bpl, bpl
mov ebp, r10d
pop rbp
ret