Function at 0x1400421b0
Capabilities:
Encode data using xor
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
movaps xmmword [rsp + 0x1b0], xmm6
mov rax, qword [0x14010e410]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x48], 1
lea r15d, [r14 + 5]
lea r12d, [r14 + 0x1f]
mov esi, dword [0x14010e418]
cmp edx, 1
jle 0x1400423c0
mov rdx, qword [r8 + 8]
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140042241
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140042282
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rdi + 8], 0x20
jmp 0x140042294
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14004acd0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400422cc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400422c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042b97
call fcn.14009e5b8
lea rdx, [rbp - 0x60]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0xff
ja 0x140042b5c
lea rbx, [rbp - 0x60]
cmp byte [rbp - 0x60], 0
je 0x140042b5c
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x140042b3e
mov eax, dword [str.r_bo4]
mov dword [rsp + 0x78], eax
cmp byte [0x1400f4c87], 0
je 0x14004294e
cmp esi, 2
jl 0x140042918
movdqa xmm3, xmmword [0x1400f8810]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400f89a0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400f89a0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r15d
psrad xmm2, xmm0
movd xmm0, r12d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400f8850]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f8910]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x78], xmm2
jmp 0x14004294e
movsd xmm0, qword [0x1400f4b70]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400f4b78]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1400f4b7c]
mov word [rbp - 0x74], ax
movzx eax, byte [0x1400f4b7e]
mov byte [rbp - 0x72], al
mov r8d, r14d
cmp esi, 2
jl 0x1400424fe
movdqa xmm4, xmmword [0x1400f89a0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400f8810]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f8850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f8910]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [0x1400f4b70]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm3, xmmword [0x1400f8820]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f8850]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f8910]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [rbp - 0x7c]
xorps xmm2, xmm0
movd dword [rbp - 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x80]
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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140042510
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140042560
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400496d0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.14009cc08
cmp eax, 8
je 0x1400425b1
cmp eax, 0xffffffff
je 0x1400425b1
mov bl, 1
jmp 0x1400425b3
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400425f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400425f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042b9d
call fcn.14009e5b8
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140042633
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004262e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042ba3
call fcn.14009e5b8
test bl, bl
je 0x14004283c
movsd xmm0, qword [0x1400f4b70]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1400f4b78]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1400f4b7c]
mov word [rbp - 0x74], ax
movzx eax, byte [0x1400f4b7e]
mov byte [rbp - 0x72], al
mov r8d, r14d
cmp esi, 2
jl 0x14004277f
movdqa xmm4, xmmword [0x1400f89a0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400f8810]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f8850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f8910]
packuswb xmm2, xmm2
mov eax, dword [str.1111111111111111]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400f4b70]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm3, xmmword [0x1400f8820]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f8850]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f8910]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x7c]
xorps xmm2, xmm1
movd dword [rbp - 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140042790
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400427e0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140042825
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rdi + 8], 0x20
jmp 0x140042837
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14004acd0
mov rdx, qword [rsp + 0x40]
jmp 0x140042294
movzx eax, word [0x1400f4f20]
mov word [rsp + 0x78], ax
movzx eax, byte [0x1400f4f22]
mov byte [rsp + 0x78], 0x2e
xor byte [rsp + 0x79], 0x32
xor al, 0x33
mov byte [rsp + 0x7a], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140042880
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400428c6
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rdi + 8], 0x20
jmp 0x1400428d8
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14004acd0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400422cc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400422c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042b97
jmp 0x1400422c7
lea r8, [rsp + 0x78]
mov ecx, r14d
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140042920
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140042970
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.14003dfb0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400429a3
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
lea rdx, [rsp + 0x50]
mov r13, qword [rsp + 0x68]
cmp r13, 0x10
setae byte [rsp + 0x21]
mov rsi, qword [rsp + 0x50]
cmovae rdx, rsi
lea rcx, [rsp + 0x28]
mov r15, qword [rsp + 0x40]
cmp r15, 0x10
setae byte [rsp + 0x20]
mov r14, qword [rsp + 0x28]
cmovae rcx, r14
mov r8, qword [rsp + 0x38]
cmp r8, qword [rsp + 0x60]
jne 0x140042a0c
call fcn.1400a17a0
test eax, eax
jne 0x140042a0c
xor r12b, r12b
jmp 0x140042a0f
mov r12b, 1
cmp byte [rsp + 0x20], 0
je 0x140042a48
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140042a3f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042ba9
mov rcx, r14
call fcn.14009e5b8
nop
cmp byte [rsp + 0x21], 0
je 0x140042a80
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140042a78
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042b91
mov rcx, rsi
call fcn.14009e5b8
xor r14d, r14d
test r12b, r12b
je 0x140042b2e
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x140042aa5
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14003dfb0
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140042ae8
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rdi + 8], 0x20
jmp 0x140042afa
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14004acd0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140042b2e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042b29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042b91
call fcn.14009e5b8
mov esi, dword [0x14010e418]
mov r15d, 5
lea r12d, [r15 + 0x1a]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140042b45
inc rbx
add rbx, rax
cmp byte [rbx], 0
jmp 0x1400422f0
mov rax, rdi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14009df90
mov rbx, qword [rsp + 0x208]
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ad3d4
int3
call fcn.1400ad3d4
nop
call fcn.1400ad3d4
nop
call fcn.1400ad3d4
nop
call fcn.1400ad3d4
int3