Function at 0x1404cd779
Capabilities:
Get geographical location

Disassembly:
push rbp
sbb bpl, r9b
btr rax, 0
movzx bp, sil
push rbx
rol bpl, 3
push rsi
sar ax, cl
mov al, sil
push rdi
btr rbp, 0x21
shl bp, cl
push r12
sub edi, r14d
push r14
sub di, 0x5c66
push r15
jmp 0x1404cd7ba
mov rbp, rsp
sub rsp, 0x40
btc ax, r13w
mov rax, qword [0x1400b7288]
add r15d, 0x45531ed2
xor rax, rsp
movsx r14, r11w
movzx r15d, r11w
mov qword [rbp - 0x10], rax
setl r15b
mov rdi, r8
mov r15, rdx
movsx r14w, al
mov r14, rcx
call fcn.1404c095d
mov rsi, rax
jmp 0x1404cd802
sub eax, eax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
call fcn.1404c095d
lea rcx, [rbp - 0x20]
sub r12d, r12d
sub bx, 0x5206
lea rbx, [rsi + 0xa0]
cmp bpl, r13b
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
clc
mov qword [rsi + 0x98], r14
stc
mov qword [rbx], rax
test rax, rax
je 0x1404cd88b
cmp word [rax], r12w
je 0x1404cd88b
mov edx, dword [0x1400c6a60]
movsx r8, si
movzx r8d, r10w
xchg ch, cl
lea rcx, [0x1400c68f0]
mov r8b, al
xchg r8b, r8b
movsx r8d, ax
dec edx
movzx r8w, dil
movsx r8w, r8b
movsxd r8, eax
mov r8, rbx
call fcn.1404cdc2c
mov dword [rbp - 0x20], r12d
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404cd89e
je 0x1404cd973
cmp word [rax], r12w
jmp 0x1404cd8ad
je 0x1404cd973
mov rax, qword [rbx]
test rax, rax
jmp 0x1404cd8be
je 0x1404cd8e1
cmp word [rax], r12w
jmp 0x1404cd8cd
je 0x1404cd8e1
lea rcx, [rbp - 0x20]
call fcn.1404cdd8c
jmp 0x1404cd8ef
lea rcx, [rbp - 0x20]
jmp 0x1404cd8ea
call fcn.1404ce3af
cmp dword [rbp - 0x20], r12d
jmp 0x1404cd8f8
jne 0x1404cda30
mov edx, dword [0x1400c68e0]
mov r8b, 0x2a
lea r8, [rsi + 0x98]
dec edx
movsxd rcx, eax
xchg ch, cl
movsx ecx, sp
lea rcx, [0x1400c64d0]
call fcn.1404cdc2c
test al, al
jmp 0x1404cd92b
je 0x1404cda21
mov rax, qword [rbx]
clc
test rax, rax
jmp 0x1404cd93d
je 0x1404cd965
cmp word [rax], r12w
jmp 0x1404cd94c
je 0x1404cd965
lea rcx, [rbp - 0x20]
jmp 0x1404cd95b
call fcn.1404cdd8c
jmp 0x1404cda21
lea rcx, [rbp - 0x20]
call fcn.1404ce3af
jmp 0x1404cda21
mov rax, qword [rbx]
cmp al, spl
test rax, rax
jmp 0x1404cd981
je 0x1404cda0b
cmp word [rax], r12w
jmp 0x1404cd990
je 0x1404cda0b
call fcn.1404c095d
mov rdx, rax
or rcx, 0xffffffffffffffff
jmp 0x1404cd9a7
mov rax, qword [rax + 0xa0]
jmp 0x1404cd9b3
inc rcx
cmp word [rax + rcx*2], r12w
jmp 0x1404cd9c0
jne 0x1404cd9b3
cmp rcx, 3
movsx ax, sil
lahf
mov eax, r12d
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404cd9e2
mov dword [rdx + 0xb4], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404cd9fc
jne 0x1404cda21
mov dword [rbp - 0x20], r12d
jmp 0x1404cda21
mov dword [rbp - 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
stc
test edi, edi
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404cda2a
je 0x1404cdbc4
lea rax, [r14 + 0x100]
neg r14
lea rdx, [rbp - 0x20]
jmp 0x1404cda43
sbb rcx, rcx
cmc
and rcx, rax
jmp 0x1404cda4f
call fcn.1404ce913
mov ebx, eax
stc
test r14d, 0x156b6158
cmc
test eax, eax
jmp 0x1404cda66
je 0x1404cdbc4
movzx ecx, bx
jmp 0x1404cda74
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404cda81
je 0x1404cdbc4
mov ecx, dword [rbp - 0x1c]
not edx
movzx dx, sil
movsx rdx, r9w
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404cdaa7
je 0x1404cdbc4
test r15, r15
jmp 0x1404cdab5
je 0x1404cdac4
mov dword [r15], ebx
add dl, dil
rcr dx, cl
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
xor r9d, r9d
movsx esi, r10w
lea esi, [r9 + 0x55]
mov r8d, esi
call fcn.1404c2533
test rdi, rdi
jmp 0x1404cdae9
je 0x1404cdbb5
mov ecx, dword [rbp - 0x1c]
lea rdx, [rdi + 0x120]
xor r9d, r9d
not r8w
mov r8b, 0xaf
mov r8d, esi
jmp 0x1404cdb0b
call fcn.1404c2533
mov ecx, dword [rbp - 0x1c]
setp dh
mov esi, 0x40
mov r9d, esi
not r8w
jmp 0x1404cdb27
mov r8, rdi
cmova rdx, rdi
movzx edx, bx
mov dl, r9b
mov edx, 0x1001
jmp 0x1404cdb3e
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cdb4b
je 0x1404cdbc4
mov ecx, dword [rbp - 0x18]
bswap edx
movsx rdx, r12w
xchg r9b, r9b
lea r8, [rdi + 0x80]
cqo
cdq
jmp 0x1404cdb6c
mov r9d, esi
cwd
cmovbe dx, r9w
not edx
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404cdb8a
je 0x1404cdbc4
lea rdx, [rdi + 0x100]
mov ecx, ebx
mov r9b, r11b
lea r9d, [rsi - 0x36]
not r8b
movzx r8, dx
lea r8d, [rsi - 0x30]
jmp 0x1404cdbb0
call fcn.1404db230
mov eax, 1
jmp 0x1404cdbbf
jmp 0x1404cdbc8
sub eax, eax
or ecx, esi
mov rcx, qword [rbp - 0x10]
clc
cmp cl, r8b
xor rcx, rsp
jmp 0x1404cdbd8
call fcn.140496cc6
add rsp, 0x40
mov si, 0x6642
movsxd rbp, edi
setne r12b
pop r15
movsx si, r9b
mov rbx, r10
pop r14
cmovnp r12w, cx
not dil
mov bpl, 0
pop r12
xchg bl, dil
pop rdi
movzx si, al
pop rsi
movsx rbx, bp
movzx rbx, r10w
movsx bp, r9b
pop rbx
movsx ebp, r10w
movzx bp, r8b
pop rbp
jmp 0x1404cdc2b
ret