Function at 0x1404d7222
Capabilities:
Get geographical location

Disassembly:
push rbp
sar al, 0x37
shr bpl, 0x25
push rbx
sbb eax, esi
bt rax, 0x35
btc rax, r14
push rsi
bt ax, cx
add ebp, eax
xchg bpl, bpl
push rdi
push r12
btr bp, r15w
shr bpl, 0x78
adc edi, r11d
push r14
mov rbp, 0x33a827ec
movsxd rax, r9d
push r15
rol ebp, 0xdc
sbb r14, r10
adc bpl, r10b
mov rbp, rsp
bts edi, r10d
sub rsp, 0x40
sal r14d, cl
bt di, 0x2f
btr eax, ebx
mov rax, qword [0x1400b7288]
shr r15, cl
sal di, 0x7f
xor rax, rsp
mov dil, 0xc1
sete r15b
movsx r15, r14w
mov qword [rbp - 0x10], rax
movzx r14, r8w
mov rdi, r8
mov r15, rdx
mov r14, rcx
call fcn.1404ca4a6
mov rsi, rax
test ebx, 0x5b397898
test ebp, r9d
jmp 0x1404d72c0
xor eax, eax
jmp 0x1404d72c7
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
jmp 0x1404d72d3
call fcn.1404ca4a6
lea rcx, [rbp - 0x20]
sub r12d, r12d
lea rbx, [rsi + 0xa0]
stc
test spl, r12b
mov qword [rax + 0x3a0], rcx
lea rax, [r14 + 0x80]
cmc
clc
mov qword [rsi + 0x98], r14
cmp r8b, r11b
mov qword [rbx], rax
stc
clc
test rax, rax
jmp 0x1404d7311
je 0x1404d7342
cmp word [rax], r12w
jmp 0x1404d7320
je 0x1404d7342
mov edx, dword [0x1400c6a60]
movzx r8w, cl
lea rcx, [0x1400c68f0]
dec edx
mov r8, rbx
call fcn.1404d7710
mov dword [rbp - 0x20], r12d
and rax, 0x5a5c4c16
sar ax, cl
mov rax, qword [rsi + 0x98]
clc
test r8d, r15d
test rax, rax
jmp 0x1404d7363
je 0x1404d7436
cmp word [rax], r12w
jmp 0x1404d7372
je 0x1404d7436
mov rax, qword [rbx]
cmp dl, 0x3b
test rax, rax
jmp 0x1404d7386
je 0x1404d73a9
cmp word [rax], r12w
je 0x1404d73a9
lea rcx, [rbp - 0x20]
jmp 0x1404d739f
call fcn.1404d7879
jmp 0x1404d73b2
lea rcx, [rbp - 0x20]
call fcn.1404d7f16
cmp dword [rbp - 0x20], r12d
jmp 0x1404d73bb
jne 0x1404d7517
mov edx, dword [0x1400c68e0]
movsxd rcx, r9d
lea r8, [rsi + 0x98]
bswap cx
dec edx
lea rcx, [0x1400c64d0]
jmp 0x1404d73e2
call fcn.1404d7710
test al, al
je 0x1404d7508
mov rax, qword [rbx]
stc
test rax, rax
jmp 0x1404d73fb
je 0x1404d7423
cmp word [rax], r12w
jmp 0x1404d740a
je 0x1404d7423
lea rcx, [rbp - 0x20]
jmp 0x1404d7419
call fcn.1404d7879
jmp 0x1404d7508
lea rcx, [rbp - 0x20]
jmp 0x1404d742c
call fcn.1404d7f16
jmp 0x1404d7508
mov rax, qword [rbx]
cmp bh, 0xf8
clc
cmp r12w, bp
test rax, rax
jmp 0x1404d7449
je 0x1404d74ec
cmp word [rax], r12w
jmp 0x1404d7458
je 0x1404d74ec
call fcn.1404ca4a6
mov rdx, rax
cmc
or rcx, 0xffffffffffffffff
mov rax, qword [rax + 0xa0]
jmp 0x1404d7477
inc rcx
test bpl, 0x96
test r12d, esi
cmp rdx, 0x48ce5c3b
cmp word [rax + rcx*2], r12w
jmp 0x1404d7492
jne 0x1404d7477
cmp rcx, 3
cmovo ecx, r15d
setge ah
mov eax, r12d
lea rcx, [0x1400ac1c0]
sete al
jmp 0x1404d74b5
mov dword [rdx + 0xb4], eax
movsx rdx, di
mov edx, 1
jmp 0x1404d74c9
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
test byte [rbp - 0x20], 4
jmp 0x1404d74d8
jne 0x1404d7508
mov dword [rbp - 0x20], r12d
jmp 0x1404d74e7
jmp 0x1404d7508
mov dword [rbp - 0x20], 0x104
jmp 0x1404d74f8
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rbp - 0x18], eax
cmc
mov dword [rbp - 0x1c], eax
test r9b, cl
cmp dword [rbp - 0x20], r12d
jmp 0x1404d7511
je 0x1404d76ad
lea rax, [r14 + 0x100]
bsf dx, dx
neg r14
xchg dl, dh
lea rdx, [rbp - 0x20]
jmp 0x1404d7530
sbb rcx, rcx
and rcx, rax
jmp 0x1404d753b
call fcn.1404d848c
mov ebx, eax
jmp 0x1404d7547
test eax, eax
jmp 0x1404d754e
je 0x1404d76ad
movzx ecx, bx
jmp 0x1404d755c
call qword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jmp 0x1404d7569
je 0x1404d76ad
mov ecx, dword [rbp - 0x1c]
mov dx, r11w
movzx rdx, ax
mov edx, 1
jmp 0x1404d7584
call qword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1404d76ad
test r15, r15
jmp 0x1404d759a
je 0x1404d75ac
mov dword [r15], ebx
btc r8w, r11w
bsf dx, sp
mov ecx, dword [rbp - 0x1c]
lea rdx, [rsi + 0x2f0]
add si, r8w
xor r9d, r9d
setns sil
bswap si
lea esi, [r9 + 0x55]
mov r8d, esi
call fcn.1404cc07d
test rdi, rdi
jmp 0x1404d75d8
je 0x1404d76a3
mov ecx, dword [rbp - 0x1c]
bsr dx, bp
movsx r8d, dx
lea rdx, [rdi + 0x120]
sal r8w, 0x73
xor r9d, r9d
mov r8d, esi
jmp 0x1404d7600
call fcn.1404cc07d
mov ecx, dword [rbp - 0x1c]
movzx r8d, cx
cdq
mov esi, 0x40
cdq
movzx edx, r13w
mov r9d, esi
bswap dx
cmovl r8w, bx
movsx edx, r13w
mov r8, rdi
mov edx, 0x1001
jmp 0x1404d7633
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jmp 0x1404d7640
je 0x1404d76ad
mov ecx, dword [rbp - 0x18]
xchg r8d, r8d
cqo
lea r8, [rdi + 0x80]
movsx rdx, di
xchg dh, dl
setg dh
mov r9d, esi
mov edx, r13d
movzx edx, r12w
movzx dx, spl
mov edx, 0x1002
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1404d76ad
lea rdx, [rdi + 0x100]
mov ecx, ebx
xchg r9w, r9w
lea r9d, [rsi - 0x36]
movsx r8, r8w
lea r8d, [rsi - 0x30]
jmp 0x1404d769e
call fcn.1404e5076
mov eax, 1
jmp 0x1404d76b7
sub eax, eax
clc
shr cx, cl
rcl cx, 0x4c
mov rcx, qword [rbp - 0x10]
cmp di, 0x6d28
stc
xor rcx, rsp
call fcn.1404a0686
add rsp, 0x40
xchg r14d, ebx
setno dil
cmovg r14, rsi
pop r15
movsx r14w, r15b
mov si, 0x52b
movsx edi, si
pop r14
setae r12b
not ebx
pop r12
not di
mov dil, r13b
pop rdi
pop rsi
mov bh, 0xcc
movzx ebp, r12w
not bp
pop rbx
mov bpl, r13b
mov bpl, 0xbb
pop rbp
jmp 0x1404d770f
ret