Function at 0x458040
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x12fc
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x12f8], eax
push ebp
mov ebp, dword [esp + 0x1304]
push esi
push ebp
call fcn.00457de0
mov eax, dword [ebp + 0x19c]
add esp, 4
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 0x6e4], 0xffffffff
jne 0x45808a
mov dword [esp + 8], 0xfffffffe
push ebx
push edi
lea ecx, [esp + 0x2c8]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x1c0]
imul eax, eax, 0x7ec
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [eax + 0x4fd29c]
lea edx, [esp + 0x20]
push edx
push ecx
call fcn.00434a30
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4589c4
push eax
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xb14]
push eax
lea ecx, [esp + 0x2b8]
push ecx
lea edx, [esp + 0x8c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [ebp + 0x1c0]
imul ecx, ecx, 0x7ec
lea edx, [esp + 0x80]
push edx
mov edx, dword [ecx + 0x4fd29c]
lea eax, [esp + 0x58]
push eax
push edx
call fcn.00438590
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4589c4
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1a0]
imul eax, eax, 0x7ec
add eax, 0x4fd318
push eax
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
test dword [esp + 0x10], 0x1ffc0
mov dword [esp + 0x88], 4
mov dword [esp + 0x94], str.Zone
jne 0x458184
mov dword [esp + 0x94], str.Track
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x88]
push edx
push 0
push 0x101a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jle 0x45874b
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [ebp + 0x1c0]
imul edx, edx, 0x7ec
lea ecx, [esp + 0x28]
push ecx
push eax
mov eax, dword [edx + 0x4fd29c]
push eax
call fcn.0043a0d0
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4589c4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx]
cmp eax, edx
mov ebx, eax
jge 0x458736
lea ecx, [ecx]
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x6f0]
mov esi, edx
imul esi, esi, 0x1fb
mov ecx, edx
imul ecx, ecx, 0x1fb
add esi, ebx
lea esi, [esi*4 + 0x4fd3f4]
push esi
add ecx, ebx
add ecx, ecx
lea esi, [esp + 0x30c]
push esi
mov esi, eax
add ecx, ecx
neg esi
sbb esi, esi
lea edi, [esp + 0x2f0]
and esi, edi
push esi
neg eax
sbb eax, eax
imul edx, edx, 0x7ec
mov edx, dword [edx + 0x4fd29c]
lea esi, [esp + 0x78]
and eax, esi
push eax
lea eax, [ecx + 0x4fd70c]
push eax
lea ecx, [ecx + 0x4fd580]
push ecx
push ebx
push edx
call fcn.0043a220
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4589c4
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c0]
imul eax, eax, 0x1fb
add eax, ebx
test dword [eax*4 + 0x4fd3f4], 0x1000
mov esi, 0xb
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
jne 0x4582c8
lea ecx, [ebx + 1]
push ecx
lea edx, [esp + 0xac]
push str.__02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4582d2
mov word [esp + 0xa8], 0x20
mov ecx, dword [ebp + 0x1c0]
imul ecx, ecx, 0x1fb
lea eax, [esp + 0xa8]
add ecx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [ecx*4 + 0x4fd3f4]
test eax, 0x1000
je 0x4582ff
mov dword [esp + 0x48], esi
jmp 0x45834c
test dword [esp + 0x10], 0x1ffc0
je 0x458313
mov dword [esp + 0x48], 0xf
jmp 0x45834c
test eax, 0x2000
je 0x458329
add dword [esp + 0x18], 1
mov dword [esp + 0x48], 0xc
jmp 0x45834c
test eax, 0x4000
je 0x45833a
mov dword [esp + 0x48], 0xd
jmp 0x45834c
and eax, 0x8000
neg eax
sbb eax, eax
and eax, 3
add eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x1c0]
imul ecx, ecx, 0x1fb
add ecx, ebx
mov edi, dword [ecx*4 + 0x4fd3f4]
test edi, 0x1000
mov eax, 1
mov dword [esp + 0x2c], eax
jne 0x458704
test dword [esp + 0x10], 0x1ffc0
mov dword [esp + 0x34], eax
mov byte [esp + 0xa8], 0
je 0x4583e9
test edi, 0x4000
je 0x4585cf
lea eax, [esp + 0xa8]
add eax, 0xffffffff
jmp 0x4583c0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4583c0
mov edx, dword [str.DVD_Zone]
mov ecx, dword [0x49e854]
mov dword [eax], edx
mov dl, byte [0x49e858]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
jmp 0x4585cf
lea eax, [esp + 0xa8]
add eax, 0xffffffff
test edi, 0x2000
je 0x45841f
jmp 0x458400
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458400
mov ecx, dword [str.Audio]
mov dx, word [0x49e840]
mov dword [eax], ecx
mov word [eax + 4], dx
jmp 0x45848e
test edi, 0x4000
je 0x458433
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458427
jmp 0x458472
test edi, 0x8000
je 0x458468
jmp 0x458440
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458440
mov edx, dword [str.Mode_2_XA]
mov ecx, dword [0x49e834]
mov dword [eax], edx
mov dx, word [0x49e838]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
jmp 0x45848e
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458468
mov ecx, dword [str.Mode_1]
mov dx, word [0x49e82c]
mov dword [eax], ecx
mov cl, byte [0x49e82e]
mov word [eax + 4], dx
mov byte [eax + 6], cl
test edi, 0x10000
mov dl, byte [0x49e6ce]
mov si, word [0x49e6cc]
je 0x458508
lea eax, [esp + 0xa8]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4584b0
mov word [eax], si
mov byte [eax + 2], dl
lea eax, [esp + 0xa8]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4584d0
mov ecx, dword [str.Packet_Writing]
mov dword [eax], ecx
mov ecx, dword [0x49e81c]
mov dword [eax + 4], ecx
mov ecx, dword [0x49e820]
mov dword [eax + 8], ecx
mov cx, word [0x49e824]
mov word [eax + 0xc], cx
mov cl, byte [0x49e826]
mov byte [eax + 0xe], cl
test edi, 0x20000
je 0x45856d
lea eax, [esp + 0xa8]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458520
mov word [eax], si
mov byte [eax + 2], dl
lea eax, [esp + 0xa8]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458540
mov ecx, dword [str.Pre_emphasis]
mov dword [eax], ecx
mov ecx, dword [0x49e600]
mov dword [eax + 4], ecx
mov ecx, dword [0x49e604]
mov dword [eax + 8], ecx
mov cl, byte [0x49e608]
mov byte [eax + 0xc], cl
test edi, 0x40000
je 0x4585cf
lea eax, [esp + 0xa8]
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x458580
mov word [eax], si
push 0xd7
mov byte [eax + 2], dl
call fcn.0046d6b0
add esp, 4
mov ecx, eax
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4585a0
lea edi, [esp + 0xa8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4585b7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x19c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1006
lea edx, [esp + 0xb4]
push ecx
mov dword [esp + 0x50], edx
call esi
mov eax, dword [ebp + 0x1c0]
mov edx, dword [0x50a360]
imul eax, eax, 0x1fb
add eax, ebx
add eax, eax
add eax, eax
mov edi, 0x2000
test dword [eax + 0x4fd3f4], edi
mov eax, dword [eax + 0x4fd70c]
push edx
lea ecx, [esp + 0xac]
push eax
mov dword [esp + 0x3c], 2
push ecx
je 0x458639
call fcn.0046ee70
jmp 0x45863e
call fcn.00471a00
mov ecx, dword [ebp + 0x19c]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1006
lea edx, [esp + 0xb4]
push ecx
mov dword [esp + 0x50], edx
call esi
test byte [esp + 0x10], 7
je 0x4586a1
mov edx, dword [ebp + 0x1c0]
imul edx, edx, 0x1fb
add edx, ebx
test dword [edx*4 + 0x4fd3f4], edi
je 0x4586a1
lea eax, [esp + 0x308]
push eax
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.0046f0a0
add esp, 0xc
jmp 0x4586b4
mov eax, 0x612f6e
mov dword [esp + 0xa8], eax
mov dword [esp + 0x1a8], eax
mov edx, dword [ebp + 0x19c]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x1006
lea eax, [esp + 0xb4]
push edx
mov dword [esp + 0x44], 3
mov dword [esp + 0x50], eax
call esi
mov edx, dword [ebp + 0x19c]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x1006
lea eax, [esp + 0x1b4]
push edx
mov dword [esp + 0x44], 4
mov dword [esp + 0x50], eax
call esi
cmp dword [ebp + 0x6f0], 0
je 0x458721
mov eax, dword [ebp + 0x19c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00432430
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ebx, 1
add ecx, edx
cmp ebx, ecx
jl 0x458200
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x4581b4
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x2c]
xor eax, eax
test edi, edi
setg al
mov esi, eax
push esi
push 0
push 0x9cd1
push ecx
call fcn.00474dc0
mov edx, dword [ebp + 0x2c]
push esi
push 0
push 0x9cba
push edx
call fcn.00474dc0
mov eax, dword [ebp + 0x184]
mov ecx, dword [ebp + 0x2c]
push esi
push eax
push 0x9ca4
push ecx
call fcn.00474dc0
mov edx, dword [ebp + 0x184]
mov eax, dword [ebp + 0x2c]
push esi
push edx
push 0x9ca5
push eax
call fcn.00474dc0
mov ecx, dword [ebp + 0x2c]
add esp, 0x40
push esi
push 0
push 0x9ca6
push ecx
call fcn.00474dc0
add esp, 0x10
test edi, edi
jle 0x4587d2
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
test eax, eax
jbe 0x4587d2
mov eax, 1
jmp 0x4587d4
xor eax, eax
mov edx, dword [ebp + 0x188]
push eax
push edx
push 0x136
push 0
call fcn.00474dc0
mov eax, dword [ebp + 0x1a0]
push esi
push 0x4ee
push eax
call fcn.00474330
add esp, 0x1c
test edi, edi
jle 0x458839
mov ecx, dword [ebp + 0x1a0]
push 0x403
push ecx
call fcn.004742b0
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x1a0]
imul edx, edx, 0x7ec
add edx, 0x4fd898
push edx
push 0x403
push eax
call fcn.00462020
add esp, 0x14
test byte [esp + 0x10], 7
je 0x458991
cmp dword [esp + 0x54], 0
jle 0x458991
mov ecx, dword [ebp + 0x1c0]
imul ecx, ecx, 0x7ec
test dword [ecx + 0x4fd3f4], 0x2000
je 0x458991
lea edx, [esp + 0xb08]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1b0]
push ecx
call fcn.0046f0a0
add esp, 0xc
cmp byte [esp + 0xa8], 0
jne 0x45899c
mov eax, dword [ebp + 0x1c0]
imul eax, eax, 0x7ec
lea eax, [eax + 0x4fd1b8]
lea edx, [esp + 0x1a8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4588b4
lea edx, [esp + 0x1a8]
push edx
call fcn.00475fa0
add esp, 4
push 0
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x100
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x1c4]
push ecx
mov byte [esp + 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0x5c]
movzx edx, ax
push edx
shr eax, 0x10
push eax
lea eax, [esp + 0x1b0]
push str._04X__04X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp byte [esp + 0xa8], 0
je 0x458954
lea edi, [esp + 0xa8]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x458940
mov cx, word [0x49e870]
mov word [edi], cx
lea eax, [esp + 0x1a8]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x458960
lea edi, [esp + 0xa8]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x458975
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x45899c
mov dword [esp + 0xa8], 0x612f6e
mov eax, dword [ebp + 0x1a0]
lea edx, [esp + 0xa8]
push edx
push 0x4ee
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [esp + 0x58], 0
jne 0x4589c4
mov eax, 1
jmp 0x4589c6
xor eax, eax
mov edx, dword [ebp + 0x19c]
xor ecx, ecx
test eax, eax
setne cl
add ecx, 0xfffe
push ecx
push 1
push 0x101e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x14]
test esi, esi
pop edi
pop ebx
je 0x458a21
mov eax, dword [ebp + 0x1c0]
imul eax, eax, 0x7ec
mov ecx, dword [eax + 0x4fd29c]
push esi
push ecx
call fcn.0046de30
mov edx, dword [ebp + 0x1a0]
add esp, 8
push eax
push 0x417
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esp + 0x1300]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.004810ab
add esp, 0x12fc
ret