Function at 0x180032970
Capabilities:
Run powershell expression

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1800c9140]
xor rax, rsp
mov qword [rbp + 0x158], rax
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x40], r12d
lea rax, str.https:__raw.githubusercontent.com_mrpond_BlockTheSpot_master_blockthespot_settings.json
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x57
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x138]
call fcn.180025e80
nop
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.180005c40
nop
mov rdx, qword [rbp + 0x150]
cmp rdx, 7
jbe 0x180032a39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032a34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033069
call fcn.18005c344
movdqa xmm0, xmmword [0x1800bac10]
movdqu xmmword [rbp + 0x148], xmm0
mov word [rbp + 0x138], r12w
lea rcx, [rbp + 0x60]
call fcn.180033090
test al, al
jne 0x180032b3f
lea rax, str.Server_settings_validation_failed.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x22
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x118]
call fcn.180011a60
nop
lea rax, [rbp + 0x118]
cmp qword [rbp + 0x130], 7
cmova rax, qword [rbp + 0x118]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180020a80
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 7
jbe 0x180032e85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033063
jmp 0x180032e80
lea rdx, [0x1800ccd20]
lea rcx, [rbp + 0x60]
call fcn.1800352e0
test al, al
jne 0x18003301f
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
mov r8d, 0x13
lea rdx, str.Latest_Release_Date
lea rcx, [rbp + 0xf8]
call fcn.18000ccd0
nop
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x60]
call fcn.1800058d0
mov rbx, rax
lea rdx, [0x1800c9ee8]
lea rcx, [rbp + 0xb0]
call fcn.1800085b0
mov byte [rbp + 0xf0], 3
movsx rcx, byte [rbx + 0x40]
cmp rcx, 3
jne 0x180032be3
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
inc rcx
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.1800170e0
test al, al
je 0x180032be3
xor sil, sil
jmp 0x180032be6
mov sil, 1
lea rcx, [rbp + 0xb0]
call fcn.180008e90
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 7
jbe 0x180032c39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003306f
call fcn.18005c344
lea rcx, [rbp + 0x60]
call fcn.18002fb70
lea r14, [0x1800c9f08]
test al, al
je 0x180032d11
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x60]
call fcn.180005a50
nop
mov edi, 1
mov dword [rsp + 0x40], edi
mov rbx, rax
cmp qword [rax + 0x18], 7
jbe 0x180032c78
mov rbx, qword [rax]
mov r15, qword [rax + 0x10]
mov rdx, r14
cmp qword [0x1800c9f20], 7
cmova rdx, qword [0x1800c9f08]
lea rcx, [rsp + 0x50]
call fcn.180026570
nop
cmp qword [rbp - 0x28], 0
jne 0x180032e8c
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.180021ff0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.18003cbd4
nop
mov bl, 1
test dil, 1
je 0x180032d5f
mov rdx, qword [rbp + 0x110]
cmp rdx, 7
jbe 0x180032d5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032d5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180033075
call fcn.18005c344
test bl, bl
je 0x180032f1f
lea rax, str.Failed_to_load_server_settings_or_write_to_the_settings_file:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x40
cmp qword [0x1800c9f20], 7
cmova r14, qword [0x1800c9f08]
mov qword [rsp + 0x30], r14
mov rax, qword [0x1800c9f18]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp + 0x120], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x30], 1
lea rax, [rbp + 0x118]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf8]
call fcn.180011a60
nop
lea rax, [rbp + 0xf8]
cmp qword [rbp + 0x110], 7
cmova rax, qword [rbp + 0xf8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180020a80
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 7
jbe 0x180032e85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003307b
call fcn.18005c344
xor bl, bl
jmp 0x180033021
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180026f10
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x60]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.180021ff0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.18003cbd4
nop
test ebx, 6
jne 0x180032d11
xor bl, bl
jmp 0x180032d13
lea rax, str.Settings_updated_from_server.
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf8]
call fcn.180011a60
nop
lea rax, [rbp + 0xf8]
cmp qword [rbp + 0x110], 7
cmova rax, qword [rbp + 0xf8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180020a80
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 7
jbe 0x180032fed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032fe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003305d
call fcn.18005c344
test sil, sil
je 0x18003301f
mov r9d, 0x24
lea r8, str.BlockTheSpot_Update_Available
lea rdx, str.A_new_version_of_BlockTheSpot_is_available._Do_you_want_to_update_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x18003301f
lea rcx, str.powershell__Command____Net.ServicePointManager_::SecurityProtocol___Net.SecurityProtocolType_::Tls12__Invoke_WebRequest__UseBasicParsing_https:__raw.githubusercontent.com_mrpond_BlockTheSpot_master_install.ps1__Invoke_Expression_
call fcn.18006cf28
mov bl, 1
lea rcx, [rbp + 0x60]
call fcn.180008e90
movzx eax, bl
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.18005bf70
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180062174
nop
call fcn.180062174
int3
call fcn.180062174
int3
call fcn.180062174
int3
call fcn.180062174
int3
call fcn.180062174
int3