Function at 0x1404d69b8
Capabilities:
Get geographical location

Disassembly:
push rbp
movzx ebp, r8w
push rbx
push rsi
push rdi
push r12
movzx bp, r8b
shr al, cl
push r14
shr ebp, cl
push r15
setb dil
mov rbp, rsp
seto al
cmc
sub rsp, 0x40
btr r15w, 0xa3
xadd edi, r14d
mov rax, qword [0x1400b7288]
btc r14w, 0x92
bsf r14w, di
movsxd rdi, edx
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov r15, rdx
mov r14, rcx
jmp 0x1404d6a13
call fcn.1404c9f00
mov rsi, rax
clc
cmp rdx, 0xb760250
stc
xor eax, eax
jmp 0x1404d6a2b
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
call fcn.1404c9f00
lea rcx, [rbp - 0x20]
sub r12d, r12d
lea rbx, [rsi + 0xa0]
clc
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
cmp spl, dl
stc
mov qword [rsi + 0x98], r14
clc
mov qword [rbx], rax
test rax, rax
jmp 0x1404d6a6b
je 0x1404d6ab2
cmp word [rax], r12w
jmp 0x1404d6a7a
je 0x1404d6ab2
mov edx, dword [0x1400c6a60]
lea rcx, [0x1400c68f0]
mov r8b, 0x66
xchg r8b, r8b
jmp 0x1404d6a98
dec edx
movsx r8d, ax
movsxd r8, r12d
bswap r8w
mov r8, rbx
jmp 0x1404d6aad
call fcn.1404d6e40
mov dword [rbp - 0x20], r12d
test r9w, 0x6b01
lahf
mov rax, qword [rsi + 0x98]
test spl, r15b
cmc
test rax, rax
jmp 0x1404d6ad0
je 0x1404d6b9b
cmp word [rax], r12w
jmp 0x1404d6adf
je 0x1404d6b9b
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d6af0
je 0x1404d6b18
cmp word [rax], r12w
jmp 0x1404d6aff
je 0x1404d6b18
lea rcx, [rbp - 0x20]
jmp 0x1404d6b0e
call fcn.1404d6f74
jmp 0x1404d6b26
lea rcx, [rbp - 0x20]
jmp 0x1404d6b21
call fcn.1404d7612
cmp dword [rbp - 0x20], r12d
jne 0x1404d6c6d
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
movzx rcx, dx
not ch
dec edx
lea rcx, [0x1400c64d0]
call fcn.1404d6e40
test al, al
jmp 0x1404d6b58
je 0x1404d6c5e
mov rax, qword [rbx]
cmc
test rax, rax
jmp 0x1404d6b6a
je 0x1404d6b8d
cmp word [rax], r12w
je 0x1404d6b8d
lea rcx, [rbp - 0x20]
jmp 0x1404d6b83
call fcn.1404d6f74
jmp 0x1404d6c5e
lea rcx, [rbp - 0x20]
call fcn.1404d7612
jmp 0x1404d6c5e
mov rax, qword [rbx]
test rax, rax
je 0x1404d6c36
cmp word [rax], r12w
je 0x1404d6c36
call fcn.1404c9f00
mov rdx, rax
cmc
test bx, 0x3167
test bpl, r8b
or rcx, 0xffffffffffffffff
jmp 0x1404d6bcb
mov rax, qword [rax + 0xa0]
inc rcx
test r15b, 0x5d
cmp word [rax + rcx*2], r12w
jne 0x1404d6bd2
cmp rcx, 3
mov eax, r12d
mov cx, bx
lea rcx, [0x1400ac1c0]
mov al, 0xa4
sete al
jmp 0x1404d6bff
mov dword [rdx + 0xb4], eax
movzx edx, r10w
mov edx, 1
jmp 0x1404d6c13
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d6c22
jne 0x1404d6c5e
mov dword [rbp - 0x20], r12d
jmp 0x1404d6c31
jmp 0x1404d6c5e
mov dword [rbp - 0x20], 0x104
jmp 0x1404d6c42
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
test spl, 0x7e
test r10b, bl
cmp r11b, 0xb9
mov dword [rbp - 0x1c], eax
jmp 0x1404d6c5e
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6c67
je 0x1404d6df6
lea rax, [r14 + 0x100]
or edx, ebx
btc dx, r14w
shld dx, si, 0x95
neg r14
cwd
xchg dl, dl
jmp 0x1404d6c8c
lea rdx, [rbp - 0x20]
jmp 0x1404d6c95
sbb rcx, rcx
test rbp, rsi
and rcx, rax
jmp 0x1404d6ca3
call fcn.1404d7b5a
mov ebx, eax
clc
stc
test eax, eax
je 0x1404d6df6
movzx ecx, bx
jmp 0x1404d6cbc
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1404d6df6
mov ecx, dword [rbp - 0x1c]
jmp 0x1404d6cd4
mov edx, 1
jmp 0x1404d6cde
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d6ceb
je 0x1404d6df6
test r15, r15
jmp 0x1404d6cf9
je 0x1404d6d02
mov dword [r15], ebx
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
and r8w, 0x4355
adc r8b, 9
xor r9d, r9d
lea esi, [r9 + 0x55]
mov r8d, esi
jmp 0x1404d6d25
call fcn.1404cb9e3
test rdi, rdi
jmp 0x1404d6d32
je 0x1404d6de7
mov ecx, dword [rbp - 0x1c]
movsx dx, bpl
add dh, 0xa7
lea rdx, [rdi + 0x120]
sar r8w, 0x75
xor r9d, r9d
mov r8d, esi
call fcn.1404cb9e3
mov ecx, dword [rbp - 0x1c]
movzx esi, r8w
cqo
movsxd r9, ebx
mov esi, 0x40
movsxd r8, r10d
mov r9d, esi
mov dl, r11b
setl dh
mov r8, rdi
cdq
xchg dl, dh
bswap rdx
mov edx, 0x1001
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d6d92
je 0x1404d6df6
mov ecx, dword [rbp - 0x18]
movzx r9w, r13b
jmp 0x1404d6da5
lea r8, [rdi + 0x80]
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d6db9
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d6dc6
je 0x1404d6df6
lea rdx, [rdi + 0x100]
mov ecx, ebx
lea r9d, [rsi - 0x36]
lea r8d, [rsi - 0x30]
jmp 0x1404d6de2
call fcn.1404e4712
mov eax, 1
jmp 0x1404d6df1
jmp 0x1404d6dfb
xor eax, eax
test dil, r11b
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1404a0330
add rsp, 0x40
movsx bp, r9b
pop r15
pop r14
movsxd rdi, ebx
pop r12
movzx di, r15b
mov rbp, rax
pop rdi
jmp 0x1404d6e30
pop rsi
xchg bl, bpl
pop rbx
setl bpl
pop rbp
jmp 0x1404d6e3f
ret