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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fd30
mov eax, dword fs:[0]
push eax
mov eax, 0x3500
call fcn.00438600
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xfff
mov dword [ebp - 0x341c], eax
lea eax, [ebp - 0x2413]
push ebx
push eax
mov byte [ebp - 0x2414], bl
call fcn.00431170
add esp, 0xc
call fcn.00428e21
cdq
push 0xa
pop ecx
idiv ecx
mov esi, edx
call fcn.00428e21
cdq
push 0xa
pop ecx
idiv ecx
cmp esi, edx
setl al
cmp al, bl
je 0x410603
movzx eax, al
mov dword [ebp - 0x3418], eax
fild dword [ebp - 0x3418]
call fcn.00439020
fstp dword [ebp - 0x3418]
fld dword [ebp - 0x3418]
jmp 0x410616
fldz
call fcn.00438ef0
fstp dword [ebp - 0x3418]
fld dword [ebp - 0x3418]
call fcn.00439110
cmp eax, ebx
je 0x410624
call fcn.0040a80f
lea eax, [ebp - 0x2414]
push eax
mov edi, 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x4107d5
cmp eax, edi
ja 0x4107d5
lea edi, [ebp - 0x2414]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x410660
dec eax
dec eax
je 0x410660
sub eax, 4
jne 0x410670
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call fcn.00401d8f
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x410708
mov esi, 0xfff
push esi
lea eax, [ebp - 0x1413]
push ebx
push eax
mov byte [ebp - 0x1414], bl
call fcn.00431170
add esp, 0xc
push esi
lea eax, [ebp - 0x3413]
push ebx
push eax
mov byte [ebp - 0x3414], bl
call fcn.00431170
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
shr esi, 0x18
call fcn.0042a13f
imul eax, eax, 0x63
pop ecx
cmp esi, eax
jbe 0x4106d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.0040a907
mov eax, 0x1000
push eax
lea ecx, [ebp - 0x3414]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x3418]
push ecx
push eax
lea eax, [ebp - 0x1414]
push eax
push edi
mov dword [ebp - 0x3418], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
je 0x410775
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41070d
sub eax, edx
lea edi, [edi + eax + 1]
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41071f
sub eax, esi
je 0x41084e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x410745
dec eax
dec eax
je 0x410745
sub eax, 4
je 0x410745
xor eax, eax
jmp 0x410752
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
xor eax, eax
inc eax
dec eax
jne 0x410670
call fcn.0040a9d0
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetCapture]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
jmp 0x410670
push 0x3ff
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 0x414], bl
call fcn.00431170
add esp, 0xc
push 0xa
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x3418]
call fcn.0042a922
mov esi, dword [ebp - 0x341c]
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x1d8]
call fcn.00403254
mov eax, dword [ebp - 0x3418]
mov dword [esi + 0x1d4], eax
jmp 0x41090d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3458]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x3420], esp
push 0x25
push 0x4482a8
call fcn.0040801d
lea edi, [ebp - 0x34b0]
call fcn.00426ea5
mov dword [ebp - 4], ebx
call fcn.00426f82
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x41081c
mov eax, dword [eax + 4]
jmp 0x41081f
add eax, 4
mov ebx, dword [ebp - 0x341c]
push eax
push 1
call fcn.0040e8e1
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x3458]
call fcn.0040329c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x34b0]
call fcn.00417161
lea eax, [ebp - 0x343c]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x3420], esp
push 0x19
push 0x4482d0
call fcn.0040801d
lea edi, [ebp - 0x3508]
call fcn.00426ea5
mov dword [ebp - 4], 2
call fcn.00426f82
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 0x10
jb 0x410892
mov eax, dword [eax + 4]
jmp 0x410895
add eax, 4
mov ebx, dword [ebp - 0x341c]
push eax
push 1
call fcn.0040e8e1
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x343c]
call fcn.0040329c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x3508]
call fcn.00417161
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x1f8]
push eax
lea ecx, [ebx + 0x1d8]
call fcn.004031c2
mov eax, dword [ebx + 0x1f4]
mov dword [ebx + 0x1d4], eax
call fcn.00428e21
cdq
push 0x14
pop ecx
idiv ecx
mov esi, edx
inc esi
call fcn.00428e21
cdq
idiv esi
cmp edx, esi
jg 0x410908
mov eax, esi
cdq
idiv esi
test edx, edx
je 0x41090d
call fcn.0040aa29
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428582
leave
ret 4