Function at 0x482768
Capabilities:
Check for time delay via gettickcount
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x482771
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482a39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404be8
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4827cf
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x482a50
call fcn.00404ef4
mov eax, dword [ebp - 0x2c]
call fcn.00409c5c
test al, al
jne 0x482924
xor edx, edx
push ebp
push 0x48290e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404be8
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
call fcn.00481140
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4828bb
inc ebx
xor esi, esi
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x482a70
mov eax, dword [ebp - 0x24]
call fcn.004090dc
test al, al
jne 0x4828b3
mov edx, 0x482a7c
mov eax, dword [ebp - 0x24]
call fcn.004090dc
test al, al
jne 0x4828b3
mov eax, dword [ebp - 0x24]
call fcn.00481200
test al, al
je 0x4828b3
mov eax, dword [ebp - 0x24]
call fcn.004050a8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4828b3
lea eax, [ebp - 0x30]
mov ecx, 0x482a88
mov edx, dword [ebp - 0x24]
call fcn.00404ef4
mov eax, dword [ebp - 0x30]
call fcn.00409c6c
test al, al
jne 0x4828a3
lea eax, [ebp - 0x34]
mov ecx, 0x482a50
mov edx, dword [ebp - 0x24]
call fcn.00404ef4
mov eax, dword [ebp - 0x34]
call fcn.00409c5c
test al, al
je 0x4828b3
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x24]
call fcn.00404c3c
jmp 0x4828bb
inc esi
dec ebx
jne 0x48281d
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x482904
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
cmp eax, 0x960
ja 0x482904
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x14], eax
jmp 0x4828f0
mov eax, dword [0x4b3200]
mov eax, dword [eax]
call fcn.0045c738
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x14]
cmp eax, 0xc8
jb 0x4828dd
jmp 0x4827ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482924
mov eax, dword [ebp - 0x28]
call fcn.00403d7c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x482a09
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x18]
mov ecx, 0x482a50
call fcn.00404ef4
lea eax, [ebp - 0x1c]
call fcn.00404be8
mov eax, dword [ebp - 0x18]
call fcn.00409c5c
test al, al
je 0x48297d
push 0x482aa0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x482ab0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00483920
cmp dword [ebp - 0x1c], 0
je 0x4829e8
mov eax, dword [ebp - 8]
mov byte [eax], 1
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x482abc
call fcn.0040a948
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
call fcn.00404c80
lea eax, [ebp - 0x44]
push eax
mov cl, 1
mov edx, 3
mov eax, dword [ebp - 0x1c]
call fcn.00482608
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
call fcn.00404c80
mov eax, dword [ebp - 0x1c]
call fcn.00409c6c
test al, al
je 0x482a09
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00404c3c
jmp 0x482a09
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 5
mov eax, 0x482ac8
call fcn.00482608
cmp dword [ebp - 0x1c], 0
jne 0x482a09
mov eax, dword [ebp - 8]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482a40
lea eax, [ebp - 0x44]
call fcn.00404be8
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404c0c
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404c0c
ret