Function at 0x1404d458f
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
clc
sal bpl, 0x3f
push rsi
movsx ebp, ax
movsx ax, sil
btr rbp, 0x44
push rdi
bts ax, cx
push r12
not ax
sub dil, r9b
push r14
sal dil, cl
stc
push r15
sub r14, 0x78bc461f
btr r15w, 0xfe
bsf r15w, si
mov rbp, rsp
and eax, 0x1366597c
btr ax, bp
sub rsp, 0x40
add rdi, rax
cmp r12, 0x7e4860c5
or r15b, 0xf3
mov rax, qword [0x1400b7288]
cmp bpl, 0x1a
xor rax, rsp
setp r15b
not r15w
movsx edi, di
mov qword [rbp - 0x10], rax
movzx r14w, cl
mov rdi, r8
cmovb r15, r11
not r14b
mov r15, rdx
setb r14b
movsx r14, r14w
movzx r14, ax
mov r14, rcx
call fcn.1404c7952
mov rsi, rax
stc
jmp 0x1404d4637
sub eax, eax
mov qword [rbp - 0x20], rax
jmp 0x1404d4642
mov dword [rbp - 0x18], eax
call fcn.1404c7952
lea rcx, [rbp - 0x20]
sub r12d, r12d
or bl, 0xc8
lea rbx, [rsi + 0xa0]
cmc
mov qword [rax + 0x3a0], rcx
or ax, r11w
lea rax, [r14 + 0x80]
clc
test r10w, dx
mov qword [rsi + 0x98], r14
stc
test rbx, 0x22c86faa
mov qword [rbx], rax
clc
test rax, rax
jmp 0x1404d468e
je 0x1404d46ca
cmp word [rax], r12w
jmp 0x1404d469d
je 0x1404d46ca
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
jmp 0x1404d46bb
dec edx
movzx r8w, sil
mov r8, rbx
call fcn.1404d4a78
mov dword [rbp - 0x20], r12d
movzx ax, r14b
mov rax, qword [rsi + 0x98]
cmp dx, dx
test rax, rax
jmp 0x1404d46e5
je 0x1404d47bd
cmp word [rax], r12w
jmp 0x1404d46f4
je 0x1404d47bd
mov rax, qword [rbx]
stc
cmc
test rax, rax
jmp 0x1404d4707
je 0x1404d472f
cmp word [rax], r12w
jmp 0x1404d4716
je 0x1404d472f
lea rcx, [rbp - 0x20]
jmp 0x1404d4725
call fcn.1404d4bab
jmp 0x1404d4738
lea rcx, [rbp - 0x20]
call fcn.1404d5209
cmp dword [rbp - 0x20], r12d
jmp 0x1404d4741
jne 0x1404d486d
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
dec edx
mov cl, r8b
lea rcx, [0x1400c64d0]
jmp 0x1404d4765
call fcn.1404d4a78
test al, al
jmp 0x1404d4771
je 0x1404d485e
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d4782
je 0x1404d47aa
cmp word [rax], r12w
jmp 0x1404d4791
je 0x1404d47aa
lea rcx, [rbp - 0x20]
jmp 0x1404d47a0
call fcn.1404d4bab
jmp 0x1404d485e
lea rcx, [rbp - 0x20]
jmp 0x1404d47b3
call fcn.1404d5209
jmp 0x1404d485e
mov rax, qword [rbx]
jmp 0x1404d47c8
test rax, rax
jmp 0x1404d47d0
je 0x1404d484b
cmp word [rax], r12w
je 0x1404d484b
call fcn.1404c7952
mov rdx, rax
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d4800
jne 0x1404d47f3
cmp rcx, 3
mov eax, r12d
xchg al, al
lea rcx, [0x1400ac1c0]
sete al
mov dword [rdx + 0xb4], eax
movsx rdx, di
mov edx, 1
jmp 0x1404d482d
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d483c
jne 0x1404d485e
mov dword [rbp - 0x20], r12d
jmp 0x1404d485e
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d4867
je 0x1404d4a22
lea rax, [r14 + 0x100]
neg dx
add dl, dil
ror dx, cl
neg r14
movsx edx, di
lea rdx, [rbp - 0x20]
jmp 0x1404d488c
sbb rcx, rcx
cmp r10b, cl
jmp 0x1404d4897
and rcx, rax
jmp 0x1404d489f
call fcn.1404d5744
mov ebx, eax
test eax, eax
jmp 0x1404d48ad
je 0x1404d4a22
movzx ecx, bx
jmp 0x1404d48bb
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d48c8
je 0x1404d4a22
mov ecx, dword [rbp - 0x1c]
movzx rdx, r9w
movsx dx, r13b
mov edx, 1
jmp 0x1404d48e4
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d4a22
test r15, r15
jmp 0x1404d48fa
je 0x1404d4906
mov dword [r15], ebx
sub dh, 0xdc
mov ecx, dword [rbp - 0x1c]
movzx r8, r13w
shr rdx, cl
lea rdx, [rsi + 0x2f0]
sub r9d, r9d
movsx r8d, r9w
xchg r8, r8
lea esi, [r9 + 0x55]
movsx r8d, bx
mov r8d, esi
jmp 0x1404d4931
call fcn.1404c95a2
test rdi, rdi
jmp 0x1404d493e
je 0x1404d4a18
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
rcr r8d, 0xa9
and r8b, 0x16
btc r8, rdx
sub r9d, r9d
cmovnp r8w, r9w
mov r8, 0x4e40760d
mov r8d, esi
call fcn.1404c95a2
mov ecx, dword [rbp - 0x1c]
mov r8b, 0xc4
jmp 0x1404d497c
mov esi, 0x40
cmovl dx, r12w
mov r9d, esi
mov r8, rdi
movzx edx, r10w
mov edx, 0x1001
jmp 0x1404d499a
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d49a7
je 0x1404d4a22
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
mov r9d, esi
movzx edx, r8w
movzx rdx, ax
jmp 0x1404d49c7
mov edx, 0x1002
jmp 0x1404d49d1
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d49de
je 0x1404d4a22
lea rdx, [rdi + 0x100]
setae r8b
movzx rcx, r14w
movzx r8w, r11b
mov ecx, ebx
xchg r8w, r8w
not r8b
jmp 0x1404d4a06
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
jmp 0x1404d4a13
call fcn.1404e22ba
mov eax, 1
jmp 0x1404d4a24
sub eax, eax
mov rcx, qword [rbp - 0x10]
test r14w, 0x5445
stc
xor rcx, rsp
jmp 0x1404d4a37
call fcn.14049e054
add rsp, 0x40
movsx rbx, ax
movzx ebp, si
pop r15
pop r14
setge dil
mov edi, 0x19992c1a
pop r12
movzx di, spl
movsx rdi, si
pop rdi
not bx
movzx esi, r8w
movsx bp, dil
pop rsi
pop rbx
movsx rbp, r8w
mov bp, r10w
pop rbp
ret