Function at 0x140002ba0
Capabilities:
Download url
Encode data using xor
Hash data with crc32
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1218]
mov eax, 0x1300
call fcn.1400090e0
sub rsp, rax
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0x11f0], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8, str.APPDATA
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x1400033a0
cmp qword [rbp + 0x38], r12
je 0x1400033a0
lea rax, str.Microsoft_Images
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x10
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140007594
nop
mov rcx, qword [rbp + 0x38]
mov qword [rbp + 0x50], rcx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x140002c3c
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.140007594
mov dword [rsp + 0x30], 0x30
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x78]
call fcn.140001be8
mov r15d, 0x70
mov dword [rsp + 0x30], r15d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x78]
call fcn.140001988
nop
lea rcx, [rbp - 0x30]
call fcn.1400051fc
nop
lea rcx, [rbp - 0x10]
call fcn.1400051fc
lea rdi, [0x14000a870]
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae rcx, qword [rbp + 0x78]
or r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xb0]
call fcn.140007c6c
mov edx, eax
test eax, eax
jne 0x140002d06
mov ecx, dword [rbp + 0xc0]
bt ecx, 0xa
jae 0x140002cfb
cmp dword [rbp + 0xc4], 0xa000000c
jne 0x140002ce8
lea ecx, [rax + 4]
jmp 0x140002d22
cmp dword [rbp + 0xc4], 0xa0000003
jne 0x140002cfb
mov ecx, 0xa
jmp 0x140002d22
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140002d22
sub eax, 2
je 0x140002d1d
sub eax, 1
je 0x140002d1d
sub eax, 0x32
je 0x140002d1d
cmp eax, 0x46
mov ecx, r12d
jne 0x140002d22
mov ecx, 1
test edx, edx
je 0x140002d34
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400033e9
cmp ecx, 3
je 0x140002d8d
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae rcx, qword [rbp + 0x78]
call fcn.140007fec
mov qword [rbp + 0x40], rax
shr rax, 0x20
test eax, eax
jne 0x1400033d5
mov qword [rbp + 0x50], r12
lea rax, [0x14000f050]
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x78]
call fcn.1400022ac
cmp dword [rbp + 0x50], r12d
jne 0x1400033fa
test al, al
je 0x140002c9e
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x70], r12
lea rcx, str.http:__web.scoobidoo.store
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov qword [rbp + 0x30], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, str.http:__web.scoobidoo.store
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
jne 0x140002e76
mov edi, r12d
mov dword [rbp + 0x40], r12d
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
lea r9, [rbp + 0x40]
mov r8d, 0x1000
lea rdx, [rbp + 0x1f0]
call qword [rax + 0x18]
mov esi, eax
mov r8d, dword [rbp + 0x40]
add r8d, edi
mov r9, qword [rbp + 0x68]
mov rcx, r9
mov rdx, qword [rbp + 0x60]
sub rcx, rdx
cmp r8, rcx
jae 0x140002e15
lea rcx, [r8 + rdx]
mov qword [rbp + 0x68], rcx
jmp 0x140002e4a
jbe 0x140002e4a
mov rax, qword [rbp + 0x70]
sub rax, rdx
cmp r8, rax
jbe 0x140002e31
mov rdx, r8
lea rcx, [rbp + 0x60]
call fcn.140007444
jmp 0x140002e46
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x68], rbx
mov rdx, qword [rbp + 0x60]
mov ecx, edi
add rcx, rdx
mov r8d, dword [rbp + 0x40]
lea rdx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [rbp + 0x40]
test esi, esi
js 0x140002e6f
cmp esi, 1
jne 0x140002dd0
lea rdi, [0x14000a870]
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x60]
or ebx, 0xffffffff
mov r10, r12
sub r9, r8
je 0x140002ea2
movzx edx, byte [r10 + r8]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
inc r10
cmp r10, r9
jb 0x140002e89
not ebx
movsd xmm0, qword [r8]
movsd qword [rbp - 0x40], xmm0
cmp dword [rbp - 0x40], 0x46464952
jne 0x140002eca
cmp dword [r8 + 8], 0x50424557
jne 0x140002eca
lea rsi, str..webp
jmp 0x140002f1a
mov eax, 0xd8ff
cmp word [r8], ax
jne 0x140002eeb
mov eax, 0xd9ff
cmp word [r9 + r8 - 2], ax
jne 0x140002eeb
lea rsi, str..jpg
jmp 0x140002f1a
movabs rax, 0xa1a0a0d474e5089
cmp qword [r8], rax
jne 0x140003331
movabs rax, 0x826042ae444e4549
cmp qword [r9 + r8 - 8], rax
jne 0x140003331
lea rsi, str..png
xor r9d, r9d
lea r8, [rbp + 0xe0]
mov edx, 0x104
lea ecx, [r9 + 0x73]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
mov qword [rbp + 0xa8], r12
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xe0]
call fcn.140002558
mov r10, qword [rbp + 0xa0]
mov r14, qword [rbp + 0x98]
sub r10, r14
mov r8d, 0xffffffff
mov r9, r12
je 0x140002f90
movzx edx, byte [r9 + r14]
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rdi + rdx*4]
inc r9
cmp r9, r10
jb 0x140002f74
not r8d
cmp r8d, ebx
je 0x1400032f5
mov edx, r8d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a824]
call fcn.140006350
mov edx, ebx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000a824]
call fcn.140006350
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8d, 5
lea rdx, str.image
lea rcx, [rsp + 0x38]
call fcn.1400069cc
nop
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rsi + rdi], r12b
jne 0x140003007
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
sub rax, rcx
cmp rdi, rax
ja 0x140003058
lea rax, [rcx + rdi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
lea rax, [rsp + 0x38]
jmp 0x14000306d
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140006f1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov esi, 0xf
mov qword [rax + 0x18], rsi
mov byte [rax], r12b
or r15d, 1
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140007594
or r15d, 2
mov dword [rsp + 0x30], r15d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xb0]
call fcn.140001be8
or r15d, 4
mov dword [rsp + 0x30], r15d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xb0]
call fcn.140001988
nop
lea rcx, [rbp + 0x10]
call fcn.1400051fc
nop
mov rdx, qword [rsp + 0x70]
mov edi, 0x1000
cmp rdx, 0x10
jb 0x14000314f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rdi
jb 0x14000314a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003376
call fcn.1400082f4
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x58], r12b
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140003197
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rdi
jb 0x140003192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000337d
call fcn.1400082f4
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x38], r12b
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xb0]
call fcn.140006034
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400031cc
mov rdx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rax
mov word [rbp - 0x58], 0x5c22
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140007218
mov rbx, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003225
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x140003220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003384
call fcn.1400082f4
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
mov byte [rsp + 0x78], r12b
lea rdx, [0x14000a824]
mov rcx, rbx
call fcn.140006350
lea rdx, [rbp + 0xe0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006350
mov rcx, rax
lea rdx, [0x14000a824]
call fcn.140006350
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xb0]
call fcn.1400028d0
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xb0]
call fcn.140006034
or r15d, 8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r8, qword [rsp + 0x78]
xor edx, edx
lea ecx, [rdx + 0x14]
lea r9d, [rdx + 2]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400032df
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x1400032da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000338b
call fcn.1400082f4
and r15d, 0xfffffffb
mov dword [rsp + 0x30], r15d
lea rcx, [rbp + 0xb0]
call fcn.1400051fc
nop
test r14, r14
je 0x14000332d
mov rdx, qword [rbp + 0xa8]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x140003325
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003392
mov rcx, r14
call fcn.1400082f4
mov r8, qword [rbp + 0x60]
test r8, r8
lea rdi, [0x14000a870]
je 0x140002c9e
mov rdx, qword [rbp + 0x70]
sub rdx, r8
mov rax, r8
cmp rdx, 0x1000
jb 0x140003369
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003399
mov rcx, r8
call fcn.1400082f4
jmp 0x140002c97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 1
mov rcx, qword [rbp + 0x11f0]
xor rcx, rsp
call fcn.140008290
lea r11, [rsp + 0x1300]
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
lea r8, [rbp + 0x78]
mov edx, dword [rbp + 0x44]
lea rcx, str.remove
call fcn.1400021f4
int3
lea r8, [rbp + 0x78]
lea rcx, str.status
call fcn.1400021f4
int3
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x50]
call fcn.140002254
int3