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

Disassembly:
sub rsp, 0x78
call fcn.140001550
test al, al
je 0x140001874
movups xmm0, xmmword [str.u_Z_H_]
mov eax, dword [str.A_r_r]
xor ecx, ecx
cmp dword [0x14000c088], 2
movups xmm1, xmmword [0x140008628]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140008644]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [str.84_44_3]
movzx eax, byte [str.gu_Z_H_]
movsd qword [rsp + 0x50], xmm0
mov byte [rsp + 0x5e], al
movups xmmword [rsp + 0x40], xmm1
jl 0x140001a19
movdqa xmm0, xmmword [0x140008a60]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400089d0]
movdqa xmm4, xmmword [0x140008a90]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400089f0]
nop dword [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 [0x140008a40]
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 [0x140008a40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x140001910
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x2f
jge 0x140001a5d
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x2f
jl 0x140001a30
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.140001dc0
add rsp, 0x78
jmp 0x140003d20
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x70]
call fcn.1400022c0
mov rbx, rax
lea rax, [0x14000cbd8]
cmp rax, rbx
je 0x140003ddd
mov rdx, qword [0x14000cbf0]
cmp rdx, 0xf
jbe 0x140003d9e
mov rcx, qword [0x14000cbd8]
inc rdx
cmp rdx, 0x1000
jb 0x140003d99
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003e0f
mov rcx, r8
call fcn.14000663c
movdqa xmm0, xmmword [0x1400089c0]
movdqu xmmword [0x14000cbe8], xmm0
mov byte [0x14000cbd8], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x14000cbd8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14000cbe8], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140003e1b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000663c
movups xmm0, xmmword [str.WRS_S]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1400088b8]
movups xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [0x1400088c8]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x1400088d0]
mov dword [rsp + 0x70], eax
xor ecx, ecx
mov ebx, dword [0x14000c088]
cmp ebx, 2
jl 0x140003f6b
movdqa xmm5, xmmword [0x1400089d0]
movdqa xmm4, xmmword [0x140008a70]
movdqa xmm6, xmmword [0x140008a10]
movdqa xmm7, xmmword [0x140008a20]
lea rdx, [rsp + 0x48]
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
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 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
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 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 0x140003e81
cmp ecx, 0x16
jge 0x140003fb0
movsxd rax, ecx
lea r8, [rsp + 0x48]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
sub ax, dx
add ax, 0x31
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x16
jl 0x140003f80
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.140001af0
nop
lea rcx, [rbp - 0x30]
call fcn.140002480
test eax, eax
jne 0x140003fd5
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [str.r_boTXUWMfWYYJ_a__d___.8]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x140008880]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x140008890]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140008894]
mov byte [rsp + 0x6c], al
xor r8d, r8d
cmp ebx, 2
jl 0x140004145
movdqa xmm5, xmmword [0x1400089d0]
movdqa xmm4, xmmword [0x140008a70]
movdqa xmm6, xmmword [0x140008a10]
movdqa xmm0, xmmword [str.11111111111111119999999999999999]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x4c]
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
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
andps xmm2, xmmword [0x140008a40]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008a40]
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 0x140004040
cmp r8d, 0x25
jge 0x140004180
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x140004150
movups xmm0, xmmword [0x140008708]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x140008718]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x140008720]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140008724]
mov byte [rsp + 0x44], al
xor r8d, r8d
cmp ebx, 2
jl 0x1400042f5
movdqa xmm5, xmmword [0x1400089d0]
movdqa xmm4, xmmword [0x140008a70]
movdqa xmm6, xmmword [0x140008a10]
movdqa xmm0, xmmword [str.11111111111111119999999999999999]
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
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
andps xmm2, xmmword [0x140008a40]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008a40]
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 0x1400041f0
cmp r8d, 0x1d
jge 0x140004330
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x140004300
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x70]
call fcn.140005c00
nop
mov ecx, dword [0x1400088a0]
mov dword [rsp + 0x20], ecx
movzx ecx, byte [0x1400088a4]
mov byte [rsp + 0x20], 0x2e
xor byte [rsp + 0x21], 0x32
xor byte [rsp + 0x22], 0x33
xor byte [rsp + 0x23], 0x34
xor cl, 0x35
mov byte [rsp + 0x24], cl
lea rcx, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140004380
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140005b40
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], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140004406
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000663c
movdqa xmm0, xmmword [0x1400089c0]
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 0x140004550
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140001ca0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400026d0
movzx ebx, al
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000449d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004498
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000663c
test bl, bl
je 0x1400044a7
call fcn.140003090
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400044e6
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000663c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140004529
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004524
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004524
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000663c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400063a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
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