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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff0ce
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
push esi
mov eax, dword [0x544320]
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.00491770
mov byte [ebp - 4], 1
push 0x40
push 0x21
mov ecx, dword [ebp + 8]
call fcn.00425430
push eax
lea ecx, [ebp - 0x118]
call fcn.004918d0
lea ecx, [ebp - 0x118]
call fcn.004918b0
movzx eax, al
test eax, eax
jne 0x4908d7
push str.open_src_error
push 0x56
push 0x51025c
call fcn.00482e40
add esp, 0xc
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409bf0
mov al, byte [ebp - 0xf]
jmp 0x490b96
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.0046d750
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004f035a
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.0046d760
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.00491770
mov byte [ebp - 4], 2
push 0x40
push 0x22
mov ecx, dword [ebp + 0xc]
call fcn.00425430
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004918d0
lea ecx, [ebp - 0x118]
call fcn.004918b0
movzx eax, al
test eax, eax
jne 0x4909d5
push str.open_dest_error
push 0x63
push str.utility::ufile::copyFileByStream
call fcn.00482e40
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00490bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409bf0
mov al, byte [ebp - 0xd]
jmp 0x490b96
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 0x490b10
jg 0x490a01
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x18]
jbe 0x490b10
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 0x490a44
jl 0x490a35
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x48]
jae 0x490a44
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 0x490b0b
lea ecx, [ebp + 0x10]
call fcn.0042f5c0
movzx edx, al
test edx, edx
je 0x490b0b
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.004f14b0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push edx
push eax
call fcn.004f1400
mov ecx, eax
call fcn.004f102f
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 0x490af6
mov dword [ebp - 0x2c], 0x63
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f5d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
jmp 0x4909e7
lea ecx, [ebp + 0x10]
call fcn.0042f5c0
movzx ecx, al
test ecx, ecx
je 0x490b55
cvtsi2ss xmm0, dword [ebp + 0x2c]
movss xmm1, dword [0x526b08]
mulss xmm1, dword [ebp + 0x28]
addss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0x64
jl 0x490b49
mov dword [ebp - 0x30], 0x63
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f5d0
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.00490bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409bf0
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