Function at 0x1404d9219
Capabilities:
Get geographical location

Disassembly:
push rbp
bts ax, ax
rcl rbp, cl
bsr bp, di
push rbx
jmp 0x1404d9241
push rsi
or rax, 0x183e7d41
push rdi
push r12
push r14
btc eax, ecx
xchg r14b, dil
push r15
stc
movsx r15, cx
mov rbp, rsp
sub rsp, 0x40
jmp 0x1404d926b
mov rax, qword [0x1400b7288]
xor rax, rsp
movzx edi, cx
jmp 0x1404d9282
mov qword [rbp - 0x10], rax
movzx r14d, dx
cmovs di, r12w
mov dil, 0x2e
mov rdi, r8
not r14d
movsx r14, ax
cmovp r15d, esi
mov r15, rdx
movzx r14, ax
mov r14b, bl
mov r14, rcx
jmp 0x1404d92b2
call fcn.1404cc699
mov rsi, rax
sub eax, eax
jmp 0x1404d92c1
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
jmp 0x1404d92cd
call fcn.1404cc699
lea rcx, [rbp - 0x20]
cmp r8, 0x553e41e1
mov bx, r10w
bsr bx, sp
sub r12d, r12d
bsf rbx, rcx
bts ebx, eax
lea rbx, [rsi + 0xa0]
test edi, 0x37983bd6
cmp r9w, r15w
mov qword [rax + 0x3a0], rcx
mov eax, ecx
cmp sil, r9b
lea rax, [r14 + 0x80]
mov qword [rsi + 0x98], r14
stc
jmp 0x1404d9320
mov qword [rbx], rax
test rax, rax
jmp 0x1404d932b
je 0x1404d937f
cmp word [rax], r12w
jmp 0x1404d933a
je 0x1404d937f
mov edx, dword [0x1400c6a60]
mov ch, 0x81
inc cl
movsx r8d, bp
lea rcx, [0x1400c68f0]
movsx r8w, r14b
movzx r8, bx
xchg r8b, r8b
dec edx
movzx r8w, spl
setns r8b
movsx r8w, dl
mov r8, rbx
jmp 0x1404d937a
call fcn.1404d973c
mov dword [rbp - 0x20], r12d
test sp, 0x6b9e
add al, 0x18
shld ax, r13w, 6
mov rax, qword [rsi + 0x98]
cmp dil, 0x6d
cmc
test rax, rax
jmp 0x1404d93a4
je 0x1404d947e
cmp word [rax], r12w
je 0x1404d947e
mov rax, qword [rbx]
cmp r10b, r11b
cmc
clc
test rax, rax
jmp 0x1404d93c4
je 0x1404d93ec
cmp word [rax], r12w
jmp 0x1404d93d3
je 0x1404d93ec
lea rcx, [rbp - 0x20]
jmp 0x1404d93e2
call fcn.1404d9880
jmp 0x1404d93fa
lea rcx, [rbp - 0x20]
jmp 0x1404d93f5
call fcn.1404d9ee9
cmp dword [rbp - 0x20], r12d
jmp 0x1404d9403
jne 0x1404d9545
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
inc cl
cmovne ecx, r11d
dec edx
movzx rcx, r15w
mov ecx, edx
lea rcx, [0x1400c64d0]
jmp 0x1404d9430
call fcn.1404d973c
test al, al
jmp 0x1404d943c
je 0x1404d9536
mov rax, qword [rbx]
test rax, rax
je 0x1404d946b
cmp word [rax], r12w
jmp 0x1404d9457
je 0x1404d946b
lea rcx, [rbp - 0x20]
call fcn.1404d9880
jmp 0x1404d9536
lea rcx, [rbp - 0x20]
jmp 0x1404d9474
call fcn.1404d9ee9
jmp 0x1404d9536
mov rax, qword [rbx]
test rax, rax
je 0x1404d951a
cmp word [rax], r12w
jmp 0x1404d9493
je 0x1404d951a
call fcn.1404cc699
mov rdx, rax
test r15w, dx
jmp 0x1404d94aa
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
jmp 0x1404d94ba
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404d94c7
jne 0x1404d94ba
cmp rcx, 3
bswap ecx
mov eax, r12d
lea rcx, [0x1400ac1c0]
mov al, 0x82
sete al
jmp 0x1404d94e7
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404d94f7
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d9506
jne 0x1404d9536
mov dword [rbp - 0x20], r12d
jmp 0x1404d9515
jmp 0x1404d9536
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
jmp 0x1404d9530
mov dword [rbp - 0x1c], eax
test rbp, rcx
cmp dword [rbp - 0x20], r12d
jmp 0x1404d953f
je 0x1404d96ff
lea rax, [r14 + 0x100]
shr dl, cl
neg r14
xchg rdx, rdx
lea rdx, [rbp - 0x20]
jmp 0x1404d955d
sbb rcx, rcx
cmp bh, 0x55
jmp 0x1404d956c
and rcx, rax
call fcn.1404da40b
mov ebx, eax
test eax, eax
jmp 0x1404d957d
je 0x1404d96ff
movzx ecx, bx
jmp 0x1404d958b
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d9598
je 0x1404d96ff
mov ecx, dword [rbp - 0x1c]
mov dx, 0x7fe
movsx dx, spl
movzx dx, bl
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d96ff
test r15, r15
jmp 0x1404d95c9
je 0x1404d95dd
mov dword [r15], ebx
ror ch, 0xc3
rcr dx, cl
movzx dx, r15b
mov ecx, dword [rbp - 0x1c]
or dh, 0xd3
movsx dx, r14b
lea rdx, [rsi + 0x2f0]
xor r9d, r9d
lea esi, [r9 + 0x55]
bswap r8w
not r8b
seta r8b
mov r8d, esi
jmp 0x1404d9609
call fcn.1404ce1b4
test rdi, rdi
jmp 0x1404d9616
je 0x1404d96f0
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
or r8w, 0x22cc
xor r9d, r9d
movsx r8, bx
setb r8b
movsxd r8, edx
mov r8d, esi
jmp 0x1404d9642
call fcn.1404ce1b4
mov ecx, dword [rbp - 0x1c]
movsxd r9, r14d
mov esi, 0x40
mov r9d, esi
movsx r8d, dx
cqo
mov r8, rdi
bswap dx
movsx rdx, r15w
movzx edx, sp
mov edx, 0x1001
jmp 0x1404d9672
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d967f
je 0x1404d96ff
mov ecx, dword [rbp - 0x18]
jmp 0x1404d9691
lea r8, [rdi + 0x80]
mov dl, 0x48
movsx rdx, r11w
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d96ab
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d96b8
je 0x1404d96ff
lea rdx, [rdi + 0x100]
movsx r8w, r10b
mov ecx, ebx
movsxd r8, r14d
xchg r9b, r8b
movzx r8w, al
lea r9d, [rsi - 0x36]
not r8b
setno r8b
lea r8d, [rsi - 0x30]
jmp 0x1404d96eb
call fcn.1404e6ffb
mov eax, 1
jmp 0x1404d96fa
jmp 0x1404d9706
sub eax, eax
mov cx, si
ror ch, cl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
jmp 0x1404d9712
call fcn.1404a2814
add rsp, 0x40
movzx di, al
mov r12b, r8b
pop r15
pop r14
pop r12
pop rdi
pop rsi
movsx rbx, bp
pop rbx
movsx ebp, ax
mov bpl, 0x86
pop rbp
jmp 0x1404d973b
ret