Function at 0x1404d35ae
Capabilities:
Get geographical location

Disassembly:
push rbp
rcl al, 0x25
cmp r12b, 0x7a
push rbx
push rsi
movsx eax, r13w
adc rbp, 0x3dde254d
push rdi
push r12
push r14
push r15
rcl r15, 0x77
mov rbp, rsp
xor r15b, r12b
cdqe
sbb r15w, r11w
sub rsp, 0x40
ror r14, 0xfb
rol ah, 0xff
mov rax, qword [0x1400b7288]
adc r15b, 0x13
xor rax, rsp
mov qword [rbp - 0x10], rax
bswap r14w
movzx r14w, r12b
xchg r15, r15
mov rdi, r8
mov r15, rdx
not r14b
mov r14, rcx
jmp 0x1404d3615
call fcn.1404c6930
mov rsi, rax
xor eax, eax
jmp 0x1404d3624
mov qword [rbp - 0x20], rax
jmp 0x1404d362d
mov dword [rbp - 0x18], eax
call fcn.1404c6930
lea rcx, [rbp - 0x20]
rcl bx, cl
sub rbx, 0x7c776100
sub r12d, r12d
and bh, al
movsx ebx, r13w
lea rbx, [rsi + 0xa0]
mov qword [rax + 0x3a0], rcx
sar ah, 0x98
xadd ah, al
cbw
lea rax, [r14 + 0x80]
clc
jmp 0x1404d3672
mov qword [rsi + 0x98], r14
mov qword [rbx], rax
cmc
jmp 0x1404d3686
test rax, rax
jmp 0x1404d368e
je 0x1404d36c3
cmp word [rax], r12w
je 0x1404d36c3
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
dec edx
movzx r8w, r8b
not r8w
mov r8, rbx
jmp 0x1404d36be
call fcn.1404d3a96
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
cmc
test rax, rax
jmp 0x1404d36d7
je 0x1404d37ba
cmp word [rax], r12w
je 0x1404d37ba
mov rax, qword [rbx]
jmp 0x1404d36ef
test rax, rax
jmp 0x1404d36f7
je 0x1404d371f
cmp word [rax], r12w
jmp 0x1404d3706
je 0x1404d371f
lea rcx, [rbp - 0x20]
jmp 0x1404d3715
call fcn.1404d3bb5
jmp 0x1404d3728
lea rcx, [rbp - 0x20]
call fcn.1404d425a
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3731
jne 0x1404d388c
mov edx, dword [0x1400c68e0]
movsxd r8, r13d
lea r8, [rsi + 0x98]
mov ecx, ebp
movsx ecx, r14w
jmp 0x1404d3752
dec edx
movsx ecx, si
movsx cx, r8b
movzx rcx, r12w
lea rcx, [0x1400c64d0]
call fcn.1404d3a96
test al, al
jmp 0x1404d3773
je 0x1404d387d
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d3784
je 0x1404d37ac
cmp word [rax], r12w
jmp 0x1404d3793
je 0x1404d37ac
lea rcx, [rbp - 0x20]
jmp 0x1404d37a2
call fcn.1404d3bb5
jmp 0x1404d387d
lea rcx, [rbp - 0x20]
call fcn.1404d425a
jmp 0x1404d387d
mov rax, qword [rbx]
clc
cmp dil, 0x33
test dx, sp
test rax, rax
jmp 0x1404d37cd
je 0x1404d385c
cmp word [rax], r12w
je 0x1404d385c
call fcn.1404c6930
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404d37ee
mov rax, qword [rax + 0xa0]
jmp 0x1404d37fa
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1404d37fa
cmp rcx, 3
movzx rax, sp
not rcx
mov eax, r12d
jmp 0x1404d381f
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d382e
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404d383e
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d384d
jne 0x1404d387d
mov dword [rbp - 0x20], r12d
jmp 0x1404d387d
mov dword [rbp - 0x20], 0x104
jmp 0x1404d3868
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x1c], eax
jmp 0x1404d387d
cmp dword [rbp - 0x20], r12d
jmp 0x1404d3886
je 0x1404d3a40
lea rax, [r14 + 0x100]
test bpl, sil
rcl dl, cl
clc
neg r14
movsx edx, r12w
inc dl
lea rdx, [rbp - 0x20]
sbb rcx, rcx
jmp 0x1404d38ae
and rcx, rax
jmp 0x1404d38b6
call fcn.1404d47aa
mov ebx, eax
jmp 0x1404d38c8
test eax, eax
jmp 0x1404d38cf
je 0x1404d3a40
movzx ecx, bx
jmp 0x1404d38dd
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d38ea
je 0x1404d3a40
mov ecx, dword [rbp - 0x1c]
movzx rdx, r14w
mov edx, 1
jmp 0x1404d3901
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d3a40
test r15, r15
jmp 0x1404d3917
je 0x1404d3920
mov dword [r15], ebx
mov ecx, dword [rbp - 0x1c]
bt r8w, dx
lea rdx, [rsi + 0x2f0]
not sil
cmp r14w, r12w
mov si, 0x4f0d
xor r9d, r9d
lea esi, [r9 + 0x55]
movsx r8, cx
mov r8w, sp
mov r8d, esi
jmp 0x1404d3951
call fcn.1404c8526
test rdi, rdi
jmp 0x1404d395e
je 0x1404d3a36
mov ecx, dword [rbp - 0x1c]
movsx rdx, r15w
ror dl, 0
rcl r8b, 0xb2
lea rdx, [rdi + 0x120]
movzx r8w, al
sub r9d, r9d
jmp 0x1404d398e
mov r8d, esi
jmp 0x1404d3996
call fcn.1404c8526
mov ecx, dword [rbp - 0x1c]
not sil
bswap r9w
movzx esi, r8w
mov esi, 0x40
movsx rdx, cx
mov r9d, esi
cmovp r8w, r13w
not edx
movsxd r8, edi
mov r8, rdi
mov dl, r12b
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d3a40
mov ecx, dword [rbp - 0x18]
lea r8, [rdi + 0x80]
cqo
not rdx
movsx edx, sp
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d39f7
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d3a04
je 0x1404d3a40
lea rdx, [rdi + 0x100]
movzx r8d, si
xchg cl, r9b
mov r9, 0x101c1686
mov ecx, ebx
not r9b
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
jmp 0x1404d3a31
call fcn.1404e14d1
mov eax, 1
jmp 0x1404d3a46
sub eax, eax
movzx rcx, r15w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
jmp 0x1404d3a52
call fcn.14049cc19
add rsp, 0x40
movzx r15w, dil
mov r14w, r12w
bswap r14w
pop r15
setnp r12b
not dil
pop r14
pop r12
pop rdi
not bh
setg sil
movzx rbp, cx
pop rsi
jmp 0x1404d3a8a
pop rbx
setno bpl
pop rbp
jmp 0x1404d3a95
ret