Function at 0x1005bd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cc64
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1bc], 0
mov esi, dword [0x100b64c8]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1a0], esi
test esi, esi
jne 0x1005be22
push 0x2f4
call fcn.1007faf4
mov esi, eax
mov dword [ebp - 0x1a8], esi
push 0x2f4
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.10076a20
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1a0], eax
mov dword [0x100b64c8], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [edi]
mov ecx, edi
push str._noautorotate
call dword [eax + 0x1c]
push ebx
push edi
call fcn.1006b010
mov eax, dword [ebx + 0x3a8]
test eax, eax
jne 0x1005be7e
cmp dword [ebx + 0x1d0], 8
lea ecx, [ebx + 0x1bc]
jb 0x1005be57
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
mov esi, dword [ebp - 0x19c]
add esi, 0x1c20
mov dword [ebp - 0x198], esi
mov eax, esi
mov esi, dword [ebp - 0x19c]
jmp 0x1005c24e
cmp eax, 3
jne 0x1005bf52
cmp dword [ebx + 0x3c0], 8
lea ecx, [ebx + 0x3ac]
jb 0x1005be98
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
call fcn.10004310
mov ecx, eax
test ecx, ecx
je 0x1005d0f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xdc], eax
lea ecx, [ebx + 0x1bc]
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 8
jb 0x1005bed2
mov ecx, dword [ecx]
cmp dword [ebx + 0x3f0], 8
lea eax, [ebx + 0x3dc]
jb 0x1005bee3
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xdc]
push str._s___s
push eax
call fcn.10004030
mov eax, dword [edi]
add esp, 0x10
mov esi, dword [ebp - 0xdc]
mov ecx, edi
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005bf26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x19c]
xorps xmm0, xmm0
add esi, 0x1c20
movsd qword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x198], esi
movsd qword [esi], xmm0
mov esi, dword [ebp - 0x19c]
jmp 0x1005c266
push 0
push 0x100b56c8
push 0x100b54cc
push 0
push ebx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x64]
cmp dword [eax + 0x14], 8
jb 0x1005bf7a
mov eax, dword [eax]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 8]
push 0x40
lea eax, [ebp - 0x194]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x194]
push 0
call fcn.100012c0
mov dword [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x164]
cmp eax, 0xffffffff
je 0x1005c095
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
cmp eax, 0xffffffff
je 0x1005c095
lea eax, [ebx + 0x3c4]
mov ecx, esi
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
call dword [eax + 0x168]
cmp eax, 0xffffffff
je 0x1005c045
cmp dword [ebx + 0x3d8], 8
jb 0x1005bfff
mov eax, dword [ebx + 0x3c4]
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x168]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
push eax
mov eax, dword [ebp - 0x198]
push eax
push str._dvd_device___s___chapter__d__d__angle__d
lea eax, [ebp - 0x194]
push str._f_dvdnav
push eax
call fcn.10001fb0
add esp, 0x1c
jmp 0x1005c1e4
cmp dword [ebx + 0x3d8], 8
jb 0x1005c05a
mov eax, dword [ebx + 0x3c4]
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
push eax
mov eax, dword [ebp - 0x198]
push eax
push str._dvd_device___s___chapter__d__angle__d
lea eax, [ebp - 0x194]
push str._f_dvdnav
push eax
call fcn.10001fb0
add esp, 0x18
jmp 0x1005c1e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
cmp eax, 0xffffffff
jne 0x1005c0fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x168]
cmp eax, 0xffffffff
jne 0x1005c0fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
cmp eax, 0xffffffff
je 0x1005c0fa
cmp dword [ebx + 0x3d8], 8
lea eax, [ebx + 0x3c4]
mov dword [ebp - 0xdc], eax
jb 0x1005c0df
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
push eax
push dword [ebp - 0xdc]
push str._dvd_device___s___angle__d
jmp 0x1005c1a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
cmp eax, 0xffffffff
je 0x1005c1b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
cmp eax, 0xffffffff
jne 0x1005c1b9
lea eax, [ebx + 0x3c4]
mov ecx, esi
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
call dword [eax + 0x168]
cmp eax, 0xffffffff
je 0x1005c177
cmp dword [ebx + 0x3d8], 8
jb 0x1005c150
mov eax, dword [ebx + 0x3c4]
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x168]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
push eax
mov eax, dword [ebp - 0x198]
push eax
push str._dvd_device___s___chapter__d__d
jmp 0x1005c07c
cmp dword [ebx + 0x3d8], 8
jb 0x1005c18c
mov eax, dword [ebx + 0x3c4]
mov dword [ebp - 0x198], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
push eax
mov eax, dword [ebp - 0x198]
push eax
push str._dvd_device___s___chapter__d
lea eax, [ebp - 0x194]
push str._f_dvdnav
push eax
call fcn.10001fb0
add esp, 0x14
jmp 0x1005c1e4
cmp dword [ebx + 0x3d8], 8
lea eax, [ebx + 0x3c4]
jb 0x1005c1ca
mov eax, dword [eax]
push eax
push str._dvd_device___s_
lea eax, [ebp - 0x194]
push str._f_dvdnav
push eax
call fcn.10001fb0
add esp, 0x10
push 0x10095234
lea eax, [ebp - 0x194]
push str._probesize
push eax
call fcn.10001fb0
push str.100M
lea eax, [ebp - 0x194]
push str._analyzeduration
push eax
call fcn.10001fb0
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x194]
mov esi, dword [edi]
add esp, 0x18
call dword [eax + 0x3c]
push eax
mov ecx, edi
call dword [esi + 4]
lea ecx, [ebp - 0x194]
mov dword [ebp - 4], 0xffffffff
call fcn.10001590
mov esi, dword [ebp - 0x19c]
lea eax, [esi + 0x1c20]
mov dword [ebp - 0x198], eax
xorps xmm0, xmm0
mov ecx, esi
push ebx
push edi
movsd qword [ebp - 0x1b0], xmm0
movsd qword [eax], xmm0
call fcn.1005ba80
push 3
xor eax, eax
mov dword [ebp - 0x13c], 0
push 0x10095b60
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
call fcn.100052a0
mov dword [ebp - 4], 3
cmp dword [esi + 0x70], 0
mov dword [ebp - 0x1a8], 0
je 0x1005c2e4
mov eax, dword [ebx + 0x408]
test eax, eax
je 0x1005c2cb
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1005c2cb
push ecx
jmp 0x1005c2d1
push dword [ebx + 0x260]
mov eax, dword [edi]
push str.0:_d
push str._map
push edi
call dword [eax + 0x14]
add esp, 0x10
cmp dword [ebp - 0x128], 8
lea ecx, [ebp - 0x13c]
lea edx, [esi + 0x1434]
cmovae ecx, dword [ebp - 0x13c]
cmp dword [esi + 0x1448], 8
jb 0x1005c30d
mov edx, dword [esi + 0x1434]
mov esi, dword [esi + 0x1444]
cmp esi, dword [ebp - 0x12c]
jne 0x1005c33b
test esi, esi
je 0x1005c53a
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1005c33b
add edx, 2
add ecx, 2
sub esi, 1
jne 0x1005c323
jmp 0x1005c53a
mov eax, dword [ebx + 0x3a8]
mov esi, dword [ebp - 0x198]
mov dword [ebp - 0x198], esi
cmp eax, 1
jne 0x1005c3a7
push 0
push 0x100b56c8
push 0x100b54cc
push 0
push ebx
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
mov dword [ebp - 0xdc], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
cmp eax, 0xffffffff
je 0x1005c50f
mov eax, dword [ebp - 0xdc]
mov ecx, eax
mov esi, dword [eax]
call dword [esi + 0x100]
mov ecx, dword [ebp - 0xdc]
push eax
call dword [esi + 0xd4]
mov esi, dword [ebp - 0x198]
jmp 0x1005c3df
cmp eax, 3
jne 0x1005c3b5
push 0
push 0x100b556c
jmp 0x1005c359
test eax, eax
jne 0x1005c50f
mov eax, dword [ebx + 0x408]
test eax, eax
je 0x1005c50f
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x1005c50f
push eax
mov ecx, ebx
call fcn.10015ae0
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x1005c50f
cmp dword [eax + 0xc8], 0
jne 0x1005c455
mov eax, dword [edi]
mov ecx, edi
push str._map
call dword [eax + 0x20]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [edi]
mov dword [ebp - 0x198], ecx
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp - 0xdc], ecx
mov ecx, edx
test eax, eax
je 0x1005c432
call dword [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0x198]
jmp 0x1005c51c
call dword [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0x198]
push str.0:_d
push str._map
push edi
call dword [eax + 0x14]
add esp, 0x10
jmp 0x1005c534
add eax, 0xcc
lea ecx, [ebp - 0xf4]
push eax
call fcn.10007640
mov byte [ebp - 4], 4
cmp dword [ebp - 0xe4], 0
je 0x1005c4c7
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
cmovae eax, dword [ebp - 0xf4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005c4c7
cmp dword [ebp - 0xe0], 8
lea ecx, [ebp - 0xf4]
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0xf4]
push ecx
mov ecx, edi
call dword [eax + 0xc]
push dword [ebx + 0x260]
mov eax, dword [edi]
push str.0:_d__map_1:0
push str._map
push edi
call dword [eax + 0x14]
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe0]
cmp edx, 8
jb 0x1005c534
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005c503
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007face
add esp, 8
jmp 0x1005c534
mov ecx, dword [ebx + 0x274]
test ecx, ecx
js 0x1005c53a
mov eax, dword [edi]
push ecx
push str._map_0:_d
push 0x100919b8
push 0
push str._map
push edi
call dword [eax + 0x24]
add esp, 0x18
mov dword [ebp - 0x198], esi
mov edx, dword [ebp - 0x19c]
cmp dword [edx + 0x70], 0
je 0x1005c9c2
cmp dword [edx + 0x1c18], 0
jne 0x1005c9c2
mov eax, dword [ebx + 0x3a8]
cmp eax, 1
jne 0x1005c731
push 0
push 0x100b56c8
push 0x100b54cc
push 0
push ebx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
mov ecx, esi
mov dword [ebp - 0xdc], esi
mov edx, dword [esi]
call dword [edx + 0xe0]
test eax, eax
jle 0x1005c9bc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
cmp eax, 0xffffffff
je 0x1005c6c6
mov esi, dword [esi]
mov ecx, dword [ebp - 0xdc]
call dword [esi + 0x104]
mov ecx, dword [ebp - 0xdc]
push eax
call dword [esi + 0xe4]
mov esi, eax
mov dword [ebp - 0x1a8], esi
test esi, esi
je 0x1005c6c0
cmp dword [esi + 0x88], 1
jne 0x1005c6b8
xor eax, eax
mov dword [ebp - 0x10c], 0
push eax
push 0x10091b60
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
call fcn.100052a0
mov byte [ebp - 4], 5
mov eax, dword [esi + 0xc]
cmp eax, 0x17004
je 0x1005c638
cmp eax, 0x1780d
je 0x1005c638
cmp eax, 0x17008
jne 0x1005c67b
jmp 0x1005c652
mov eax, dword [ebp - 0x198]
movsd xmm0, qword [eax]
lea eax, [ebx + 0x288]
comisd xmm0, xmmword [ebp - 0x1b0]
ja 0x1005c658
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0x10c]
cmp ecx, eax
je 0x1005c67b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005c66c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.100052a0
cmp dword [ebp - 0xfc], 0
je 0x1005c69a
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x10c]
push 1
push eax
mov ecx, edi
call fcn.1005ada0
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xf8]
cmp edx, 8
jb 0x1005c9bc
mov ecx, dword [ebp - 0x10c]
jmp 0x1005c98d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp 0x1005c6d0
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
mov esi, eax
test esi, esi
js 0x1005c9bc
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x19c]
push dword [eax + 0xc]
call fcn.1005a3c0
test eax, eax
mov eax, dword [edi]
je 0x1005c722
push esi
push str._map_0:_d
push 0x100919b8
push 0
push str._map
push edi
call dword [eax + 0x24]
mov eax, dword [edi]
push 0x10095dd4
push str._c:s
push edi
call dword [eax + 0x14]
add esp, 0x24
jmp 0x1005c9bc
push 0x100a4240
mov ecx, edi
call dword [eax + 0x18]
jmp 0x1005c9bc
test eax, eax
jne 0x1005c9c2
mov eax, dword [ebx + 0x2a4]
sub eax, dword [ebx + 0x2a0]
sar eax, 2
test eax, eax
jle 0x1005c9c2
mov eax, dword [ebx + 0x284]
mov dword [ebp - 0xdc], eax
test eax, eax
js 0x1005c7b2
mov edi, dword [ebp - 0x198]
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
xor esi, esi
push ecx
mov ecx, ebx
call fcn.10015b90
mov ecx, dword [ebp - 0xdc]
cmp dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1a8]
cmove esi, eax
mov eax, dword [ebx + 0x2a4]
sub eax, dword [ebx + 0x2a0]
inc ecx
sar eax, 2
mov dword [ebp - 0x1a8], ecx
cmp ecx, eax
jl 0x1005c770
mov dword [ebp - 0x198], edi
mov edi, dword [ebp - 0x1b4]
jmp 0x1005c7b4
xor esi, esi
mov eax, dword [ebx + 0x408]
test eax, eax
je 0x1005c7d0
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1005c7d0
push eax
mov ecx, ebx
call fcn.10015b90
mov esi, eax
test esi, esi
je 0x1005c9bc
cmp dword [esi + 0x88], 0
jne 0x1005c8a8
mov eax, dword [esi + 0xc]
cmp eax, 0x17008
je 0x1005c855
cmp eax, 0x17004
je 0x1005c855
cmp eax, 0x1780d
je 0x1005c855
cmp eax, 0x17808
je 0x1005c855
mov ecx, dword [ebp - 0x19c]
push eax
call fcn.1005a3c0
test eax, eax
je 0x1005c9bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
js 0x1005c83d
mov ecx, dword [edi]
push eax
push str._map_0:_d
push 0x100919b8
push 0
push str._map
push edi
call dword [ecx + 0x24]
add esp, 0x18
mov eax, dword [edi]
push 0x10095dd4
push str._c:s
push edi
call dword [eax + 0x14]
add esp, 0xc
jmp 0x1005c9bc
lea eax, [ebx + 0x288]
push eax
lea ecx, [ebp - 0x154]
call fcn.10007640
mov byte [ebp - 4], 6
cmp dword [ebp - 0x144], 0
je 0x1005c88a
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x154]
push 1
push eax
mov ecx, edi
call fcn.1005ada0
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x140]
cmp edx, 8
jb 0x1005c9bc
mov ecx, dword [ebp - 0x154]
jmp 0x1005c98d
xor eax, eax
mov dword [ebp - 0x124], 0
push eax
push 0x10091b60
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.100052a0
mov byte [ebp - 4], 7
mov eax, dword [esi + 0xc]
cmp eax, 0x17004
je 0x1005c8fe
cmp eax, 0x1780d
je 0x1005c8fe
cmp eax, 0x17008
jne 0x1005c941
jmp 0x1005c918
mov eax, dword [ebp - 0x198]
movsd xmm0, qword [eax]
lea eax, [ebx + 0x288]
comisd xmm0, xmmword [ebp - 0x1b0]
ja 0x1005c91e
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0x124]
cmp ecx, eax
je 0x1005c941
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005c932
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x124]
call fcn.100052a0
cmp dword [ebp - 0x114], 0
je 0x1005c978
mov edx, dword [esi + 0xc]
cmp edx, 0x17004
je 0x1005c965
cmp edx, 0x1780d
je 0x1005c965
cmp edx, 0x17008
jne 0x1005c978
lea eax, [ebp - 0x124]
mov ecx, edi
push 1
push eax
call fcn.1005ada0
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x1005c9bc
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c9b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d0c2
push edx
push ecx
call fcn.1007face
add esp, 8
mov edx, dword [ebp - 0x19c]
cmp dword [ebx + 0x270], 0
je 0x1005ca95
cmp dword [edx + 0x1448], 8
lea ecx, [edx + 0x1434]
jb 0x1005c9e4
mov ecx, dword [edx + 0x1434]
cmp dword [edx + 0x1444], 3
jne 0x1005ca15
mov esi, 3
mov edx, 0x10095b60
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005ca0f
add ecx, 2
add edx, 2
sub esi, 1
jne 0x1005c9f7
jmp 0x1005ca95
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
movss xmm1, dword [0x100a6538]
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x1005ca3e
movss xmm0, dword [edx + 0x1c1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005ca95
movss xmm0, dword [edx + 0x1c1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005ca76
mov eax, dword [edi]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.volume_0.2f
push 0x100a36c8
push 1
push 0x10095e74
push edi
call dword [eax + 0x24]
add esp, 0x1c
jmp 0x1005ca95
test ecx, ecx
je 0x1005ca95
mov eax, dword [edi]
push ecx
push str.volume_ddB
push 0x100a36c8
push 1
push 0x10095e74
push edi
call dword [eax + 0x24]
add esp, 0x18
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ecx + 0x1fc]
cmp eax, 1
jle 0x1005cab7
mov dword [ecx + 0x1fc], 1
mov eax, 1
jmp 0x1005cac7
test eax, eax
jns 0x1005cac7
mov dword [ecx + 0x1fc], 0
xor eax, eax
mov esi, dword [ebp - 0x19c]
lea eax, [eax*2 + 2]
mov dword [esi + 0xd8], eax
cmp dword [ecx + 0x210], 0
jne 0x1005cb2d
push 7
xor eax, eax
mov dword [ebp - 0xf4], 0
push str.aac_low
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
call fcn.100052a0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
mov eax, 1
jmp 0x1005cb46
lea eax, [ecx + 0x200]
push eax
lea ecx, [ebp - 0x154]
call fcn.10007640
mov ecx, eax
mov eax, 2
push ecx
lea ecx, [esi + 0xdc]
mov dword [ebp - 0x198], eax
call fcn.100075b0
mov eax, dword [ebp - 0x198]
test al, 2
je 0x1005cbca
mov edx, dword [ebp - 0x140]
and eax, 0xfffffffd
mov dword [ebp - 0x198], eax
cmp edx, 8
jb 0x1005cbad
mov ecx, dword [ebp - 0x154]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005cb9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005cc07
push edx
push ecx
call fcn.1007face
mov eax, dword [ebp - 0x198]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], cx
mov dword [ebp - 4], 3
test al, 1
je 0x1005cc17
mov edx, dword [ebp - 0xe0]
cmp edx, 8
jb 0x1005cc17
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005cc0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005cc0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007face
add esp, 8
push 0
push 0x10091b60
lea ecx, [esi + 0xf4]
call fcn.100052a0
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ecx + 0x218]
dec eax
cmp eax, 4
ja case.default.0x1005cc3b
jmp dword [eax*4 + 0x1005d0fc]
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x1a0]
push dword [eax + 0x224]
lea eax, [ebp - 0xd8]
push str._aq__d
push eax
call fcn.10009aa0
lea ecx, [ebp - 0xd8]
add esp, 0x18
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005cc80
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xf4]
call fcn.100052a0
mov eax, dword [ebp - 0x1a0]
mov esi, dword [eax + 0x21c]
test esi, esi
jle 0x1005cd11
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0xd8]
push str.__mp3vol__d
push eax
call fcn.10009aa0
lea ecx, [ebp - 0xd8]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005cce3
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x19c]
push eax
lea ecx, [ecx + 0xf4]
call fcn.10016cc0
mov eax, dword [ebp - 0x1a0]
mov esi, dword [eax + 0x220]
test esi, esi
jle 0x1005cd7e
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0xd8]
push str.__compression_level__d
push eax
call fcn.10009aa0
lea edx, [ebp - 0xd8]
add esp, 0x18
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005cd50
sub edx, ecx
lea eax, [ebp - 0xd8]
mov ecx, dword [ebp - 0x19c]
sar edx, 1
push edx
push eax
lea ecx, [ecx + 0xf4]
call fcn.10016cc0
mov eax, dword [ebp - 0x1a0]
mov esi, dword [eax + 0x118]
mov eax, dword [ebp - 0x19c]
test esi, esi
jle 0x1005ce09
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0xd8]
push 0x10094a08
push eax
call fcn.10009aa0
lea edx, [ebp - 0xd8]
add esp, 0x18
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005cdc0
sub edx, ecx
lea eax, [ebp - 0xd8]
mov ecx, dword [ebp - 0x19c]
sar edx, 1
push edx
push eax
lea ecx, [ecx + 0xa8]
call fcn.100052a0
mov esi, dword [ebp - 0x1a0]
mov eax, dword [edi]
push dword [esi + 0x118]
push 0x10094a08
push str._threads
push edi
call dword [eax + 0x14]
add esp, 0x10
jmp 0x1005ce21
push 1
push 0x10095f04
lea ecx, [eax + 0xa8]
call fcn.100052a0
mov esi, dword [ebp - 0x1a0]
cmp dword [esi + 0x228], 0
je 0x1005ce44
mov eax, dword [edi]
push str.kerndeint
push 0x100a36c8
push 1
push 0x10091a90
push edi
call dword [eax + 0x24]
add esp, 0x14
cmp dword [esi + 0x22c], 0
je 0x1005ce67
mov eax, dword [edi]
push str.pullup
push 0x100a36c8
push 1
push 0x10091a90
push edi
call dword [eax + 0x24]
add esp, 0x14
mov ecx, ebx
call fcn.100159b0
mov ebx, eax
test ebx, ebx
jne 0x1005cec1
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x3a8]
cmp ecx, 1
jne 0x1005ce8d
push ebx
push 0x100b56c8
jmp 0x1005ce9d
cmp ecx, 3
jne 0x1005d044
push 0
push 0x100b556c
push 0x100b54cc
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xbc]
mov ebx, eax
test ebx, ebx
je 0x1005d044
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1005ced1
mov ecx, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x1005cf5c
mov esi, 4
mov edx, str.HDMV
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005cf5c
add ecx, 2
add edx, 2
sub esi, 1
jne 0x1005cee5
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
fstp qword [ebp - 0x1c0]
movsd xmm0, qword [ebp - 0x1c0]
comisd xmm0, xmmword [ebp - 0x1b0]
jbe 0x1005cf5c
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
movsd xmm0, qword [0x100a6648]
fstp qword [ebp - 0x1b0]
comisd xmm0, xmmword [ebp - 0x1b0]
jbe 0x1005cf5c
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
mov eax, dword [eax + 8]
call eax
sub esp, 8
fstp qword [esp]
push str._.3f
push 0x100a456c
push edi
call dword [esi + 0x14]
add esp, 0x14
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0xf4]
add eax, 0x144
push eax
call fcn.10007640
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xe4]
setae dl
cmovae ecx, ebx
mov byte [ebp - 0x1a1], dl
cmp eax, 4
jne 0x1005cfc9
mov esi, eax
mov edx, str.x264
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005cfbd
add ecx, 2
add edx, 2
sub esi, 1
jne 0x1005cfa8
jmp 0x1005cff3
mov eax, dword [ebp - 0xe4]
mov dl, byte [ebp - 0x1a1]
test dl, dl
lea ecx, [ebp - 0xf4]
cmovne ecx, ebx
cmp eax, 0xa
jne 0x1005d006
mov esi, eax
mov edx, str.mpeg2video
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005d006
add ecx, 2
add edx, 2
sub esi, 1
jne 0x1005cfe0
mov eax, dword [edi]
push str.yuv420p
push str._pix_fmt
push edi
call dword [eax + 0x14]
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
cmp eax, 8
jb 0x1005d044
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1005d03a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d0c2
push ecx
push ebx
call fcn.1007face
add esp, 8
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
add ecx, 0x1c28
cmp dword [eax + 0x254], 0
je 0x1005d078
add eax, 0x244
cmp ecx, eax
je 0x1005d084
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1005d072
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
jmp 0x1005d07f
push 0
push 0x10091b60
call fcn.100052a0
mov eax, dword [edi]
mov ecx, edi
push 0x10094a28
call dword [eax + 0x18]
mov eax, dword [ebp - 0x128]
cmp eax, 8
jb 0x1005d0d2
mov edx, dword [ebp - 0x13c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d0c8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005d0c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007face
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100045d0
nop
inc edx
int3