Function at 0x1404d695c
Capabilities:
Get geographical location

Disassembly:
push rbp
test r8w, di
push rbx
sbb ah, ah
push rsi
push rdi
bsr bp, r8w
push r12
push r14
push r15
inc r15d
mov rbp, rsp
cmovb edi, r10d
movzx di, spl
sub rsp, 0x40
movsx di, bl
rol dil, 0x66
mov rax, qword [0x1400b7288]
btr r15, 0xe3
cmovno r14d, r12d
xor rax, rsp
mov rdi, rsi
movzx rdi, r13w
not r15b
mov qword [rbp - 0x10], rax
movsx di, r11b
movzx r14, bx
movsx edi, dx
mov rdi, r8
not r14
bswap r15w
mov r15, rdx
mov r14, rcx
jmp 0x1404d69cf
call fcn.1404c9dd7
mov rsi, rax
sub eax, eax
jmp 0x1404d69de
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
jmp 0x1404d69ea
call fcn.1404c9dd7
lea rcx, [rbp - 0x20]
movzx ebx, sp
test r12, 0x70a4192d
movsx bx, sil
xor r12d, r12d
dec bh
lea rbx, [rsi + 0xa0]
cmp sil, r14b
mov qword [rax + 0x3a0], rcx
sub ax, bp
shrd ax, r10w, 0xf8
bsr rax, rsi
lea rax, [r14 + 0x80]
stc
mov qword [rsi + 0x98], r14
mov qword [rbx], rax
test sil, 0x9c
clc
test rax, rax
je 0x1404d6a89
cmp word [rax], r12w
jmp 0x1404d6a4e
je 0x1404d6a89
mov edx, dword [0x1400c6a60]
setns ch
inc r8w
jmp 0x1404d6a66
lea rcx, [0x1400c68f0]
mov r8b, 0x97
dec r8b
dec edx
movsx r8w, al
seta r8b
xchg r8, r8
mov r8, rbx
call fcn.1404d6e6e
mov dword [rbp - 0x20], r12d
sbb eax, 0x59d5781e
mov rax, qword [rsi + 0x98]
test rax, rax
jmp 0x1404d6aa1
je 0x1404d6b73
cmp word [rax], r12w
je 0x1404d6b73
mov rax, qword [rbx]
cmp r9b, r13b
test rax, rax
jmp 0x1404d6abf
je 0x1404d6add
cmp word [rax], r12w
je 0x1404d6add
lea rcx, [rbp - 0x20]
call fcn.1404d6f8d
jmp 0x1404d6aeb
lea rcx, [rbp - 0x20]
jmp 0x1404d6ae6
call fcn.1404d75c6
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6af4
jne 0x1404d6c51
mov edx, dword [0x1400c68e0]
lea r8, [rsi + 0x98]
inc cl
mov cl, r15b
movzx rcx, si
dec edx
xchg cl, cl
lea rcx, [0x1400c64d0]
jmp 0x1404d6b20
call fcn.1404d6e6e
test al, al
jmp 0x1404d6b2c
je 0x1404d6c42
mov rax, qword [rbx]
test rax, rax
jmp 0x1404d6b3d
je 0x1404d6b60
cmp word [rax], r12w
je 0x1404d6b60
lea rcx, [rbp - 0x20]
jmp 0x1404d6b56
call fcn.1404d6f8d
jmp 0x1404d6c42
lea rcx, [rbp - 0x20]
jmp 0x1404d6b69
call fcn.1404d75c6
jmp 0x1404d6c42
mov rax, qword [rbx]
jmp 0x1404d6b7c
test rax, rax
jmp 0x1404d6b84
je 0x1404d6c24
cmp word [rax], r12w
jmp 0x1404d6b93
je 0x1404d6c24
call fcn.1404c9dd7
mov rdx, rax
jmp 0x1404d6ba6
or rcx, 0xffffffffffffffff
jmp 0x1404d6baf
mov rax, qword [rax + 0xa0]
jmp 0x1404d6bbb
inc rcx
cmc
cmp r12b, r12b
cmp word [rax + rcx*2], r12w
jne 0x1404d6bbb
cmp rcx, 3
movsxd rax, r13d
mov eax, r12d
jmp 0x1404d6be2
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d6bf1
mov dword [rdx + 0xb4], eax
mov edx, 1
jmp 0x1404d6c01
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d6c10
jne 0x1404d6c42
mov dword [rbp - 0x20], r12d
jmp 0x1404d6c1f
jmp 0x1404d6c42
mov dword [rbp - 0x20], 0x104
jmp 0x1404d6c30
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
stc
test cx, 0x7ce6
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x20], r12d
jmp 0x1404d6c4b
je 0x1404d6e00
lea rax, [r14 + 0x100]
neg r14
movsx rdx, r14w
setp dh
dec dh
lea rdx, [rbp - 0x20]
jmp 0x1404d6c6d
sbb rcx, rcx
and rcx, rax
call fcn.1404d7b0e
mov ebx, eax
test eax, eax
je 0x1404d6e00
movzx ecx, bx
jmp 0x1404d6c8a
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d6c97
je 0x1404d6e00
mov ecx, dword [rbp - 0x1c]
cdq
movsxd rdx, esp
mov edx, 1
jmp 0x1404d6cae
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jmp 0x1404d6cbb
je 0x1404d6e00
test r15, r15
jmp 0x1404d6cc9
je 0x1404d6cde
mov dword [r15], ebx
sal ecx, cl
mov r8b, r13b
sub r8, 0xf682af0
mov ecx, dword [rbp - 0x1c]
cqo
bt dx, bx
movzx r8w, r10b
lea rdx, [rsi + 0x2f0]
btc si, 0xc
xor r9d, r9d
movsxd r8, r15d
lea esi, [r9 + 0x55]
movsx r8, r12w
movzx r8, si
bswap r8d
mov r8d, esi
jmp 0x1404d6d15
call fcn.1404cb9e1
test rdi, rdi
jmp 0x1404d6d22
je 0x1404d6df1
mov ecx, dword [rbp - 0x1c]
cqo
mov dl, r13b
lea rdx, [rdi + 0x120]
bts r8d, r10d
add r8b, 5
sub r9d, r9d
movzx r8d, ax
mov r8d, esi
call fcn.1404cb9e1
mov ecx, dword [rbp - 0x1c]
movsxd rsi, esp
not sil
movsx rdx, r11w
mov esi, 0x40
mov r9d, esi
mov dx, 0x69e0
mov r8, rdi
jmp 0x1404d6d76
mov edx, 0x1001
jmp 0x1404d6d80
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d6d8d
je 0x1404d6e00
mov ecx, dword [rbp - 0x18]
mov r8b, 0
movsxd rdx, r10d
movsx r9, r15w
lea r8, [rdi + 0x80]
movsxd r9, ebp
not dh
mov r9d, esi
mov edx, 0x1002
jmp 0x1404d6db9
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d6dc6
je 0x1404d6e00
lea rdx, [rdi + 0x100]
movzx rcx, sp
mov ecx, ebx
mov r8b, dil
lea r9d, [rsi - 0x36]
mov r8b, 0x57
lea r8d, [rsi - 0x30]
jmp 0x1404d6dec
call fcn.1404e4526
mov eax, 1
jmp 0x1404d6dfb
jmp 0x1404d6e0c
sub eax, eax
sbb ecx, 0xde86e90
movsxd rcx, edi
cmc
mov rcx, qword [rbp - 0x10]
test r8b, 0x4d
stc
xor rcx, rsp
jmp 0x1404d6e1d
call fcn.1404a04c2
add rsp, 0x40
movsx r14d, cx
setae sil
pop r15
movzx esi, bp
pop r14
movsxd rsi, r9d
movsx ebp, cx
movzx ebx, bp
pop r12
not bx
movsxd rdi, r9d
cmova rbp, rsi
pop rdi
movsx ebp, r12w
setb bl
movsx rsi, r14w
pop rsi
movsx bp, spl
bswap bp
movsx ebx, ax
pop rbx
movsx rbp, r14w
pop rbp
jmp 0x1404d6e6d
ret