Function at 0x4b13d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b17f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0x74
mov dword [ebp - 8], 0x26
mov dword [ebp - 4], 0x18e
mov eax, esi
call fcn.004b1384
mov bl, 0x41
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404e80
lea eax, [ebp - 0x14]
mov edx, 0x4b1810
call fcn.00404f60
mov eax, dword [ebp - 0x14]
call fcn.00405158
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x4b161f
lea eax, [ebp - 0x1c]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
call fcn.004031a4
mov edx, 0x4b1814
lea eax, [ebp - 0x20]
mov cl, 2
call fcn.00403174
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.00404efc
mov eax, dword [ebp - 0x18]
call fcn.004b0c7c
mov eax, dword [esi + 0x310]
call fcn.00405f14
add eax, 2
push eax
lea eax, [esi + 0x310]
mov ecx, 1
mov edx, dword [0x4b0a14]
call fcn.004060c8
add esp, 4
mov ecx, esi
mov dl, 1
mov eax, dword [0x4ad244]
call fcn.004ad58c
mov edi, eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov edx, esi
call fcn.004b10a4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x84]
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.00404e80
push dword [ebp - 0x28]
push 0x4b1820
fld qword [0x4d8d24]
fdiv dword [0x4b1828]
fdiv dword [0x4b1828]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x2c]
mov eax, 0x4b1834
call fcn.0040af00
push dword [ebp - 0x2c]
push 0x4b1844
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405018
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
pop edx
call fcn.004ad86c
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xd4], esi
mov dword [eax + 0xd0], 0x4b1218
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xe4], esi
mov dword [eax + 0xe0], 0x4b124c
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
add eax, 0xc
push eax
mov eax, esi
call fcn.004b1860
pop edx
mov dword [edx], eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
add eax, 0x188
push eax
fld qword [0x4d8d24]
call fcn.00402c64
pop ecx
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0xa
add dword [ebp - 0x10], eax
inc ebx
cmp bl, 0x5b
jne 0x4b141f
mov eax, dword [esi + 0x310]
call fcn.00405f14
add eax, 2
push eax
lea eax, [esi + 0x310]
mov ecx, 1
mov edx, dword [0x4b0a14]
call fcn.004060c8
add esp, 4
mov ecx, esi
mov dl, 1
mov eax, dword [0x4ad244]
call fcn.004ad58c
mov ebx, eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov dword [edx + eax*4], ebx
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov edx, esi
call fcn.004b10a4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov edx, dword [0x4d7400]
mov edx, dword [edx]
call fcn.004ad86c
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xd4], esi
mov dword [eax + 0xd0], 0x4b1218
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xe4], esi
mov dword [eax + 0xe0], 0x4b124c
mov eax, dword [esi + 0x310]
call fcn.00405f14
mov edx, dword [esi + 0x310]
mov eax, dword [edx + eax*4]
add eax, 0xc
push eax
mov eax, esi
call fcn.004b1860
pop edx
mov dword [edx], eax
mov eax, esi
call fcn.004b1860
mov ebx, eax
imul ebx, dword [ebp - 8]
add ebx, 0x1e
mov eax, esi
call fcn.004b1860
dec eax
add eax, eax
lea eax, [eax + eax*4]
add ebx, eax
mov edx, ebx
mov eax, dword [esi + 0x16c]
add eax, eax
add edx, eax
add edx, 0x67
mov eax, esi
call fcn.0044cedc
mov eax, esi
call fcn.004b1860
cmp eax, dword [esi + 0x308]
jl 0x4b179b
cmp dword [esi + 0x308], 1
jl 0x4b179b
cmp dword [esi + 0x308], 0xffffffff
jne 0x4b17a5
mov dword [esi + 0x30c], 1
mov eax, esi
call fcn.004b11c4
push 0xffffffffffffffff
push 0xb
push 0xb
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
call sub.gdi32.dll_CreateRoundRectRgn
push eax
mov eax, esi
call fcn.00453ef4
push eax
call sub.user32.dll_SetWindowRgn
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1800
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404cbc
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404cbc
ret