Function at 0x477734
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
mov eax, 0x75bb64
call fcn.0066ce04
mov edx, dword [ebp + 8]
test edx, edx
jne 0x477760
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x477957
mov edx, dword [ebp + 8]
add edx, 0x23c
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x47778b
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x477957
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x34], ecx
jmp 0x477908
mov word [ebp - 0x1c], 8
mov eax, dword [ebp + 8]
add eax, 0x23c
mov dword [ebp - 0x50], eax
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 4]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4777d8
mov edx, dword [ebp - 4]
jmp 0x4777dd
mov edx, 0x75b309
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0066c9ec
add esp, 8
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0067d0a0
movsx ecx, byte [ebp - 0x158]
push ecx
push 0x75b30a
lea eax, [ebp - 0x16c]
push eax
call fcn.00670e94
add esp, 0xc
mov dl, byte [ebp - 0x158]
mov byte [ebp - 0x2d], dl
mov cl, byte [ebp - 0x2d]
cmp cl, 0x61
jb 0x477835
mov al, byte [ebp - 0x2d]
cmp al, 0x7a
ja 0x477835
add byte [ebp - 0x2d], 0xe0
xor edx, edx
mov dl, byte [ebp - 0x2d]
movsx ecx, byte [ebp + 0xc]
cmp edx, ecx
jne 0x477905
mov byte [ebp - 0x270], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47787a
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0x104
lea eax, [ebp - 0x270]
push eax
lea edx, [ebp - 0x16c]
push edx
call sub.KERNEL32.DLL_GetVolumeInformationA
mov cl, byte [ebp - 0x270]
test cl, cl
je 0x4778a7
lea eax, [ebp - 0x270]
push eax
xor edx, edx
mov dl, byte [ebp - 0x2d]
push edx
push 0x75b30f
lea ecx, [ebp - 0x158]
push ecx
call fcn.00670e94
add esp, 0x10
jmp 0x4778c1
xor eax, eax
mov al, byte [ebp - 0x2d]
push eax
push 0x75b315
lea edx, [ebp - 0x158]
push edx
call fcn.00670e94
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x23c
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x1c], 0x14
lea edx, [ebp - 0x158]
lea eax, [ebp - 8]
call fcn.0067ceb4
inc dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x20]
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0067d0a0
jmp 0x477929
inc dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
add ecx, 0x23c
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x34]
cmp eax, ecx
jg 0x4777a3
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
cmp eax, edx
jne 0x47794d
xor edx, edx
mov eax, dword [sym.UltraISO.exe__frmCDISO]
call fcn.004774e4
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret