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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040403c
xor eax, eax
push ebp
push 0x4a722d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x22], 0
xor esi, esi
mov dl, 1
mov eax, dword [0x40f8cc]
call fcn.00402f78
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4a7208
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x4a6eb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.004138a8
cmp edx, 0
jne 0x4a6d55
cmp eax, 0
jbe 0x4a6daa
jmp 0x4a6d57
jle 0x4a6daa
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.00413894
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x370]
mov eax, ebx
call fcn.004138a8
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00413bf0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413894
mov eax, dword [ebp - 0xc]
call fcn.004138a8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x108], eax
mov dword [ecx + 0x10c], edx
jmp 0x4a6dc1
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x370], 0
je 0x4a6dda
mov eax, dword [ebp - 4]
add eax, 0x370
call fcn.004a3b38
mov eax, dword [ebp - 8]
call fcn.00403e88
test eax, eax
jle 0x4a6e23
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00403db0
lea eax, [ebp - 0x28]
mov edx, 0x4a7244
call fcn.00403e90
mov eax, dword [ebp - 0x28]
call fcn.0040404c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4a6e23
mov dword [ebp - 0x18], 0x40000
mov dword [ebp - 0x14], 0
jmp 0x4a6e31
mov dword [ebp - 0x18], 0x20000
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xfc], 0
jne 0x4a6e48
cmp dword [eax + 0xf8], 0
jbe 0x4a6e7e
jmp 0x4a6e4a
jle 0x4a6e7e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xfc]
mov eax, dword [eax + 0xf8]
cmp edx, dword [ebp - 0x14]
jne 0x4a6e65
cmp eax, dword [ebp - 0x18]
jae 0x4a6e7e
jmp 0x4a6e67
jge 0x4a6e7e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xf8]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0xfc]
mov dword [ebp - 0x14], edx
jmp 0x4a6e8a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
push 0x22
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4a0b40]
call fcn.004a14bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x370], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6f0c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x370]
mov eax, ebx
call fcn.004138a8
push edx
push eax
mov eax, ebx
call fcn.00413894
mov eax, dword [ebp - 0xc]
call fcn.004138a8
cmp edx, 0
jne 0x4a6f39
cmp eax, 0
jbe 0x4a6f6c
jmp 0x4a6f3b
jle 0x4a6f6c
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413894
mov eax, dword [ebp - 0xc]
call fcn.004138a8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov edx, dword [ebp - 0xc]
call fcn.00413bf0
mov eax, dword [ebp - 0xc]
call fcn.00414028
jmp 0x4a6f83
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x330], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x349], 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a7540
mov eax, dword [ebp - 4]
mov byte [eax + 0xf0], 1
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4a7168
mov eax, dword [ebp - 4]
cmp byte [eax + 0x322], 0
je 0x4a6ff8
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.004a90bc
jmp 0x4a7004
mov eax, dword [0x581ca8]
mov eax, dword [eax]
call fcn.0043b294
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4a7085
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
cmp edx, dword [ebp - 0x1c]
jne 0x4a7030
cmp eax, dword [ebp - 0x20]
je 0x4a7085
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x108]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x10c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
call fcn.004aa4a8
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x330]
cmp eax, 0xea60
jbe 0x4a7085
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x330], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x394], 0
je 0x4a70d2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xfc]
jne 0x4a70d2
cmp eax, dword [ecx + 0xf8]
jne 0x4a70d2
test esi, esi
jne 0x4a70c0
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x4a70d2
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x2710
ja 0x4a7190
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x6e], 0
je 0x4a70fc
mov edi, eax
lea edx, [ebp - 0x21]
mov eax, dword [edi + 0x70]
call dword [edi + 0x6c]
cmp byte [ebp - 0x21], 0
je 0x4a70fc
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x21]
mov byte [eax + 0x335], dl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x322], 0
je 0x4a7168
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x32c]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x4a712a
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x324]
jae 0x4a7168
mov eax, dword [ebp - 4]
call fcn.004aa2ec
test eax, eax
jle 0x4a7168
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x394], 0
je 0x4a7190
mov eax, dword [ebp - 4]
cmp byte [eax + 0x335], 0
jne 0x4a7190
mov eax, dword [ebp - 4]
cmp byte [eax + 0x349], 0
jne 0x4a6fde
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a720f
mov eax, dword [ebp - 4]
call fcn.004a7590
cmp dword [ebp - 0xc], 0
je 0x4a71b3
lea eax, [ebp - 0xc]
call fcn.004a3b38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x370], 0
je 0x4a71cc
mov eax, dword [ebp - 4]
add eax, 0x370
call fcn.004a3b38
mov eax, dword [ebp - 4]
mov byte [eax + 0x349], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x335]
or al, byte [ebp - 0x22]
je 0x4a7207
mov eax, dword [ebp - 4]
mov byte [eax + 0x335], 0
mov ecx, dword [0x581dd8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a3628]
call fcn.0040bb58
call fcn.00403680
ret