Function at 0x14005f590
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x107b0]
mov eax, 0x108b0
call fcn.1400d2240
sub rsp, rax
mov r13, rcx
mov rcx, rdx
mov rdi, r8
mov rbx, rdx
call fcn.1400430d0
movsxd rsi, eax
cmp esi, 9
jne 0x14005f5e5
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call fcn.14005eed0
add rsp, 0x108b0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x108e8], r12
mov qword [rsp + 0x108a8], r14
cmp esi, 4
jne 0x14005f97c
lea rcx, [rbp + 0x7a0]
mov r8d, 0x7ffe
mov rdx, rdi
call fcn.1400cd684
or rcx, 0xffffffffffffffff
xor r12d, r12d
xor eax, eax
lea rdi, [rbp + 0x7a0]
mov word [rbp + 0x1079c], r12w
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14005f650
cmp word [rbp + rcx*2 + 0x79e], 0x5c
je 0x14005f650
mov r13d, 0x5c
mov word [rbp + rcx*2 + 0x7a0], r13w
lea rdx, [rbx + 0x12]
movzx eax, word [rdx]
cmp ax, 0x20
je 0x14005f663
cmp ax, 9
jne 0x14005f669
add rdx, 2
jmp 0x14005f654
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
mov rbx, qword [0x14011a300]
lea rdx, [0x1400e350c]
movzx r9d, byte [rbx + 0x23]
test eax, eax
lea r13, [0x1400e619c]
cmovne r13, rdx
test r9b, r9b
jne 0x14005f6bb
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, r13
mov byte [rsp + 0x20], 1
call fcn.1400b1370
mov r12d, eax
jmp 0x140060362
mov dl, 1
test r13, r13
jne 0x14005f6d0
xor dl, dl
mov r14, r12
lea r13, [0x1400e34fc]
jmp 0x14005f6f2
cmp qword [rbx + 8], r13
jne 0x14005f6df
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x14005f6f2
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
lea rax, [r14 + 1]
lea rsi, [rax + rax]
cmp r9b, 2
jne 0x14005f713
mov rdx, r14
mov rcx, r13
call fcn.1400060b0
mov r12d, eax
jmp 0x140060362
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x14005f747
cmp rsi, qword [rbx + 0x18]
jbe 0x14005f747
lea r8, [0x1400e34fc]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14011b1d0]
call fcn.1400405d0
mov r12d, eax
jmp 0x140060362
cmp rax, 2
jae 0x14005f771
test dl, dl
mov rcx, rbx
setne r12b
xor r8d, r8d
lea edx, [r12 + 3]
call fcn.1400b1a20
mov r12d, 1
mov eax, r12d
jmp 0x140060362
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005f78e
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x14005f904
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005f7c5
cmp al, 2
je 0x14005f805
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x14005f8f8
cmp rsi, 0x80
ja 0x14005f805
cmp rsi, 8
ja 0x14005f7db
mov edi, 8
jmp 0x14005f7eb
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je 0x14005f930
mov byte [rbx + 0x20], 1
jmp 0x14005f8f8
cmp rsi, 0x20
jae 0x14005f815
mov edi, SafeArrayAllocDescriptor
jmp 0x14005f8bf
mov edi, 0x208
cmp rsi, rdi
jb 0x14005f8bf
cmp rsi, 0x50000
jae 0x14005f87b
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14005f842
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005f871
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005f871
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x14005f8bf
cmp rsi, 0x320000
jae 0x14005f88d
lea rdi, [rsi + 0x8000]
jmp 0x14005f8bf
cmp rsi, 0xc80000
jae 0x14005f8b8
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x14005f8bf
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x14005f8df
test r9, r9
je 0x14005f8df
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x14005f8e2
xor sil, sil
test rdi, rdi
js 0x14005f938
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x14005f938
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x14005f919
lea r8, [r14 + r14]
mov rdx, r13
call fcn.1400cb170
mov rax, qword [rbx + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], r12w
mov qword [rbx + 0x10], rcx
mov r12d, 1
mov eax, r12d
jmp 0x140060362
test sil, sil
je 0x14005f94e
lea rax, [0x14011b188]
mov qword [rbx + 0x18], r12
mov qword [rbx + 8], rax
jmp 0x14005f956
mov rax, qword [rbx + 8]
mov word [rax], r12w
lea r8, [0x1400e34fc]
lea rdx, str.Out_of_memory.
lea rcx, [0x14011b1d0]
mov qword [rbx + 0x10], r12
call fcn.1400405d0
mov r12d, eax
jmp 0x140060362
mov rbx, qword [0x140119620]
mov rcx, rbx
call fcn.14001bf20
cmp esi, 8
ja case.0x14005f9a6.4
lea r14, [0x140000000]
mov eax, dword [r14 + rsi*4 + 0x60fe4]
add rax, r14
jmp rax
xor r12d, r12d
cmp word [rdi], r12w
jne 0x14005f9bb
mov esi, 0x100
jmp 0x14005fa4d
lea rdx, str.CDRom
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne 0x14005f9d3
lea esi, [rax + 5]
jmp 0x14005fa4d
lea rdx, str.Removable
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne 0x14005f9eb
lea esi, [rax + 2]
jmp 0x14005fa4d
lea rdx, str.Fixed
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne 0x14005fa03
lea esi, [rax + 3]
jmp 0x14005fa4d
lea rdx, str.Network
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne 0x14005fa1b
lea esi, [rax + 4]
jmp 0x14005fa4d
lea rdx, str.Ramdisk
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne 0x14005fa33
lea esi, [rax + 6]
jmp 0x14005fa4d
lea rdx, str.Unknown
mov rcx, rdi
call fcn.1400ca7ac
test eax, eax
jne case.0x14005f9a6.0
mov esi, r12d
mov qword [rsp + 0x108a0], r15
mov dil, 0x41
lea r14, [rsp + 0x60]
mov r15d, r12d
movzx eax, dil
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x5e], 0x5c003a
mov word [rbp - 0x60], ax
mov word [rbp - 0x5a], r12w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
je 0x14005fa8f
cmp esi, 0x100
jne 0x14005fa9f
cmp eax, 1
je 0x14005fa9f
movzx eax, dil
inc r15d
add r14, 2
mov word [r14 - 2], ax
inc dil
cmp dil, 0x5a
jbe 0x14005fa60
movsxd rax, r15d
mov r15, qword [rsp + 0x108a0]
movzx edx, byte [rbx + 0x23]
mov word [rsp + rax*2 + 0x60], r12w
test dl, dl
jne 0x14005fae0
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x60]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp 0x14005fd35
lea rax, [rsp + 0x60]
cmp qword [rbx + 8], rax
jne 0x14005faf4
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x14005fb09
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rax, [r13 + 1]
lea rsi, [rax + rax]
cmp dl, 2
jne 0x14005fb28
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.1400060b0
jmp 0x14005fd35
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x14005fb59
cmp rsi, qword [rbx + 0x18]
jbe 0x14005fb59
lea r8, [0x1400e34fc]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14011b1d0]
call fcn.1400405d0
jmp 0x14005fd35
cmp rax, 2
jae 0x14005fb73
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400b1a20
jmp 0x14005fd35
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005fb90
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x14005fd06
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005fbc7
cmp al, 2
je 0x14005fc07
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x14005fcfa
cmp rsi, 0x80
ja 0x14005fc07
cmp rsi, 8
ja 0x14005fbdd
mov edi, 8
jmp 0x14005fbed
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je 0x14005fd35
mov byte [rbx + 0x20], 1
jmp 0x14005fcfa
cmp rsi, 0x20
jae 0x14005fc17
mov edi, SafeArrayAllocDescriptor
jmp 0x14005fcc1
mov edi, 0x208
cmp rsi, rdi
jb 0x14005fcc1
cmp rsi, 0x50000
jae 0x14005fc7d
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14005fc44
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005fc73
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005fc73
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x14005fcc1
cmp rsi, 0x320000
jae 0x14005fc8f
lea rdi, [rsi + 0x8000]
jmp 0x14005fcc1
cmp rsi, 0xc80000
jae 0x14005fcba
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x14005fcc1
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x14005fce1
test r9, r9
je 0x14005fce1
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x14005fce4
xor sil, sil
test rdi, rdi
js 0x14005fd54
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x14005fd54
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x14005fd23
lea r8, [r13 + r13]
lea rdx, [rsp + 0x60]
call fcn.1400cb170
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13]
mov word [rcx + rax], r12w
mov qword [rbx + 0x10], rcx
cmp word [rsp + 0x60], r12w
jne case.0x14005f9a6.4
mov rcx, qword [rbp + 0x107e0]
mov dl, 1
call fcn.14003f030
jmp 0x140060362
test sil, sil
je 0x14005fd6a
lea rax, [0x14011b188]
mov qword [rbx + 0x18], r12
mov qword [rbx + 8], rax
jmp 0x14005fd72
mov rax, qword [rbx + 8]
mov word [rax], r12w
lea r8, [0x1400e34fc]
lea rdx, str.Out_of_memory.
lea rcx, [0x14011b1d0]
mov qword [rbx + 0x10], r12
call fcn.1400405d0
jmp 0x14005fd35
lea rcx, [rbp + 0x7a0]
mov r8d, 0x7ffe
mov rdx, rdi
call fcn.1400cd684
or rcx, 0xffffffffffffffff
xor r12d, r12d
xor eax, eax
lea rdi, [rbp + 0x7a0]
mov word [rbp + 0x1079c], r12w
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14005fde4
cmp word [rbp + rcx*2 + 0x79e], 0x5c
je 0x14005fde4
mov r13d, 0x5c
mov word [rbp + rcx*2 + 0x7a0], r13w
mov dword [rsp + 0x38], 0xff
lea rax, [rbp + 0x2a0]
lea r9, [rbp + 0x107f8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea rcx, [rbp + 0x7a0]
mov r8d, 0xff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je case.0x14005f9a6.0
sub esi, 2
je 0x1400600b3
dec esi
je 0x14005fe61
cmp esi, 2
jne case.0x14005f9a6.4
mov edx, dword [rbp + 0x107f8]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.140001090
jmp case.0x14005f9a6.4
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x14005fe8a
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0xa0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea rax, [rbp + 0xa0]
cmp qword [rbx + 8], rax
jne 0x14005fea0
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x14005feb7
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xa0]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rax, [r13 + 1]
lea rsi, [rax + rax]
cmp dl, 2
jne 0x14005fed8
lea rcx, [rbp + 0xa0]
mov rdx, r13
call fcn.1400060b0
jmp case.0x14005f9a6.4
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x14005feee
cmp rsi, qword [rbx + 0x18]
ja 0x14006013c
cmp rax, 2
jb 0x140060161
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005ff15
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x140060093
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x14005ff4c
cmp al, 2
je 0x14005ff8c
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x140060087
cmp rsi, 0x80
ja 0x14005ff8c
cmp rsi, 8
ja 0x14005ff62
mov edi, 8
jmp 0x14005ff72
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je case.0x14005f9a6.4
mov byte [rbx + 0x20], 1
jmp 0x140060087
cmp rsi, 0x20
jae 0x14005ff9c
mov edi, SafeArrayAllocDescriptor
jmp 0x140060046
mov edi, 0x208
cmp rsi, rdi
jb 0x140060046
cmp rsi, 0x50000
jae 0x140060002
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14005ffc9
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x14005fff8
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14005fff8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140060046
cmp rsi, 0x320000
jae 0x140060014
lea rdi, [rsi + 0x8000]
jmp 0x140060046
cmp rsi, 0xc80000
jae 0x14006003f
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x140060046
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140060066
test r9, r9
je 0x140060066
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x140060069
xor sil, sil
test rdi, rdi
js 0x140060380
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x140060380
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rbp + 0xa0]
cmp rcx, rax
je 0x140060331
lea rdx, [rbp + 0xa0]
jmp 0x140060327
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x1400600dc
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0x2a0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea rax, [rbp + 0x2a0]
cmp qword [rbx + 8], rax
jne 0x1400600f2
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x140060109
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2a0]
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rax, [r13 + 1]
lea rsi, [rax + rax]
cmp dl, 2
jne 0x14006012a
lea rcx, [rbp + 0x2a0]
mov rdx, r13
call fcn.1400060b0
jmp case.0x14005f9a6.4
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x14006015b
cmp rsi, qword [rbx + 0x18]
jbe 0x14006015b
lea r8, [0x1400e34fc]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14011b1d0]
call fcn.1400405d0
jmp case.0x14005f9a6.4
cmp rax, 2
jae 0x140060175
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 4]
call fcn.1400b1a20
jmp case.0x14005f9a6.4
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140060192
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x140060310
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x1400601c9
cmp al, 2
je 0x140060209
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x140060304
cmp rsi, 0x80
ja 0x140060209
cmp rsi, 8
ja 0x1400601df
mov edi, 8
jmp 0x1400601ef
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je case.0x14005f9a6.4
mov byte [rbx + 0x20], 1
jmp 0x140060304
cmp rsi, 0x20
jae 0x140060219
mov edi, SafeArrayAllocDescriptor
jmp 0x1400602c3
mov edi, 0x208
cmp rsi, rdi
jb 0x1400602c3
cmp rsi, 0x50000
jae 0x14006027f
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140060246
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140060275
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140060275
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400602c3
cmp rsi, 0x320000
jae 0x140060291
lea rdi, [rsi + 0x8000]
jmp 0x1400602c3
cmp rsi, 0xc80000
jae 0x1400602bc
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400602c3
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x1400602e3
test r9, r9
je 0x1400602e3
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x1400602e6
xor sil, sil
test rdi, rdi
js 0x140060380
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x140060380
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
lea rax, [rbp + 0x2a0]
cmp rcx, rax
je 0x140060331
lea rdx, [rbp + 0x2a0]
lea r8, [r13 + r13]
call fcn.1400cb170
lea rcx, [r13 + r13]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r12w
mov qword [rbx + 0x10], rcx
mov rcx, qword [0x14011a300]
lea rdx, [0x1400e350c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
mov r12, qword [rsp + 0x108e8]
mov r14, qword [rsp + 0x108a8]
add rsp, 0x108b0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
test sil, sil
je 0x140060396
lea rax, [0x14011b188]
mov qword [rbx + 0x18], r12
mov qword [rbx + 8], rax
jmp 0x14006039e
mov rax, qword [rbx + 8]
mov word [rax], r12w
lea r8, [0x1400e34fc]
lea rdx, str.Out_of_memory.
lea rcx, [0x14011b1d0]
mov qword [rbx + 0x10], r12
call fcn.1400405d0
jmp case.0x14005f9a6.4
lea rcx, [rbp + 0x7a0]
mov r8d, 0x7ffe
mov rdx, rdi
call fcn.1400cd684
or rcx, 0xffffffffffffffff
xor r12d, r12d
xor eax, eax
lea rdi, [rbp + 0x7a0]
mov word [rbp + 0x1079c], r12w
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x140060410
cmp word [rbp + rcx*2 + 0x79e], 0x5c
je 0x140060410
mov r13d, 0x5c
mov word [rbp + rcx*2 + 0x7a0], r13w
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 6
ja case.0x14005f9a6.0
mov eax, eax
mov ecx, dword [r14 + rax*4 + 0x61008]
add rcx, r14
jmp rcx
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x14006045e
mov rcx, qword [rbx + 0x10]
lea rdx, str.Unknown
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.Unknown
cmp qword [rbx + 8], r14
jne 0x140060474
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x140060479
mov esi, 7
lea rcx, [rsi + 1]
lea r13, [rcx + rcx]
cmp al, 2
je 0x1400609ad
mov r8, qword [0x140114480]
cmp r13, r8
jbe 0x14006049f
cmp r13, qword [rbx + 0x18]
ja 0x14006013c
cmp rcx, 2
jb 0x140060161
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400604c6
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp r13, r9
jbe 0x140060644
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x1400604fd
cmp al, 2
je 0x14006053d
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x140060638
cmp r13, 0x80
ja 0x14006053d
cmp r13, 8
ja 0x140060513
mov edi, 8
jmp 0x140060523
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp r13, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je case.0x14005f9a6.4
mov byte [rbx + 0x20], 1
jmp 0x140060638
cmp r13, 0x20
jae 0x14006054d
mov edi, SafeArrayAllocDescriptor
jmp 0x1400605f7
mov edi, 0x208
cmp r13, rdi
jb 0x1400605f7
cmp r13, 0x50000
jae 0x1400605b3
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x14006057a
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400605a9
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400605a9
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x1400605f7
cmp r13, 0x320000
jae 0x1400605c5
lea rdi, [r13 + 0x8000]
jmp 0x1400605f7
cmp r13, 0xc80000
jae 0x1400605f0
movabs rax, 0x47ae147ae147ae15
mov rdi, r13
mul r13
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, r13
jmp 0x1400605f7
lea rdi, [r13 + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140060617
test r9, r9
je 0x140060617
mov rcx, qword [rbx + 8]
mov r13b, 1
call fcn.1400cafac
jmp 0x14006061a
xor r13b, r13b
test rdi, rdi
js 0x140060b41
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x140060b41
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r14
je 0x140060659
lea r8, [rsi + rsi]
mov rdx, r14
call fcn.1400cb170
lea rcx, [rsi + rsi]
jmp 0x140060336
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x14006068b
mov rcx, qword [rbx + 0x10]
lea rdx, str.Removable
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r13, str.Removable
cmp qword [rbx + 8], r13
jne 0x1400606a1
mov r14, qword [rbx + 0x10]
shr r14, 1
jmp 0x1400606a7
mov r14d, 9
lea rcx, [r14 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x1400606c3
mov rdx, r14
mov rcx, r13
call fcn.1400060b0
jmp case.0x14005f9a6.4
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x1400606d9
cmp rsi, qword [rbx + 0x18]
ja 0x14006013c
cmp rcx, 2
jb 0x140060161
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140060700
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x14006087e
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140060737
cmp al, 2
je 0x140060777
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x140060872
cmp rsi, 0x80
ja 0x140060777
cmp rsi, 8
ja 0x14006074d
mov edi, 8
jmp 0x14006075d
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je case.0x14005f9a6.4
mov byte [rbx + 0x20], 1
jmp 0x140060872
cmp rsi, 0x20
jae 0x140060787
mov edi, SafeArrayAllocDescriptor
jmp 0x140060831
mov edi, 0x208
cmp rsi, rdi
jb 0x140060831
cmp rsi, 0x50000
jae 0x1400607ed
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400607b4
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x1400607e3
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400607e3
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140060831
cmp rsi, 0x320000
jae 0x1400607ff
lea rdi, [rsi + 0x8000]
jmp 0x140060831
cmp rsi, 0xc80000
jae 0x14006082a
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x140060831
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140060851
test r9, r9
je 0x140060851
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x140060854
xor sil, sil
test rdi, rdi
js 0x140060380
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x140060380
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x140060893
lea r8, [r14 + r14]
mov rdx, r13
call fcn.1400cb170
lea rcx, [r14 + r14]
jmp 0x140060336
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x1400608c5
mov rcx, qword [rbx + 0x10]
lea rdx, str.Fixed
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.Fixed
cmp qword [rbx + 8], r14
jne 0x140060f1c
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x140060c15
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x14006090b
mov rcx, qword [rbx + 0x10]
lea rdx, str.Network
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.Network
jmp 0x140060c01
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140060940
mov rcx, qword [rbx + 0x10]
lea rdx, str.CDROM
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.CDROM
cmp qword [rbx + 8], r14
jne 0x140060f1c
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x140060c15
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140060986
mov rcx, qword [rbx + 0x10]
lea rdx, str.RAMDisk
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.RAMDisk
cmp qword [rbx + 8], r14
jne 0x14006099c
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x1400609a1
mov esi, 7
lea rcx, [rsi + 1]
lea r13, [rcx + rcx]
cmp al, 2
jne 0x1400609bd
mov rdx, rsi
mov rcx, r14
call fcn.1400060b0
jmp case.0x14005f9a6.4
mov r8, qword [0x140114480]
cmp r13, r8
jbe 0x1400609d3
cmp r13, qword [rbx + 0x18]
ja 0x14006013c
cmp rcx, 2
jb 0x140060161
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400609fa
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp r13, r9
jbe 0x140060644
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140060a31
cmp al, 2
je 0x140060a4e
mov rdi, qword [rbp + 0x107f8]
mov rax, qword [rbp + 0x107f8]
jmp 0x140060638
cmp r13, 0x80
ja 0x140060a4e
cmp r13, 8
ja 0x140060513
mov edi, 8
jmp 0x140060523
cmp r13, 0x20
jae 0x140060a5e
mov edi, SafeArrayAllocDescriptor
jmp 0x140060b08
mov edi, 0x208
cmp r13, rdi
jb 0x140060b08
cmp r13, 0x50000
jae 0x140060ac4
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x140060a8b
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140060aba
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140060aba
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140060b08
cmp r13, 0x320000
jae 0x140060ad6
lea rdi, [r13 + 0x8000]
jmp 0x140060b08
cmp r13, 0xc80000
jae 0x140060b01
movabs rax, 0x47ae147ae147ae15
mov rdi, r13
mul r13
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, r13
jmp 0x140060b08
lea rdi, [r13 + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140060b28
test r9, r9
je 0x140060b28
mov rcx, qword [rbx + 8]
mov r13b, 1
call fcn.1400cafac
jmp 0x140060b2b
xor r13b, r13b
test rdi, rdi
js 0x140060b41
mov rcx, rdi
call fcn.1400ca834
test rax, rax
jne 0x140060634
test r13b, r13b
jmp 0x140060383
lea rcx, [rbp + 0x7a0]
mov r8d, 0x7ffe
mov rdx, rdi
call fcn.1400cd684
or rcx, 0xffffffffffffffff
xor r12d, r12d
xor eax, eax
lea rdi, [rbp + 0x7a0]
mov word [rbp + 0x1079c], r12w
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x140060b9b
cmp word [rbp + rcx*2 + 0x79e], 0x5c
je 0x140060b9b
mov r13d, 0x5c
mov word [rbp + rcx*2 + 0x7a0], r13w
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x7a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x140060ee2
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140060ee2
cmp eax, 3
je 0x140060ead
cmp eax, 0x13
je 0x140060e51
cmp eax, 0x15
movzx eax, byte [rbx + 0x23]
je 0x140060c2a
test al, al
je 0x14006043d
lea r14, str.Unknown
cmp qword [rbx + 8], r14
jne 0x140060c10
mov rsi, qword [rbx + 0x10]
shr rsi, 1
jmp 0x140060c15
mov esi, 7
lea rcx, [rsi + 1]
lea r13, [rcx + rcx]
cmp al, 2
je 0x1400609ad
jmp 0x1400609bd
test al, al
jne 0x140060c4f
mov rcx, qword [rbx + 0x10]
lea rdx, str.NotReady
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.NotReady
mov edi, 8
cmp qword [rbx + 8], r14
jne 0x140060c6a
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x140060c6d
mov r13, rdi
lea rcx, [r13 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x140060c89
mov rdx, r13
mov rcx, r14
call fcn.1400060b0
jmp case.0x14005f9a6.4
mov r8, qword [0x140114480]
cmp rsi, r8
jbe 0x140060c9f
cmp rsi, qword [rbx + 0x18]
ja 0x14006013c
cmp rcx, 2
jb 0x140060161
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140060cc6
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140114480]
mov r9, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r9
jbe 0x140060e3c
movzx r10d, byte [rbx + 0x20]
movzx eax, r10b
cmp r10b, 1
jbe 0x140060cfd
cmp al, 2
je 0x140060d35
mov rax, qword [rbp + 0x107f8]
mov rdi, qword [rbp + 0x107f8]
jmp 0x140060e30
cmp rsi, 0x80
ja 0x140060d35
cmp rsi, rdi
jbe 0x140060d1b
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edi, 0x80
cmp rsi, rax
cmovbe edi, eax
mov rcx, rdi
call fcn.1400aa290
test rax, rax
je case.0x14005f9a6.4
mov byte [rbx + 0x20], 1
jmp 0x140060e30
cmp rsi, 0x20
jae 0x140060d45
mov edi, SafeArrayAllocDescriptor
jmp 0x140060def
mov edi, 0x208
cmp rsi, rdi
jb 0x140060def
cmp rsi, 0x50000
jae 0x140060dab
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140060d72
addsd xmm0, qword [0x140101e78]
mulsd xmm0, qword [0x140101eb0]
movsd xmm1, qword [0x140101ea8]
xor ecx, ecx
comisd xmm0, xmm1
jbe 0x140060da1
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140060da1
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rdi, xmm0
add rdi, rcx
jmp 0x140060def
cmp rsi, 0x320000
jae 0x140060dbd
lea rdi, [rsi + 0x8000]
jmp 0x140060def
cmp rsi, 0xc80000
jae 0x140060de8
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x140060def
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r10b, 2
jne 0x140060e0f
test r9, r9
je 0x140060e0f
mov rcx, qword [rbx + 8]
mov sil, 1
call fcn.1400cafac
jmp 0x140060e12
xor sil, sil
test rdi, rdi
js 0x140060380
mov rcx, rdi
call fcn.1400ca834
test rax, rax
je 0x140060380
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 0x18], rdi
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
cmp rcx, r14
je 0x140060331
mov rdx, r14
jmp 0x140060327
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140060e7a
mov rcx, qword [rbx + 0x10]
lea rdx, str.ReadOnly
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.ReadOnly
mov edi, 8
cmp qword [rbx + 8], r14
jne 0x140060e95
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x140060e98
mov r13, rdi
lea rcx, [r13 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
je 0x140060c79
jmp 0x140060c89
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140060ed6
mov rcx, qword [rbx + 0x10]
lea rdx, str.Invalid
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.Invalid
jmp 0x140060c01
movzx eax, byte [rbx + 0x23]
test al, al
jne 0x140060f0b
mov rcx, qword [rbx + 0x10]
lea rdx, str.Ready
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4
lea r14, str.Ready
cmp qword [rbx + 8], r14
je 0x140060c07
mov esi, 5
jmp 0x140060c15
cmp word [rdi], 0
jne 0x140060f4d
lea rdx, [rbp + 0x4a0]
lea rcx, str.status_cdaudio_mode
xor r9d, r9d
mov r8d, 0x80
call qword [sym.imp.WINMM.dll_mciSendStringW]
test eax, eax
jmp 0x140060fbb
lea r8, str.open__s_type_cdaudio_alias_cd_wait_shareable
lea rcx, [rbp + 0x5a0]
mov r9, rdi
mov edx, 0x100
call fcn.1400ad0a0
lea rcx, [rbp + 0x5a0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINMM.dll_mciSendStringW]
test eax, eax
jne case.0x14005f9a6.0
lea rdx, [rbp + 0x4a0]
lea rcx, str.status_cd_mode
xor r9d, r9d
mov r8d, 0x80
call qword [sym.imp.WINMM.dll_mciSendStringW]
lea rcx, str.close_cd_wait
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov edi, eax
call qword [sym.imp.WINMM.dll_mciSendStringW]
test edi, edi
jne case.0x14005f9a6.0
lea rdx, [rbp + 0x4a0]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rcx, rbx
mov byte [rsp + 0x20], 1
call fcn.1400b1370
jmp case.0x14005f9a6.4