Function at 0x57f9ad
Capabilities:
Get disk information
Print debug messages

Disassembly:
push 0x54
mov eax, 0x60a938
call fcn.004db48b
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
sub eax, 0x8000
je 0x57faf4
sub eax, 4
jne 0x5800d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 2
jne 0x5800d6
cmp word [eax + 0x10], bx
jne 0x5800d6
cmp dword [edi + 0x6b0], ebx
jbe 0x5800d6
push dword [eax + 0xc]
call fcn.0058019c
lea ebx, [edi + 0x6ac]
movzx esi, ax
push ecx
mov ecx, ebx
call fcn.0044bf3b
cmp word [eax], si
jne 0x5800d6
call fcn.00447deb
push ecx
push ecx
mov ecx, ebx
call fcn.0044c0a8
lea ecx, [edi + 0x6f8]
call fcn.0040d291
lea ecx, [ebp - 0x60]
call fcn.00427084
mov dword [ebp - 4], 7
lea esi, [edi + 0x69c]
mov eax, dword [edi + 0x6a0]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0x10], esi
test eax, eax
jle 0x57faac
mov edi, esi
push ebx
mov ecx, edi
call fcn.0042b614
mov esi, dword [eax]
mov dword [ebp + 0xc], esi
test esi, esi
je 0x57fa76
lock inc dword [esi + 4]
mov byte [ebp - 4], 8
test esi, esi
je 0x57fa91
and dword [esi + 0xc0], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042b636
mov byte [ebp - 4], 7
test esi, esi
je 0x57faa0
mov ecx, esi
call fcn.00416ed3
inc ebx
cmp ebx, dword [ebp - 0x2c]
jl 0x57fa61
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp + 0x10]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
push eax
push 0x800
push dword [0x674760]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x250]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x57fae7
push 1
mov ecx, edi
call fcn.0057e13b
push ecx
push 0
mov ecx, esi
call fcn.0042c19c
lea ecx, [ebp - 0x50]
call fcn.0041d45d
jmp 0x5800d6
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 4], 5
jne 0x57ff4f
call fcn.0040a9ed
test eax, eax
je 0x5800d6
cmp dword [ecx], ebx
jbe 0x5800d6
lea eax, [ecx + 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d2ee
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ebx
call fcn.0040f41c
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x57fb3b
push esi
call fcn.00523a9a
pop ecx
push ecx
push 0x6396a0
lea ecx, [ebp + 0xc]
call fcn.0040cf21
mov edi, eax
cmp edi, 0xffffffff
je 0x57ff41
push ecx
push 0x6396b0
lea ecx, [ebp + 0xc]
call fcn.0040cf21
cmp eax, 0xffffffff
je 0x57ff41
mov eax, dword [esi - 8]
lea ecx, [edi + 4]
sub eax, ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00413ea7
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d242
mov ecx, dword [ebp + 0x10]
mov ebx, 0x668010
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fba1
call fcn.00407965
xor edi, edi
lea ecx, [ebp + 0xc]
push edi
push 0x23
call fcn.00434a69
mov esi, eax
cmp esi, 0xffffffff
jne 0x57fbc0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
jmp 0x5800cd
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d197
mov byte [ebp - 4], 1
lea ecx, [esi + 1]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
sub eax, ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00413ea7
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d242
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fc05
call fcn.00407965
push edi
push 0x23
lea ecx, [ebp + 0xc]
call fcn.00434a69
cmp eax, 0xffffffff
jne 0x57fc26
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fbb5
call fcn.00407965
jmp 0x57fbb5
push eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d197
push edi
push 0x26
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00434a69
cmp eax, 0xffffffff
jne 0x57ff29
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push edi
call fcn.00407a7f
pop ecx
mov esi, str.NO_
mov byte [ebp - 4], 3
push esi
call fcn.00505070
pop ecx
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0042aaaa
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.00407a7f
pop ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push eax
push dword [eax - 8]
call fcn.0042aaaa
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fc9e
call fcn.00407965
mov ecx, dword [0x6731ec]
lea edx, [ebp - 0x18]
and dword [ebp - 0x18], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x57fe8e
cmp dword [ebp - 0x18], 0
je 0x57fe8e
push dword [ebp - 0x18]
call fcn.00505070
pop ecx
test eax, eax
je 0x57fe8e
mov esi, dword [ebp - 0x18]
mov eax, dword [0x668294]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x57fd0d
push esi
call fcn.00505070
mov edi, eax
pop ecx
test edi, edi
je 0x57fd0a
push edi
lea ecx, [ebp - 0x10]
call fcn.0040f2af
test al, al
je 0x57fd0a
push edi
push esi
push dword [ebp - 0x10]
call fcn.004dd610
add esp, 0xc
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 0x63969c
push esi
call fcn.00505070
pop ecx
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042aaaa
lea ecx, [ebp + 0x10]
call fcn.0040f41c
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x57fe6b
push edi
call fcn.00523a9a
pop ecx
jmp 0x57fe6b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x57fe7f
push ecx
push 0x7c
lea ecx, [ebp - 0x10]
call fcn.00449df1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004395d7
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040cd8e
lea ecx, [ebp - 0x24]
call fcn.0040f2d3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x57fd90
push esi
call fcn.00516d3c
pop ecx
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.0051655c
pop ecx
pop ecx
test eax, eax
je 0x57fdc4
push 0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.00407a7f
or dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x24]
push dword [eax]
call fcn.0042e41d
mov byte [ebp + 0x13], 1
cmp eax, 0xffffffff
jne 0x57fdc8
mov byte [ebp + 0x13], 0
mov eax, dword [ebp - 0x1c]
test al, 1
je 0x57fde4
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffe
add ecx, 0xfffffff4
mov dword [ebp - 0x1c], eax
cmp ecx, ebx
je 0x57fde4
call fcn.00407965
cmp byte [ebp + 0x13], 0
je 0x57fe13
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.00449db7
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push eax
push dword [eax - 8]
call fcn.0042aaaa
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fe13
call fcn.00407965
push ecx
push 0x7c
lea ecx, [ebp - 0x10]
call fcn.00449df1
mov ecx, dword [ebp - 0x10]
inc eax
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00439672
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cd2a
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fe50
call fcn.00407965
lea ecx, [esi - 0xc]
cmp ecx, ebx
je 0x57fe5c
call fcn.00407965
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fe6b
call fcn.00407965
push ecx
push 0x7c
lea ecx, [ebp - 0x10]
call fcn.00449df1
cmp eax, 0xffffffff
jne 0x57fd49
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fe8e
call fcn.00407965
lea ecx, [ebp - 0x14]
call fcn.00543d50
push str.xfy_debug_
lea ecx, [ebp - 0x2c]
call fcn.0040d2ee
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push 0
call fcn.00407b07
pop ecx
mov ecx, dword [0x668294]
mov dword [ebp + 0x10], ecx
lea ecx, [ebp + 0x10]
mov eax, dword [eax]
push eax
push dword [eax - 8]
mov eax, dword [ebp - 0x2c]
push eax
push dword [eax - 8]
call fcn.0040f4c7
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0xc]
cmp ecx, ebx
je 0x57fee5
call fcn.00407965
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57fef4
call fcn.00407965
xor eax, eax
push eax
push eax
push 0x805
push dword [0x674760]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57ff18
call fcn.00407965
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x57ff2c
call fcn.00407965
jmp 0x57ff2c
mov edi, dword [ebp + 0x10]
lea ecx, [edi - 0xc]
cmp ecx, ebx
je 0x57fc15
call fcn.00407965
jmp 0x57fc15
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
jmp 0x5800cf
cmp dword [ecx + 4], 2
jne 0x5800d6
cmp word [ecx + 0x10], bx
jne 0x5800d6
cmp dword [edi + 0x6b0], ebx
ja 0x5800d6
push dword [ecx + 0xc]
call fcn.0058019c
movzx ecx, ax
mov eax, dword [0x668294]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
movzx eax, cx
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 4
push str._c:_
push eax
call fcn.0040cefd
mov esi, dword [ebp + 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, 0x668010
cmp eax, 2
jne 0x5800ca
push dword [ebp + 0xc]
lea ecx, [edi + 0x6ac]
call fcn.0044bf51
cmp dword [edi + 0x6b0], 1
jne 0x5800ca
cmp dword [0x67380c], 0
jne 0x58008a
mov edi, dword [0x668294]
mov dword [ebp - 0x2c], edi
cmp dword [0x67366c], 0
jne 0x580077
push 0xea69
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
call fcn.0041129f
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0040cefd
pop ecx
pop ecx
lea ecx, [esi - 0xc]
cmp ecx, ebx
je 0x580023
call fcn.00407965
mov eax, dword [0x668294]
push 0x8ca7
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0041129f
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
push dword [eax + 4]
push ecx
push ecx
push edi
push esi
lea ecx, [ebp - 0x60]
call fcn.00447d33
lea ecx, [esi - 0xc]
mov byte [ebp - 4], 6
cmp ecx, ebx
je 0x580064
call fcn.00407965
lea ecx, [ebp - 0x60]
call fcn.00447d80
lea ecx, [ebp - 0x60]
call fcn.00448e94
mov esi, dword [ebp + 0x10]
lea ecx, [edi - 0xc]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x580087
call fcn.00407965
mov edi, dword [ebp - 0x20]
push ecx
lea ecx, [edi + 0x6ac]
call fcn.0044bf3b
push str.TTPlayer
movzx eax, word [eax]
push eax
lea eax, [edi + 0x6f8]
push str._c:_s_
push eax
call fcn.0040cefd
add esp, 0x10
mov ecx, edi
push 3
call fcn.0057e13b
push 1
xor eax, eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi - 0xc]
cmp ecx, ebx
je 0x5800d6
call fcn.00407965
xor eax, eax
call fcn.004db459
ret 0x10