Function at 0x1400527c0
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r15, rcx
movsd xmm0, qword [0x1401326a8]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1401326b0]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1401326b4]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x1401326b6]
mov byte [rsp + 0x2e], al
xor esi, esi
mov r8d, esi
lea eax, [rsi + 4]
lea ecx, [rsi + 0x1f]
mov r13d, dword [0x1401b8618]
cmp r13d, 2
jl 0x140052941
movdqa xmm4, xmmword [0x140132c50]
movd xmm6, eax
movd xmm5, ecx
movdqa xmm2, xmmword [0x1400e3ad0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140132c30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140132c40]
movd xmm0, dword [0x1401326a8]
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140132c20]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140132c30]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140123380]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140132c40]
movd xmm0, dword [rsp + 0x24]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140052950
mov qword [rbp], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400529a0
lea rdx, [rsp + 0x20]
lea rcx, [rbp]
call fcn.140004420
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.140003a70
nop
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
cmp rdi, r12
je 0x14005304d
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov rsi, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140052a04
mov r14, qword [rdi]
cmp rsi, 0x10
jae 0x140052a1a
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x30], xmm0
mov ebx, 0xf
jmp 0x140052a86
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140052a64
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005319f
mov rcx, rax
call fcn.1400953a8
mov rcx, rax
test rax, rax
je 0x140053106
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140052a72
test rcx, rcx
je 0x140052a70
call fcn.1400953a8
jmp 0x140052a72
xor eax, eax
mov qword [rsp + 0x30], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [0x1401326dc]
call fcn.14005e180
lea rax, [rbp - 0x78]
mov qword [rbp + 0xb8], rax
movsd xmm0, qword [str.TX_SS]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [0x1401326c0]
mov word [rsp + 0x28], ax
movzx eax, byte [0x1401326c2]
mov byte [rsp + 0x20], 0x6c
xor byte [rsp + 0x21], 0x39
xor byte [rsp + 0x22], 0x3a
xor byte [rsp + 0x23], 0x3b
xor byte [rsp + 0x24], 0x3c
xor byte [rsp + 0x25], 0x3d
xor byte [rsp + 0x26], 0x3e
xor byte [rsp + 0x27], 0x3f
xor byte [rsp + 0x28], 0x40
xor byte [rsp + 0x29], 0x41
xor al, 0x42
mov byte [rsp + 0x2a], al
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 0xf
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140052b30
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.140004420
nop
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov rsi, qword [rsp + 0x40]
lea r14, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r14, qword [rsp + 0x30]
cmp rsi, 0x10
jae 0x140052b88
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 0xf
jmp 0x140052c05
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140052bdc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400531a5
mov rcx, rax
call fcn.1400953a8
mov rcx, rax
test rax, rax
je 0x1400530ea
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140052bea
test rcx, rcx
je 0x140052be8
call fcn.1400953a8
jmp 0x140052bea
xor eax, eax
mov qword [rsp + 0x50], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rbx
xor ebx, ebx
mov qword [rsp + 0x60], rsi
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x50]
call fcn.140004230
test al, al
je 0x140052ff7
lea rax, [rbp - 0x40]
mov qword [rbp + 0xb8], rax
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov rsi, qword [r15 + 0x10]
mov r14, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140052c48
mov r14, qword [r15]
cmp rsi, 0x10
jae 0x140052c60
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], 0xf
jmp 0x140052cdb
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140052cb4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400531ab
mov rcx, rax
call fcn.1400953a8
mov rcx, rax
test rax, rax
je 0x1400530f1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140052cc2
test rcx, rcx
je 0x140052cc0
call fcn.1400953a8
jmp 0x140052cc2
xor eax, eax
mov qword [rbp - 0x40], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x28], rbx
xor ebx, ebx
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov rsi, qword [rsp + 0x40]
lea r14, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r14, qword [rsp + 0x30]
cmp rsi, 0x10
jae 0x140052d19
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], 0xf
jmp 0x140052d92
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140052d6d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140053199
mov rcx, rax
call fcn.1400953a8
mov rcx, rax
test rax, rax
je 0x1400530f8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140052d7b
test rcx, rcx
je 0x140052d79
call fcn.1400953a8
jmp 0x140052d7b
xor eax, eax
mov qword [rbp - 0x20], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], rsi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.140004230
test al, al
jne 0x140052ff7
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
movups xmm0, xmmword [0x1401326c8]
movups xmmword [rbp - 0x58], xmm0
movzx eax, byte [0x1401326d8]
mov byte [rbp - 0x48], al
xor esi, esi
mov ecx, esi
cmp r13d, 2
jl 0x140052f25
movdqa xmm5, xmmword [0x1400e3ad0]
movdqa xmm4, xmmword [0x140132c50]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140132c30]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x140132c40]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rbp - 0x54]
mov r8d, dword [rsp + 0x50]
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, 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 [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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 [0x140123380]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140052e21
cmp ecx, 0x11
jge 0x140052f5c
movsxd rax, ecx
lea r8, [rbp - 0x58]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x140052f30
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
lea rax, [rbp - 0x58]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140052f80
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.140004420
mov r8, rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x20]
call fcn.14005e1f0
cmp qword [rax + 0x18], 0x10
jb 0x140052fb1
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140052ff9
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052ff0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400530ff
call fcn.1400953e4
jmp 0x140052ff9
xor esi, esi
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140053036
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053031
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053106
call fcn.1400953e4
add rdi, 0x20
cmp rdi, r12
jne 0x1400529da
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140053122
cmp rdi, r12
je 0x1400530b7
lea rbx, [rdi + 0x18]
nop
mov rdx, qword [rbx]
cmp rdx, 0x10
jb 0x140053096
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x140053091
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400530e3
mov rcx, r8
call fcn.1400953e4
mov byte [rbx - 0x18], 0
mov qword [rbx - 8], rsi
mov qword [rbx], 0xf
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, r12
jne 0x140053060
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005310d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005310d
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
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 rcx, rdi
call fcn.1400953e4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140053158
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140053153
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053192
mov rcx, r8
call fcn.1400953e4
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x58]
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 rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004340
nop
call fcn.140004340
nop
call fcn.140004340
nop
call fcn.140004340
int3