Function at 0x140038230
Capabilities:
Download url
Encode data using xor
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
xor ebx, ebx
lea r8, [0x140049ffc]
lea rdx, str.test
lea rcx, [0x14004929c]
call fcn.14002e490
lea rcx, str.https:__squadhack.ucoz.net_version.txt
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea rcx, str.https:__squadhack.ucoz.net_SquadLoader.bin
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea rdx, [0x1401a8278]
lea rcx, [rbp - 0x50]
call fcn.140030280
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140037bb0
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400382c3
mov rax, qword [rax]
cmp r8, 2
jne 0x1400382e1
lea rdx, [0x140049fd8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400382e1
xor dil, dil
jmp 0x1400382e4
mov dil, 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038322
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003831d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003831d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], bl
mov r14d, 4
lea r10d, [r14 + 0x1b]
mov r11d, dword [0x140054020]
test dil, dil
je 0x140038998
movups xmm0, xmmword [0x14004a140]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [0x14004a150]
mov dword [rsp + 0x68], eax
cmp byte [0x14004a153], bl
je 0x140038500
mov r8d, ebx
cmp r11d, 2
jl 0x1400384b8
movdqa xmm5, xmmword [0x14004a580]
movdqa xmm4, xmmword [0x14004ac20]
movd xmm6, r14d
movdqa xmm7, xmmword [0x14004a5a0]
movd xmm8, r10d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x80]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400383b1
cmp r8d, 0x14
jge 0x140038500
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x1400384d0
movzx eax, byte [0x14004a2d0]
movups xmm1, xmmword [0x14004a2c0]
movups xmm0, xmmword [0x14004a2b0]
mov byte [rsp + 0x50], al
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
mov r8d, ebx
cmp r11d, 2
jl 0x140038677
movdqa xmm5, xmmword [0x14004a580]
movdqa xmm4, xmmword [0x14004ac20]
movd xmm6, r14d
movdqa xmm7, xmmword [0x14004a5a0]
movd xmm8, r10d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp - 0x80]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140038570
cmp r8d, 0x21
jge 0x1400386c0
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x140038690
mov r9d, 0x24
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1401a9070]
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x140038d19
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getcwd]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], bl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140038713
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400305a0
nop
mov r13, qword [0x1401a9008]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 1
jb 0x140038d49
lea r12, [0x1401a8ff8]
cmp qword [0x1401a9010], 0x10
cmovae r12, qword [0x1401a8ff8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r15, [r13 + 1]
mov edi, 0xf
lea rsi, [rsp + 0x30]
cmp r15, rdi
jbe 0x1400387ff
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400387c0
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003de84
test rax, rax
je 0x14003891a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400387fa
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400387e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140038d4f
jmp 0x1400387a1
test rcx, rcx
je 0x1400387f7
call fcn.14003de84
mov rsi, rax
jmp 0x1400387fa
mov rsi, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov byte [rsi], 0x5c
lea rcx, [rsi + 1]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140038861
lea rax, [rcx + 4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov dword [rax + rcx], 0x6578652e
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x30]
jmp 0x14003887a
mov qword [rsp + 0x20], r14
lea r9, str..exe
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140031540
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.140030140
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400388e6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400388e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400388e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140038926
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038921
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038921
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae r8, qword [rsp + 0x58]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.https:__squadhack.ucoz.net_SquadLoader.bin
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140038d19
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003898e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003898e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
jmp 0x140038d19
movups xmm0, xmmword [0x14004a140]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [0x14004a150]
mov dword [rsp + 0x68], eax
cmp byte [0x14004a153], bl
je 0x140038b50
mov r8d, ebx
cmp r11d, 2
jl 0x140038b07
movdqa xmm5, xmmword [0x14004a580]
movdqa xmm4, xmmword [0x14004ac20]
movd xmm6, r14d
movdqa xmm7, xmmword [0x14004a5a0]
movd xmm8, r10d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x80]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140038a00
cmp r8d, 0x14
jge 0x140038b50
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x140038b20
mov eax, dword [0x14004a1b0]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14004a1b4]
mov word [rsp + 0x44], ax
movzx eax, byte [0x14004a1b6]
movups xmm0, xmmword [0x14004a1a0]
mov byte [rsp + 0x46], al
movups xmmword [rsp + 0x30], xmm0
cmp r11d, 2
jl 0x140038cc4
movdqa xmm5, xmmword [0x14004a580]
movdqa xmm4, xmmword [0x14004ac20]
movd xmm6, r14d
movdqa xmm7, xmmword [0x14004a5a0]
movd xmm8, r10d
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp - 0x80]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14004a5b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140038bc0
cmp eax, 0x17
jge 0x140038cfc
movsxd rax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140038cd0
mov r9d, 0x40
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1401a9070]
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002ce60
nop
call fcn.14002cdc0
int3