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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50110e
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
push esi
mov eax, dword [0x547320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0x1000000
mov dword [ebp - 0x38], 0
push 1
lea ecx, [ebp - 0x118]
call fcn.00491050
mov byte [ebp - 4], 1
push 0x40
push 0x21
mov ecx, dword [ebp + 8]
call fcn.00426320
push eax
lea ecx, [ebp - 0x118]
call fcn.004911b0
lea ecx, [ebp - 0x118]
call fcn.00491190
movzx eax, al
test eax, eax
jne 0x4901b7
push str.open_src_error
push 0x49
push 0x510db4
call fcn.004847a0
add esp, 0xc
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040a540
mov al, byte [ebp - 0xf]
jmp 0x490476
push 2
push 0
push 0
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00472540
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004f1f0a
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0
push 0
call fcn.00472550
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_int__]
push 1
lea ecx, [ebp - 0x1f0]
call fcn.00491050
mov byte [ebp - 4], 2
push 0x40
push 0x22
mov ecx, dword [ebp + 0xc]
call fcn.00426320
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004911b0
lea ecx, [ebp - 0x118]
call fcn.00491190
movzx eax, al
test eax, eax
jne 0x4902b5
push str.open_dest_error
push 0x56
push str.utility::ufile::copyFileByStream
call fcn.004847a0
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00490490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040a540
mov al, byte [ebp - 0xd]
jmp 0x490476
xorpd xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jl 0x4903f0
jg 0x4902e1
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x18]
jbe 0x4903f0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
sbb esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x44]
jg 0x490324
jl 0x490315
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x48]
jae 0x490324
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [ebp - 0x1c]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1e0]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
mov eax, dword [ebp - 0x1c]
cdq
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x34]
cmp eax, 0x3e8
jbe 0x4903eb
lea ecx, [ebp + 0x10]
call fcn.00434ff0
movzx edx, al
test edx, edx
je 0x4903eb
cvtsi2ss xmm0, dword [ebp + 0x2c]
push 0
push 0x64
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
movss dword [ebp - 0x40], xmm0
call fcn.004f3060
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push edx
push eax
call fcn.004f2fb0
mov ecx, eax
call fcn.004f2bdf
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebp + 0x28]
movss xmm1, dword [ebp - 0x40]
addss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0x64
jl 0x4903d6
mov dword [ebp - 0x2c], 0x63
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.00435000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
jmp 0x4902c7
lea ecx, [ebp + 0x10]
call fcn.00434ff0
movzx ecx, al
test ecx, ecx
je 0x490435
cvtsi2ss xmm0, dword [ebp + 0x2c]
movss xmm1, dword [0x528fbc]
mulss xmm1, dword [ebp + 0x28]
addss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0x64
jl 0x490429
mov dword [ebp - 0x30], 0x63
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp + 0x10]
call fcn.00435000
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00490490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040a540
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret