Function at 0x4c3b9c
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffcc
mov dword [esp], edx
mov ebx, eax
mov eax, ebx
call fcn.004c3660
xor ebp, ebp
mov eax, dword [0x5698dc]
mov eax, dword [eax]
call fcn.00475568
test ebp, ebp
jne 0x4c3bc8
mov ebp, 1
jmp 0x4c3bca
add ebp, ebp
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
cmp edi, eax
je 0x4c3bd1
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov esi, ebp
test esi, esi
jle 0x4c3c95
call fcn.004aa4dc
test al, al
je 0x4c3c39
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x56951c]
push eax
lea eax, [ebx + 0x568]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
wait
jmp 0x4c3c8e
mov eax, dword [ebx + 0x3f4]
push eax
mov eax, dword [0x56951c]
test eax, eax
jns 0x4c3c4e
add eax, 0x1ff
sar eax, 9
push eax
lea eax, [ebx + 0x568]
push eax
mov cl, byte [ebx + 0x430]
xor edx, edx
mov eax, ebx
call fcn.004c36ac
fild dword [0x56951c]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
wait
mov eax, dword [0x56951c]
test eax, eax
jns 0x4c3c85
add eax, 0x1ff
sar eax, 9
add dword [ebx + 0x3f4], eax
dec esi
jne 0x4c3bf5
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
sub esi, edi
cmp esi, 0x64
jbe 0x4c3bb1
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fdivr dword [0x4c3e00]
mov dword [esp + 0x28], ebp
fild dword [esp + 0x28]
fmulp st(1)
call fcn.00402b60
mov ebp, eax
test ebp, ebp
jne 0x4c3cd5
mov ebp, 1
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
cmp edi, eax
je 0x4c3cdc
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov esi, ebp
test esi, esi
jle 0x4c3da0
call fcn.004aa4dc
test al, al
je 0x4c3d44
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x56951c]
push eax
lea eax, [ebx + 0x568]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
wait
jmp 0x4c3d99
mov eax, dword [ebx + 0x3f4]
push eax
mov eax, dword [0x56951c]
test eax, eax
jns 0x4c3d59
add eax, 0x1ff
sar eax, 9
push eax
lea eax, [ebx + 0x568]
push eax
mov cl, byte [ebx + 0x430]
xor edx, edx
mov eax, ebx
call fcn.004c36ac
fild dword [0x56951c]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
wait
mov eax, dword [0x56951c]
test eax, eax
jns 0x4c3d90
add eax, 0x1ff
sar eax, 9
add dword [ebx + 0x3f4], eax
dec esi
jne 0x4c3d00
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
sub esi, edi
test esi, esi
jne 0x4c3db9
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
jmp 0x4c3ded
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fdivr qword [esp + 0x18]
fmul dword [0x4c3e04]
fdiv dword [0x4c3e08]
call fcn.00402b60
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fild qword [esp + 0x2c]
fstp qword [esp + 8]
wait
mov eax, ebx
call fcn.004c3660
fld qword [esp + 8]
add esp, 0x34
pop ebp
pop edi
pop esi
pop ebx
ret