Function at 0x433dac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476aa5
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00461d80
mov eax, dword [0x49dd70]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1030], ebx
push 3
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 0x1024], ebx
call fcn.0040ce36
mov edi, 0x1000
push edi
lea eax, [ebp - 0x1010]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x1011], 1
call fcn.00461d00
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, dword [esi + 8]
jl 0x433e38
push eax
mov ecx, esi
call fcn.0040ce36
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x1010]
push ecx
push eax
call fcn.00438cb7
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1034]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x433e6c
mov byte [ebp - 0x1011], bl
push dword [esi]
call fcn.0040d646
push 3
pop edi
cmp eax, edi
jne 0x433e9b
cmp dword [ebp - 0x1028], ebx
jne 0x433f45
push str._g0W
lea ecx, [ebp - 0x102c]
call fcn.0040e692
jmp 0x433f45
push dword [esi]
call fcn.0040d646
cmp eax, 5
jne 0x433ed8
push edi
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
call fcn.0040ce36
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1028], ebx
jne 0x433f36
push str.DVD_RAM
jmp 0x433f2b
push dword [esi]
call fcn.0040d646
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
push edi
lea ecx, [ebp - 0x1020]
cmp eax, 2
jne 0x433f15
call fcn.0040ce36
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1028], ebx
jne 0x433f36
push 0x47f4e0
jmp 0x433f2b
call fcn.0040ce36
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1028], ebx
jne 0x433f36
push 0x47f4d8
lea ecx, [ebp - 0x102c]
call fcn.0040e692
push dword [ebp - 0x1020]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
cmp dword [esi + 4], ebx
je 0x433f7c
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x1020]
push eax
mov ecx, esi
call fcn.004180a0
push 0x47e500
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1030], edi
call fcn.00411e8f
mov byte [ebp - 0x1012], 1
test al, al
jne 0x433f82
mov byte [ebp - 0x1012], bl
test byte [ebp - 0x1030], 1
mov dword [ebp - 4], ebx
je 0x433f9a
push dword [ebp - 0x1020]
call fcn.0044c2e3
pop ecx
cmp byte [ebp - 0x1012], bl
je 0x433fd0
mov eax, dword [esi + 4]
dec eax
push eax
lea eax, [ebp - 0x1020]
push eax
mov ecx, esi
call fcn.0040dd72
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040d2a6
push dword [ebp - 0x1020]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
push 0x47faa4
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x104c]
push eax
call fcn.0040d606
push esi
push eax
lea eax, [ebp - 0x1040]
push eax
mov byte [ebp - 4], 6
call fcn.0040d5c6
push 0x47f4d0
push eax
lea eax, [ebp - 0x1020]
push eax
mov byte [ebp - 4], 7
call fcn.0040d606
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0040d2a6
push dword [ebp - 0x1020]
call fcn.0044c2e3
push dword [ebp - 0x1040]
call fcn.0044c2e3
push dword [ebp - 0x104c]
call fcn.0044c2e3
push dword [ebp - 0x102c]
call fcn.0044c2e3
mov al, byte [ebp - 0x1011]
add esp, 0x10
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.00460f48
leave
ret 4