Function at 0x475d6c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4760c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
push 0x20
lea eax, [ebp - 0x61]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x105
lea eax, [ebp - 0x82]
push eax
lea eax, [ebp - 0x88]
mov edx, ebx
call fcn.00404968
lea eax, [ebp - 0x88]
mov edx, 0x4760e0
call fcn.00404a48
mov eax, dword [ebp - 0x88]
call fcn.00404c40
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x475e25
mov eax, edi
mov edx, 0x4760ec
call fcn.004047d4
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x82]
call fcn.0040960c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.004047d4
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x90]
mov eax, 8
call fcn.00408b48
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 8]
call fcn.004047d4
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x61]
call fcn.0040960c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 0x14]
call fcn.004047d4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
mov edx, ebx
call fcn.00404968
lea eax, [ebp - 0x98]
mov edx, 0x4760e0
call fcn.00404a48
mov eax, dword [ebp - 0x98]
call fcn.00404c40
push eax
mov eax, dword [0x489b18]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x475ed3
mov eax, edi
mov edx, 0x47610c
call fcn.00404a48
push esi
call sub.kernel32.dll_SetErrorMode
cmp dword [ebp - 0x24], 0
jne 0x475eea
cmp dword [ebp - 0x28], 0x3e8
jae 0x475f15
jmp 0x475eec
jge 0x475f15
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x9c]
call fcn.00408af8
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 0x10]
mov ecx, 0x476128
call fcn.00404a8c
jmp 0x47603f
cmp dword [ebp - 0x24], 0
jne 0x475f26
cmp dword [ebp - 0x28], 0xf4240
jae 0x475f74
jmp 0x475f28
jge 0x475f74
fild qword [ebp - 0x28]
fdiv dword [0x476130]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x47613c
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
jmp 0x47603f
cmp dword [ebp - 0x24], 0
jne 0x475f85
cmp dword [ebp - 0x28], 0x3b9aca00
jae 0x475fd6
jmp 0x475f87
jge 0x475fd6
fild qword [ebp - 0x28]
fdiv dword [0x476130]
fdiv dword [0x476130]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x476148
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
jmp 0x47603f
cmp dword [ebp - 0x24], 0xe8
jne 0x475fea
cmp dword [ebp - 0x28], 0xd4a51000
jae 0x47603f
jmp 0x475fec
jge 0x47603f
fild qword [ebp - 0x28]
fdiv dword [0x476130]
fdiv dword [0x476130]
fdiv dword [0x476130]
fstp qword [ebp - 0x40]
wait
fld qword [ebp - 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x19c]
mov edx, 2
xor eax, eax
call fcn.004033c8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x34]
call fcn.004049e4
mov eax, dword [ebp + 0x10]
mov ecx, 0x476154
mov edx, dword [ebp - 0x34]
call fcn.00404a8c
fild qword [ebp - 0x30]
fdiv dword [0x476130]
fdiv dword [0x476130]
fdiv dword [0x476130]
fmul dword [0x476158]
call fcn.00402adc
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
fild qword [ebp - 0x1a8]
fdiv dword [0x476158]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x1a0]
call fcn.0040a228
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp + 0xc]
call fcn.004047d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4760cf
lea eax, [ebp - 0x1a0]
call fcn.00404780
lea eax, [ebp - 0x9c]
mov edx, 6
call fcn.004047a4
lea eax, [ebp - 0x34]
call fcn.00404780
ret