Function at 0x14005dea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x3f0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r14, rdx
mov r15, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x388], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x398], xmm1
mov word [rsp + 0x388], di
mov byte [rsp + 0x380], dil
lea rdx, str.srl::SetupLib::GetCDRomInfo
lea rcx, [rsp + 0x388]
call fcn.1400184d0
nop
call fcn.140021130
cmp dword [rax + 8], 4
jl 0x14005df27
lea rcx, [rsp + 0x380]
call fcn.140016330
cmp byte [r15 + 0x28], 0
je 0x14005e964
mov qword [rsp + 0x60], rdi
lea r8, [rsp + 0x60]
lea rdx, [0x1402bb510]
mov rcx, r15
call fcn.140060b10
test al, al
je 0x14005e272
xorps xmm0, xmm0
movups xmmword [rsp + 0x360], xmm0
movups xmmword [rsp + 0x370], xmm0
mov eax, 0x20
mov dword [rsp + 0x360], eax
lea r12, vtable.srl::Name.0
nop dword [rax]
lea r8, [rsp + 0x360]
mov edx, edi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call qword [r15 + 0x40]
test eax, eax
je 0x14005e263
inc edi
mov qword [rsp + 0x38], r12
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14005e9a6
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14005e9a6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14005e9a6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14005e9a6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14005e99b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r8, rsi
lea rdx, [rsp + 0x360]
mov rcx, r15
call fcn.1400602c0
test al, al
je 0x14005e077
mov rdx, qword [rsp + 0x30]
cmp dword [rdx - 0x10], 0
jne 0x14005e09c
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rsi
lea rdx, [rsp + 0x360]
mov rcx, r15
call fcn.1400602c0
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14005e0f9
cmp dword [rbx + 0x10], 0
jl 0x14005e0eb
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14005e0eb
call fcn.140002cec
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14005e0db
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0x60]
jmp 0x14005e0f9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002b2c
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, rsi
lea rdx, [rsp + 0x360]
mov rcx, r15
call fcn.1400602c0
mov rbx, qword [rsp + 0x30]
test al, al
je 0x14005e18a
lea rcx, [rbx - 0x18]
mov rsi, qword [rsp + 0x50]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x14005e18a
cmp dword [rsi + 0x10], 0
jl 0x14005e179
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14005e179
call fcn.140002cec
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x14005e169
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x30]
jmp 0x14005e18a
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002b2c
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14005e1a8
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14002a1d0
add qword [r14 + 8], 0x28
jmp 0x14005e1b9
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r14
call fcn.140056400
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005e1d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005e1f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005e218
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005e239
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005df80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14005df80
mov rcx, rsi
call qword [r15 + 0x88]
jmp 0x14005e964
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x14005e964
call fcn.140021130
mov rsi, rax
lea rcx, [rsp + 0xc0]
call fcn.140019550
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x340], xmm0
mov qword [rsp + 0x350], rdi
mov qword [rsp + 0x358], 7
mov word [rsp + 0x340], di
lea rdx, str.WARN
lea rcx, [rsp + 0x340]
call fcn.1400184d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c0], xmm0
mov rdx, rdi
mov qword [rsp + 0x2d0], rdx
mov r8d, 7
mov qword [rsp + 0x2d8], r8
mov word [rsp + 0x2c0], di
mov ebx, edi
cmp ebx, dword [rsi + 0x10]
jge 0x14005e392
cmp ebx, 0xa
jge 0x14005e392
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2c0]
cmp rax, 2
jb 0x14005e361
lea rax, [rdx + 2]
mov qword [rsp + 0x2d0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x2c0]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], di
inc ebx
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x14005e300
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x14005e300
xorps xmm0, xmm0
movups xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], rdi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], di
movups xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], rdi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], di
call fcn.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x320]
call fcn.140231bfc
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x300]
call fcn.1400184d0
lea rcx, [rsp + 0x1c0]
call fcn.140019550
nop
cmp dword [rsi + 0x14], 0
jne 0x14005e437
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140013030
jmp 0x14005e45d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x1d0]
call fcn.140021b10
lea rdx, [rsp + 0x3a8]
lea rcx, [rsp + 0x1d8]
call fcn.14001a150
nop
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x14005e4bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e4b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e9b1
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x3a8]
movups xmmword [rsp + 0x2e0], xmm0
movups xmm1, xmmword [rsp + 0x3b8]
movups xmmword [rsp + 0x2f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x3b8], xmm0
mov word [rsp + 0x3a8], di
lea rcx, [rsp + 0x1c0]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x60]
call fcn.1402237b8
mov rsi, rax
mov edx, 0x2040
lea rcx, [rsp + 0x70]
call fcn.1402237b8
mov rcx, qword [rsp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xd0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x300]
cmp qword [rsp + 0x318], 8
cmovae rdx, qword [rsp + 0x300]
mov r8, qword [rsp + 0x310]
lea rcx, [rsp + 0xd0]
call fcn.140016d70
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016ab0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [rsi + 8]
call qword [rsi]
mov edx, 6
lea rcx, [rsp + 0x80]
call fcn.1402237e0
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x90]
call fcn.1402237cc
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
mov rcx, rbx
call fcn.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0xa0]
call fcn.1402237e0
mov rsi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016ab0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.1402237b8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x340]
cmp qword [rsp + 0x358], 8
cmovae rdx, qword [rsp + 0x340]
mov r8, qword [rsp + 0x350]
mov rcx, rbx
call fcn.140016d70
lea rbx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rbx, qword [rsp + 0x2c0]
lea rdx, [0x1402cca70]
mov rcx, rax
call fcn.140016ab0
mov rdx, rbx
mov rcx, rax
call fcn.140016ab0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a0a4], eax
jg 0x14005e9b7
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0xd8]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14005e74d
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e748
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ea0f
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x3c8]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x3d8]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x3d8], xmm0
mov word [rsp + 0x3c8], di
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x14005e7cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e7c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ea15
call fcn.1400041d4
mov qword [rsp + 0x2f0], rdi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], di
mov rdx, qword [rsp + 0x318]
cmp rdx, 8
jb 0x14005e830
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e82b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ea1b
call fcn.1400041d4
mov qword [rsp + 0x310], rdi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], di
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 8
jb 0x14005e894
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e88f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ea21
call fcn.1400041d4
mov qword [rsp + 0x2d0], rdi
mov qword [rsp + 0x2d8], 7
mov word [rsp + 0x2c0], di
mov rdx, qword [rsp + 0x358]
cmp rdx, 8
jb 0x14005e8f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e8f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ea27
call fcn.1400041d4
mov qword [rsp + 0x350], rdi
mov qword [rsp + 0x358], 7
mov word [rsp + 0x340], di
lea rcx, [rsp + 0xc0]
call fcn.140019440
call fcn.140021130
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016d70
lea rdx, str.Failed_call_to_GetDeviceSet_for_GetCDRomInfo
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
call fcn.140017c90
nop
lea rcx, [rsp + 0x380]
call fcn.140017d20
xor al, al
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140220e50
mov rbx, qword [rsp + 0x430]
add rsp, 0x3f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140002dfc
nop
mov ecx, 0x80004005
call fcn.140002dfc
nop
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x14005e6f1
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], di
lea rcx, [0x14026f080]
call fcn.1402210a8
lea rcx, [0x14032a0a4]
call fcn.140221128
nop
jmp 0x14005e6f1
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3