Function at 0x1400b0240
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x140], rax
and r8d, 7
mov r14, rdx
mov rbx, rcx
cmp r8d, 2
jne 0x1400b051d
movzx eax, byte [rdx]
mov rcx, qword [rcx + 0x10e70]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e70]
cmp byte [rax], 0
je 0x1400b02b3
nop dword [rax]
inc qword [rbx + 0x10e70]
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
mov rcx, qword [rbx + 0x10e70]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e70]
cmp byte [rax], 0
jne 0x1400b0290
mov rdx, qword [rbx + 0x10e60]
mov rcx, rbx
call fcn.1400af100
lea rcx, [rbx + 0x10e78]
test eax, eax
je 0x1400b02e3
cmp dword [rbx + 0x10e50], 0
je 0x1400b02e3
mov rdx, rcx
mov rcx, r14
call fcn.1400b0060
jmp 0x1400b0324
movzx eax, byte [r14]
mov rcx, qword [rcx]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e78]
cmp byte [rax], 0
je 0x1400b0324
nop dword [rax + rax]
inc qword [rbx + 0x10e78]
lea r14, [r14 + 1]
movzx eax, byte [r14]
mov rcx, qword [rbx + 0x10e78]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e78]
cmp byte [rax], 0
jne 0x1400b0300
mov rdi, qword [rbx + 0x10e70]
lea r8, [rbx + 0x10bd0]
mov rdx, qword [rbx + 0x10e68]
mov rcx, rbx
sub rdi, qword [rbx + 0x10e60]
call fcn.1400b0bc0
test eax, eax
je 0x1400b0485
cmp dword [rbx + 0x8c], 0
jne 0x1400b037b
mov rcx, qword [rbx + 0x10e60]
call fcn.140139270
mov rcx, qword [rbx + 0x10e68]
call fcn.140139270
mov eax, 0x200
jmp 0x1400b0b98
cmp rdi, 0x101
jle 0x1400b03e8
mov rcx, qword [rbx + 0x10e60]
lea rdx, [rbx + 0x8b08]
call fcn.1400ba520
mov r8, rax
lea rdx, str.checkdir_error:__path_too_long:__s_n
lea rcx, [rbx + 0xb08]
call fcn.1400ac6e0
mov r8d, eax
lea rdx, [rbx + 0xb08]
mov r9d, 1
mov rcx, rbx
call qword [rbx + 0x10df0]
mov rcx, qword [rbx + 0x10e60]
call fcn.140139270
mov rcx, qword [rbx + 0x10e68]
call fcn.140139270
mov eax, 0x400
jmp 0x1400b0b98
mov rcx, qword [rbx + 0x10e68]
call fcn.140152514
cmp eax, 0xffffffff
jne 0x1400b0476
lea rdx, [rbx + 0x8b08]
lea rcx, [rbx + 0x10c5c]
call fcn.1400ba520
mov rcx, qword [rbx + 0x10e68]
lea rdx, [rbx + 0xcb08]
mov rdi, rax
call fcn.1400ba520
lea rdx, str.checkdir_error:__cannot_create__s_n_________________unable_to_process__s._n
mov r9, rdi
lea rcx, [rbx + 0xb08]
mov r8, rax
call fcn.1400ac6e0
mov r8d, eax
lea rdx, [rbx + 0xb08]
mov r9d, 1
mov rcx, rbx
call qword [rbx + 0x10df0]
mov rcx, qword [rbx + 0x10e60]
call fcn.140139270
mov rcx, qword [rbx + 0x10e68]
call fcn.140139270
mov eax, 0x300
jmp 0x1400b0b98
mov r15d, 1
mov dword [rbx + 0x10e3c], r15d
jmp 0x1400b04e0
movzx eax, word [rbx + 0x10bd6]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x1400b04d3
lea rdx, [rbx + 0x8b08]
lea rcx, [rbx + 0x10c5c]
call fcn.1400ba520
mov rcx, qword [rbx + 0x10e68]
lea rdx, [rbx + 0xcb08]
mov rdi, rax
call fcn.1400ba520
lea rdx, str.checkdir_error:___s_exists_but_is_not_directory_n_________________unable_to_process__s._n
jmp 0x1400b0429
cmp rdi, 0x101
jg 0x1400b0384
mov rax, qword [rbx + 0x10e70]
mov byte [rax], 0x2f
mov rax, qword [rbx + 0x10e78]
inc qword [rbx + 0x10e70]
mov byte [rax], 0x2f
inc qword [rbx + 0x10e78]
mov rax, qword [rbx + 0x10e78]
mov byte [rax], 0
mov rax, qword [rbx + 0x10e70]
mov byte [rax], 0
xor eax, eax
jmp 0x1400b0b98
cmp r8d, 4
jne 0x1400b057f
mov rcx, qword [rcx + 0x10e68]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r14], al
lea r14, [r14 + 1]
test al, al
jne 0x1400b0530
mov rcx, qword [rbx + 0x10e68]
call fcn.140139270
mov rcx, qword [rbx + 0x10e60]
call fcn.140139270
xor esi, esi
mov qword [rbx + 0x10e78], rsi
xor eax, eax
mov qword [rbx + 0x10e70], rsi
mov qword [rbx + 0x10e68], rsi
mov qword [rbx + 0x10e60], rsi
jmp 0x1400b0b98
mov qword [rsp + 0x190], rbp
cmp r8d, 3
jne 0x1400b06ec
movzx eax, byte [rdx]
xor esi, esi
mov rcx, qword [rcx + 0x10e70]
mov rbp, r14
mov byte [rcx], al
mov rax, qword [rbx + 0x10e70]
cmp byte [rax], sil
je 0x1400b0669
lea r15d, [r8 - 2]
nop word [rax + rax]
lea rcx, [rax + 1]
mov rax, rcx
mov qword [rbx + 0x10e70], rcx
sub rax, qword [rbx + 0x10e60]
lea rbp, [rbp + 1]
cmp rax, 0x104
jl 0x1400b0653
lea rax, [rcx - 1]
mov qword [rbx + 0x10e70], rax
lea rdx, [rbx + 0xcb08]
mov byte [rax], 0
mov rcx, qword [rbx + 0x10e60]
call fcn.1400ba520
lea rdx, [rbx + 0x8b08]
mov rdi, rax
lea rcx, [rbx + 0x10c5c]
call fcn.1400ba520
mov r8, rax
lea rdx, str.checkdir_warning:__path_too_long__truncating_n____________________s_n____________________s_n
mov r9, rdi
lea rcx, [rbx + 0xb08]
call fcn.1400ac6e0
mov r8d, eax
lea rdx, [rbx + 0xb08]
mov r9d, r15d
mov rcx, rbx
call qword [rbx + 0x10df0]
mov rcx, qword [rbx + 0x10e70]
mov esi, 0x100
movzx eax, byte [rbp]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e70]
cmp byte [rax], 0
jne 0x1400b05c0
mov rax, qword [rbx + 0xb00]
test byte [rax + 0x18], 0x20
jne 0x1400b06a8
mov rdx, qword [rbx + 0x10e60]
mov rcx, rbx
call fcn.1400af100
test eax, eax
je 0x1400b06a8
cmp dword [rbx + 0x10e50], 0
je 0x1400b06a8
lea rdx, [rbx + 0x10e78]
mov rcx, r14
call fcn.1400b0060
mov eax, esi
jmp 0x1400b0b90
movzx eax, byte [r14]
mov rcx, qword [rbx + 0x10e78]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e78]
cmp byte [rax], 0
je 0x1400b06e5
inc qword [rbx + 0x10e78]
lea r14, [r14 + 1]
movzx ecx, byte [r14]
mov rdx, qword [rbx + 0x10e78]
mov byte [rdx], cl
mov rcx, qword [rbx + 0x10e78]
cmp byte [rcx], 0
jne 0x1400b06c1
mov eax, esi
jmp 0x1400b0b90
cmp r8d, 1
jne 0x1400b0974
mov ecx, dword [rcx + 0x10f94]
mov eax, dword [rbx + 0x10e44]
inc eax
add ecx, eax
movsxd rcx, ecx
call fcn.14013b328
mov qword [rbx + 0x10e60], rax
test rax, rax
je 0x1400b0aa1
mov ecx, dword [rbx + 0x10f94]
mov eax, dword [rbx + 0x10e44]
inc eax
add ecx, eax
movsxd rcx, ecx
call fcn.14013b328
mov qword [rbx + 0x10e68], rax
test rax, rax
jne 0x1400b0758
mov rcx, qword [rbx + 0x10e60]
call fcn.140139270
mov eax, 0xa00
jmp 0x1400b0b90
mov rax, qword [rbx + 0xb00]
mov edx, dword [rbx + 0x10e40]
test byte [rax + 0x18], 0x20
je 0x1400b08aa
test edx, edx
je 0x1400b0791
cmp byte [r14 + 1], 0x3a
jne 0x1400b07ba
movsx ecx, byte [r14]
call fcn.1401454f4
mov rcx, qword [rbx + 0x10e60]
mov byte [rcx], al
jmp 0x1400b082d
cmp dword [rbx + 0x10f94], 1
jle 0x1400b07ba
mov rax, qword [rbx + 0x10e58]
cmp byte [rax + 1], 0x3a
jne 0x1400b07ba
movsx ecx, byte [rax]
call fcn.1401454f4
mov rcx, qword [rbx + 0x10e60]
mov byte [rcx], al
jmp 0x1400b082d
lea r9, [rsp + 0x20]
mov edx, 0x104
lea r8, [rsp + 0x30]
lea rcx, [0x1401ca64c]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, 0x104
jbe 0x1400b0813
lea rdx, str.checkdir_warning:_current_dir_path_too_long_n
lea rcx, [rbx + 0xb08]
call fcn.1400ac6e0
mov r8d, eax
lea rdx, [rbx + 0xb08]
mov r9d, 1
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, 0x100
jmp 0x1400b0b90
movsx ecx, byte [rsp + 0x30]
mov rax, qword [rbx + 0x10e60]
add ecx, 0xffffffa0
mov dword [rbx + 0x10e48], ecx
add cl, 0x60
mov byte [rax], cl
mov rcx, qword [rbx + 0x10e60]
mov r8d, dword [rbx + 0x4c]
mov rdx, rcx
movsx eax, byte [rcx]
add eax, 0xffffffa0
mov dword [rbx + 0x10e48], eax
test r8d, r8d
je 0x1400b0880
cmp byte [rcx], 0x61
jl 0x1400b0880
cmp r8d, 1
jne 0x1400b089e
add al, 0x40
mov word [rsp + 0x21], 0x2f3a
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], al
mov byte [rsp + 0x23], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1400b089e
mov rdx, qword [rbx + 0x10e60]
mov rcx, rdx
call fcn.140139270
mov rcx, qword [rbx + 0x10e68]
call fcn.140139270
mov eax, 0x1100
jmp 0x1400b0b90
mov rax, qword [rbx + 0x10e60]
mov byte [rax], 0
jmp 0x1400b0906
mov rcx, qword [rbx + 0x10e60]
test edx, edx
je 0x1400b08d4
nop word [rax + rax]
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b08c0
jmp 0x1400b0906
cmp dword [rbx + 0x10f94], 0
jle 0x1400b0903
mov rdx, qword [rbx + 0x10e58]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b08f0
jmp 0x1400b0906
mov byte [rcx], 0
mov rax, qword [rbx + 0x10e60]
mov rcx, qword [rbx + 0x10e68]
mov qword [rbx + 0x10e70], rax
mov qword [rbx + 0x10e78], rcx
movzx eax, byte [rax]
mov byte [rcx], al
mov rax, qword [rbx + 0x10e78]
cmp byte [rax], 0
je 0x1400b0b87
nop word [rax + rax]
inc qword [rbx + 0x10e70]
inc qword [rbx + 0x10e78]
mov rax, qword [rbx + 0x10e70]
mov rdx, qword [rbx + 0x10e78]
movzx ecx, byte [rax]
mov byte [rdx], cl
mov rax, qword [rbx + 0x10e78]
cmp byte [rax], 0
jne 0x1400b0940
xor eax, eax
jmp 0x1400b0b90
test r8d, r8d
jne 0x1400b0b64
test r14, r14
jne 0x1400b0991
xor esi, esi
mov dword [rcx + 0x10f94], esi
xor eax, eax
jmp 0x1400b0b90
cmp dword [rcx + 0x10f94], 0
jg 0x1400b0b87
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1400b09a5
mov dword [rcx + 0x10f94], eax
test eax, eax
jle 0x1400b0b87
movsxd rcx, eax
xor esi, esi
add rcx, 3
mov edi, esi
call fcn.14013b328
mov rbp, rax
test rax, rax
je 0x1400b0a9b
mov rcx, rax
sub rcx, r14
nop
movzx eax, byte [r14]
mov byte [rcx + r14], al
lea r14, [r14 + 1]
test al, al
jne 0x1400b09e0
movzx ecx, byte [rbp]
call fcn.14014cf10
mov r15d, 1
test eax, eax
je 0x1400b0a0b
cmp byte [rbp + 1], 0x3a
cmove edi, r15d
movsxd rdx, dword [rbx + 0x10f94]
movzx ecx, byte [rdx + rbp - 1]
cmp cl, 0x2f
je 0x1400b0a24
mov eax, r15d
cmp cl, 0x5c
jne 0x1400b0a34
lea eax, [rdx - 1]
mov dword [rbx + 0x10f94], eax
mov eax, esi
mov byte [rdx + rbp - 1], sil
test edi, edi
je 0x1400b0aab
cmp dword [rbx + 0x10f94], 2
jne 0x1400b0aab
test eax, eax
je 0x1400b0a4f
mov byte [rbp + 2], 0x2e
inc dword [rbx + 0x10f94]
mov eax, dword [rbx + 0x10f94]
cdqe
mov byte [rax + rbp], 0x2f
movsxd rcx, dword [rbx + 0x10f94]
lea eax, [rcx + 1]
mov dword [rbx + 0x10f94], eax
mov byte [rcx + rbp + 1], sil
mov rcx, rbp
mov eax, dword [rbx + 0x10f94]
inc eax
movsxd rdx, eax
call fcn.140139284
mov qword [rbx + 0x10e58], rax
test rax, rax
jne 0x1400b0b87
mov rcx, rbp
call fcn.140139270
mov dword [rbx + 0x10f94], esi
mov eax, 0xa00
jmp 0x1400b0b90
cmp dword [rbx + 0x10f94], esi
jle 0x1400b0a4f
lea r8, [rbx + 0x10bd0]
mov rdx, rbp
mov rcx, rbx
call fcn.1400b0bc0
test eax, eax
jne 0x1400b0ae6
movzx eax, word [rbx + 0x10bd6]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x1400b0a4f
mov rcx, rbp
cmp dword [rbx + 0x8c], esi
jne 0x1400b0b06
call fcn.140139270
mov eax, 0x200
mov dword [rbx + 0x10f94], esi
jmp 0x1400b0b90
call fcn.140152514
cmp eax, 0xffffffff
jne 0x1400b0a4f
lea rdx, [rbx + 0x8b08]
mov rcx, rbp
call fcn.1400ba520
mov r8, rax
lea rdx, str.checkdir:__cannot_create_extraction_directory:__s_n
lea rcx, [rbx + 0xb08]
call fcn.1400ac6e0
mov r8d, eax
lea rdx, [rbx + 0xb08]
mov r9d, r15d
mov rcx, rbx
call qword [rbx + 0x10df0]
mov rcx, rbp
call fcn.140139270
mov eax, 0x300
mov dword [rbx + 0x10f94], esi
jmp 0x1400b0b90
cmp r8d, 5
jne 0x1400b0b8b
cmp dword [rcx + 0x10f94], 0
jle 0x1400b0b87
mov rcx, qword [rcx + 0x10e58]
call fcn.140139270
xor esi, esi
mov dword [rbx + 0x10f94], esi
xor eax, eax
jmp 0x1400b0b90
mov eax, 0x6300
mov rbp, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140132620
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret