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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400d4460]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x24], 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 + 0x24], 1
lea rbx, [0x1400dc6f0]
lea r15, [0x1400dc750]
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14003c360
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140048310
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call fcn.140070150
cmp eax, 8
je 0x1400414b7
cmp eax, 0xffffffff
je 0x1400414b7
mov sil, 1
jmp 0x1400414ba
xor sil, sil
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400414fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400414f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004190c
call fcn.1400735b8
test sil, sil
je 0x140041530
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14004151f
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14003c360
add qword [rdi + 8], 0x20
jmp 0x140041530
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rdi
call fcn.140049a70
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14004156d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041912
call fcn.1400735b8
add rbx, 0x20
cmp rbx, r15
jne 0x140041470
lea rdx, [rbp - 0x70]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0xff
ja 0x1400418cd
lea rbx, [rbp - 0x70]
cmp byte [rbp - 0x70], 0
je 0x1400418cd
mov r15d, 4
lea r12d, [r15 + 0x1b]
mov esi, dword [0x1400d4468]
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1400418ae
mov eax, dword [0x1400c0f74]
mov dword [rsp + 0x50], eax
cmp byte [0x1400c0f77], 0
je 0x1400416bc
cmp esi, 2
jl 0x140041686
movdqa xmm3, xmmword [0x1400c3430]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400c3520]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400c3520]
shufps xmm2, xmm0, 0xdd
movd xmm0, r15d
psrad xmm2, xmm0
movd xmm0, r12d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400c3450]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400c34d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.55555555555555556666666666666666]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rsp + 0x50], xmm2
jmp 0x1400416bc
lea r8, [rsp + 0x50]
mov ecx, r14d
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140041690
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400416e0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14003d220
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140041713
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14003d220
lea rdx, [rsp + 0x28]
mov r13, qword [rsp + 0x40]
cmp r13, 0x10
setae byte [rsp + 0x21]
mov rsi, qword [rsp + 0x28]
cmovae rdx, rsi
lea rcx, [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0x10
setae byte [rsp + 0x20]
mov r14, qword [rsp + 0x58]
cmovae rcx, r14
mov r8, qword [rsp + 0x68]
cmp r8, qword [rsp + 0x38]
jne 0x14004177c
call fcn.140076880
test eax, eax
jne 0x14004177c
xor r12b, r12b
jmp 0x14004177f
mov r12b, 1
cmp byte [rsp + 0x20], 0
je 0x1400417b8
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400417af
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041900
mov rcx, r14
call fcn.1400735b8
nop
cmp byte [rsp + 0x21], 0
je 0x1400417f0
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400417e8
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041906
mov rcx, rsi
call fcn.1400735b8
xor r14d, r14d
test r12b, r12b
je 0x14004189e
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x140041815
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14003d220
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140041858
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x58], 0
add qword [rdi + 8], 0x20
jmp 0x14004186a
lea r8, [rsp + 0x58]
mov rcx, rdi
call fcn.1400497e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14004189e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041899
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041906
call fcn.1400735b8
mov esi, dword [0x1400d4468]
mov r15d, 4
lea r12d, [r15 + 0x1b]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400418b5
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x1400415c0
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140072f90
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140082444
nop
call fcn.140082444
nop
call fcn.140082444
nop
call fcn.140082444
int3