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

Disassembly:
sub esp, 0x1c
mov eax, dword [0x68dec8]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov cx, word [0x68decc]
push edi
mov edi, 1
test eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov word [esp + 0x20], cx
je 0x4817f7
mov dword [0x75e0c4], edi
mov eax, dword [esi + 0x49a0]
mov edx, dword [0x75e0c4]
cmp eax, edi
mov dword [esp + 0x14], edx
je 0x481a8f
mov eax, dword [esi + 0x499c]
test eax, eax
je 0x481a8f
mov eax, dword [0x7693d8]
test eax, eax
jne 0x481a8f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x75e0c4]
test ecx, ecx
jne 0x48184b
sub eax, dword [0x75e0c0]
cmp eax, 0x9c4
jb 0x481a8f
push ebx
push ebp
mov dword [esi + 0x49a0], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x20], eax
mov ebp, 0x41
mov dword [esp + 0x30], 0x6ef064
lea edi, [esi + 0x49e4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
or bl, 0xff
mov dword [esp + 0x18], 1
test eax, ecx
je 0x4818e4
lea ecx, [esp + 0x24]
mov word [esp + 0x24], bp
push ecx
call dword [0x703278]
cmp eax, 5
jne 0x4818e4
cmp dword [edi], 0
jne 0x4818ac
push ebp
call fcn.004f3a60
add esp, 4
mov dword [edi], eax
mov esi, dword [edi]
test esi, esi
je 0x4818e0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.004f51b0
add esp, 4
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x37
je 0x4818e0
cmp eax, 6
je 0x4818e0
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp byte [eax], bl
je 0x4818f6
mov dword [esp + 0x1c], 1
mov byte [eax], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481913
mov eax, dword [edi]
test eax, eax
je 0x481913
push eax
call fcn.004df7b0
add esp, 4
mov dword [edi], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc ebp
add edi, 4
inc edx
shl ecx, 1
cmp bp, 0x5a
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
jbe 0x481870
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x481a76
push edi
mov ecx, esi
call fcn.00481b90
push edi
push edi
push 0x7af030
call fcn.004f3e00
mov eax, dword [esi + 0x30dc]
add esp, 0xc
cmp eax, edi
mov ebx, 1
je 0x48196e
mov dword [eax + 0xa0], ebx
mov ecx, dword [esi + 0x30d8]
cmp ecx, edi
je 0x48198e
cmp dword [0x6ffe80], 0x12
jne 0x481988
call fcn.004b4870
jmp 0x48198e
mov dword [ecx + 0x88], ebx
mov eax, dword [0x7693d0]
cmp eax, edi
je 0x4819b5
mov dx, word [0x7693b8]
push edi
push 0x6fcbe4
add eax, 0x74
push ebx
push eax
push edi
push edi
push edx
push edi
call fcn.004f4a20
add esp, 0x20
mov ecx, dword [esi + 0x30d0]
cmp ecx, edi
je 0x4819ce
cmp dword [0x6ffe80], 0xf
jne 0x4819ce
push edi
call fcn.004b50e0
mov eax, dword [esi + 0x30c8]
cmp eax, edi
je 0x4819fc
cmp dword [0x6ffe80], 0xd
jne 0x4819fc
cmp dword [0x720ec8], edi
jne 0x4819fc
push 6
push 0x3f9
push eax
lea ecx, [eax + 0x98]
call fcn.004cc560
mov eax, dword [esi + 0x30e0]
cmp eax, edi
je 0x481a19
cmp dword [eax + 0xa8], edi
je 0x481a19
lea ecx, [eax + 0x8c]
call fcn.00477d30
mov eax, dword [esi + 0x30e4]
cmp eax, edi
je 0x481a36
cmp dword [eax + 0xa4], edi
je 0x481a36
lea ecx, [eax + 0x88]
call fcn.00477d30
mov ecx, dword [esi + 0x30e8]
cmp ecx, edi
je 0x481a4d
cmp dword [ecx + 0xa4], edi
je 0x481a4d
call fcn.004b7830
mov eax, dword [esi + 0x30f0]
cmp eax, edi
je 0x481a6a
cmp dword [eax + 0x1f4], edi
je 0x481a6a
lea ecx, [eax + 0x1d8]
call fcn.004cc890
mov dword [0x7af770], ebx
mov dword [0x7af774], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x75e0c0], eax
mov dword [esi + 0x49a0], edi
pop ebp
mov dword [0x75e0c4], edi
pop ebx
pop edi
pop esi
add esp, 0x1c
ret 4