Function at 0x14048b467
Capabilities:
Get geographical location

Disassembly:
push rbp
movsx rbp, r13w
and bp, di
push rbx
push rsi
shr ebp, 0xf0
neg bpl
push rdi
inc rbp
rcr ah, 0xec
push r12
bt di, r14w
add bpl, bpl
push r14
lahf
push r15
mov rbp, rsp
cmp sp, r11w
sub rsp, 0x40
stc
bt ax, 0x97
mov rax, qword [0x1400b6278]
inc di
movsx r14d, r9w
xor rax, rsp
mov r14b, r10b
movsx r14, ax
mov qword [rbp - 0x10], rax
mov rdi, r8
setae r15b
cmovne r14, rax
mov r15, rdx
xchg r14w, r14w
mov r14, rcx
jmp 0x14048b4d5
call fcn.14047e94e
mov rsi, rax
cmp bpl, 0x78
cmc
sub eax, eax
jmp 0x14048b4e9
mov qword [rbp - 0x20], rax
jmp 0x14048b4f2
mov dword [rbp - 0x18], eax
jmp 0x14048b4fa
call fcn.14047e94e
lea rcx, [rbp - 0x20]
ror bl, cl
bswap bx
xor r12d, r12d
mov bh, 0xca
lea rbx, [rsi + 0xa0]
cmp bh, 0xcb
cmc
test sil, dil
mov qword [rax + 0x3a0], rcx
sub rax, rsp
sbb eax, 0x6ed564d
lea rax, [r14 + 0x80]
clc
mov qword [rsi + 0x98], r14
test r15w, 0x3b13
clc
cmp r12b, 0x53
mov qword [rbx], rax
stc
test rax, rax
jmp 0x14048b551
je 0x14048b590
cmp word [rax], r12w
je 0x14048b590
mov edx, dword [0x1400c5a50]
mov rcx, 0x71242b89
lea rcx, [0x1400c58e0]
inc r8w
movsx r8, ax
jmp 0x14048b582
dec edx
movsx r8d, bp
mov r8, rbx
call fcn.14048b93d
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
test r14w, 0x6b14
cmc
stc
test rax, rax
jmp 0x14048b5ab
je 0x14048b69a
cmp word [rax], r12w
jmp 0x14048b5ba
je 0x14048b69a
mov rax, qword [rbx]
test rax, rax
jmp 0x14048b5cb
je 0x14048b5f3
cmp word [rax], r12w
jmp 0x14048b5da
je 0x14048b5f3
lea rcx, [rbp - 0x20]
jmp 0x14048b5e9
call fcn.14048ba84
jmp 0x14048b601
lea rcx, [rbp - 0x20]
jmp 0x14048b5fc
call fcn.14048c12e
cmp dword [rbp - 0x20], r12d
jmp 0x14048b60a
jne 0x14048b77d
mov edx, dword [0x1400c58d0]
cmovne r8, rax
lea r8, [rsi + 0x98]
dec cx
movsx rcx, ax
dec edx
movzx rcx, di
jmp 0x14048b637
lea rcx, [0x1400c54c0]
jmp 0x14048b643
call fcn.14048b93d
test al, al
jmp 0x14048b64f
je 0x14048b76e
mov rax, qword [rbx]
cmc
test ax, ax
test rax, rax
jmp 0x14048b664
je 0x14048b68c
cmp word [rax], r12w
jmp 0x14048b673
je 0x14048b68c
lea rcx, [rbp - 0x20]
jmp 0x14048b682
call fcn.14048ba84
jmp 0x14048b76e
lea rcx, [rbp - 0x20]
call fcn.14048c12e
jmp 0x14048b76e
mov rax, qword [rbx]
test rax, rax
jmp 0x14048b6a5
je 0x14048b74e
cmp word [rax], r12w
jmp 0x14048b6b4
je 0x14048b74e
call fcn.14047e94e
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x14048b6cb
mov rax, qword [rax + 0xa0]
jmp 0x14048b6d7
inc rcx
stc
jmp 0x14048b6e1
cmp word [rax + rcx*2], r12w
jmp 0x14048b6eb
jne 0x14048b6d7
cmp rcx, 3
bswap ax
setl ch
cdqe
mov eax, r12d
movsx rcx, r10w
xchg al, al
lea rcx, [0x1400ab3ec]
sete al
jmp 0x14048b715
mov dword [rdx + 0xb4], eax
movsx edx, r8w
not dh
mov edx, 1
jmp 0x14048b72b
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x14048b73a
jne 0x14048b76e
mov dword [rbp - 0x20], r12d
jmp 0x14048b749
jmp 0x14048b76e
mov dword [rbp - 0x20], 0x104
jmp 0x14048b75a
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test eax, r10d
mov dword [rbp - 0x1c], eax
jmp 0x14048b76e
cmp dword [rbp - 0x20], r12d
jmp 0x14048b777
je 0x14048b8e7
lea rax, [r14 + 0x100]
cmc
neg r14
movsxd rdx, r13d
lea rdx, [rbp - 0x20]
jmp 0x14048b794
sbb rcx, rcx
stc
jmp 0x14048b79d
and rcx, rax
call fcn.14048c65c
mov ebx, eax
test eax, eax
je 0x14048b8e7
movzx ecx, bx
jmp 0x14048b7b7
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x14048b8e7
mov ecx, dword [rbp - 0x1c]
mov edx, 1
jmp 0x14048b7d2
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x14048b7df
je 0x14048b8e7
test r15, r15
jmp 0x14048b7ed
je 0x14048b7fb
mov dword [r15], ebx
bt dx, 0x85
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
clc
dec esi
sub r9d, r9d
lea esi, [r9 + 0x55]
movsxd r8, r8d
movsx r8w, r13b
mov r8d, 0x6a516685
mov r8d, esi
jmp 0x14048b825
call fcn.140480455
test rdi, rdi
je 0x14048b8d8
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
cmc
xor r9d, r9d
movsx r8w, sil
movzx r8, r15w
mov r8d, esi
jmp 0x14048b852
call fcn.140480455
mov ecx, dword [rbp - 0x1c]
mov esi, 0x40
mov r9d, esi
mov r8, rdi
mov edx, 0x1001
jmp 0x14048b86f
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x14048b87c
je 0x14048b8e7
mov ecx, dword [rbp - 0x18]
movsx dx, r11b
lea r8, [rdi + 0x80]
jmp 0x14048b89b
mov r9d, esi
bswap dx
mov edx, 0x1002
jmp 0x14048b8ab
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x14048b8b8
je 0x14048b8e7
lea rdx, [rdi + 0x100]
mov ecx, ebx
lea r9d, [rsi - 0x36]
movzx r8d, r14w
lea r8d, [rsi - 0x30]
call fcn.1404990a9
mov eax, 1
jmp 0x14048b8e2
jmp 0x14048b8ec
sub eax, eax
xor rcx, rbx
mov rcx, qword [rbp - 0x10]
clc
xor rcx, rsp
call fcn.140454a7f
add rsp, 0x40
mov bx, bp
pop r15
movsxd rbx, esp
movsx r14, r12w
pop r14
pop r12
mov bl, 0xa1
mov bpl, r9b
pop rdi
movzx ebp, bp
movsxd rbx, r14d
cmovae si, dx
pop rsi
cmova bx, r12w
movsx ebp, r14w
movzx bx, dil
pop rbx
bswap rbp
movzx ebp, si
mov rbp, rsi
pop rbp
jmp 0x14048b93c
ret