Function at 0x4024ca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push ebx
push esi
mov dword [esp + 0xc], 0x72a61ba
mov dword [esp + 0x28], 0x4800169c
mov dword [esp + 0x14], 0xa3f4f4d
mov dword [esp + 0x18], 0x1bd850da
mov dword [esp + 0x10], 0x5435b6ca
mov dword [esp + 0x20], 0x698c5865
mov dword [esp + 0x40], 0x25078b52
mov dword [esp + 0x44], 0x981b550
mov dword [esp + 0x38], 0x6ea6348e
mov dword [esp + 0x34], 0x106cf352
mov dword [esp + 0x30], 0x19cccac
mov dword [esp + 0x24], 0x10cb1a1e
mov dword [esp + 0x2c], 0x779bf408
mov dword [esp + 0x1c], 0x75c81011
mov dword [esp + 0x48], 0x33cf971
mov dword [esp + 0x4c], 0x1795d7f9
mov dword [esp + 0x50], 0xbc46c97
mov dword [esp + 0x54], 0x2fd4ab27
mov dword [esp + 0x3c], 0x4b894c24
sub dword [esp + 0xc], 0x672bf1c5
mov eax, 0x60987c0c
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
sub dword [esp + 0x28], 0x17ef0c4f
mov eax, 0xe71fd9e
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 0x4d65887b
mov eax, 0x67b73890
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x5f859a1d
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x1b8db03b
sub dword [esp + 0x14], 0x5a7fbcc9
mov eax, 0x57020423
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0xfc20bd2
mov eax, 0x3266a85e
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub dword [esp + 0xc], 0x55320200
add dword [esp + 0x30], 0x12a5129f
mov eax, 0x1d2a91bf
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x34], 0x1f767afa
mov eax, 0x6396ad9a
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x24], 0x48f2ca4e
sub dword [esp + 0x2c], 0x4c0d9477
add dword [esp + 0x38], 0x70238061
add dword [esp + 0x14], 0x6b8c2b
sub dword [esp + 0xc], 0x939aac2
mov eax, 0x4ad0742
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x20], 0x3232bad1
mov eax, 0x4207b8c6
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x24], 0x541a4d83
sub dword [esp + 0x28], 0xfa5db81
mov eax, 0x5344ddfd
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0xc], 0x57bd06f0
sub dword [esp + 0x3c], 0x73090f5
sub dword [esp + 0x2c], 0x6b2fe37b
xor ebx, ebx
cmp dword [0x1a08f08], 0x400
jne 0x40271a
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalCompact]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push ebx
call fcn.00406059
pop ecx
push ebx
call fcn.00406856
pop ecx
xorps xmm0, xmm0
call fcn.004010d0
xorps xmm0, xmm0
movsd qword [esp + 0x58], xmm0
call fcn.00401136
movsd xmm0, qword [esp + 0x58]
call fcn.00401117
push ebx
call fcn.004068cd
pop ecx
push ebx
call fcn.0040664a
pop ecx
push ebx
call fcn.0040664a
pop ecx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x207138
jg 0x402740
inc esi
cmp esi, 0x4f672
jl 0x40271c
mov esi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0x2b157b
jg 0x40275a
inc esi
cmp esi, 0x116bd
jl 0x402742
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
cmp esi, 0x58bc14
jle 0x402781
cmp dword [esp + 0x5c], 0x7a45f535
jne 0x40278a
inc esi
cmp esi, 0xe154
jl 0x40275c
mov eax, dword [0x42c24c]
mov dword [0x1a08f08], eax
call fcn.00402211
mov esi, 0x3078f
cmp dword [0x1a08f08], 0x51f
jne 0x4027b1
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
dec esi
jne 0x40279e
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10