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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4feeae
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.00491640
mov byte [ebp - 4], 1
push 0x40
push 0x21
mov ecx, dword [ebp + 8]
call fcn.00425310
push eax
lea ecx, [ebp - 0x118]
call fcn.004917a0
lea ecx, [ebp - 0x118]
call fcn.00491780
movzx eax, al
test eax, eax
jne 0x4907a7
push str.open_src_error
push 0x56
push 0x510104
call fcn.00482d00
add esp, 0xc
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490a80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409b00
mov al, byte [ebp - 0xf]
jmp 0x490a66
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.0046d610
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004f012a
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.0046d620
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.00491640
mov byte [ebp - 4], 2
push 0x40
push 0x22
mov ecx, dword [ebp + 0xc]
call fcn.00425310
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004917a0
lea ecx, [ebp - 0x118]
call fcn.00491780
movzx eax, al
test eax, eax
jne 0x4908a5
push str.open_dest_error
push 0x63
push str.utility::ufile::copyFileByStream
call fcn.00482d00
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00490a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490a80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409b00
mov al, byte [ebp - 0xd]
jmp 0x490a66
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 0x4909e0
jg 0x4908d1
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x18]
jbe 0x4909e0
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 0x490914
jl 0x490905
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x48]
jae 0x490914
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 0x4909db
lea ecx, [ebp + 0x10]
call fcn.0042f460
movzx edx, al
test edx, edx
je 0x4909db
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.004f1280
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push edx
push eax
call fcn.004f11d0
mov ecx, eax
call fcn.004f0dff
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 0x4909c6
mov dword [ebp - 0x2c], 0x63
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f470
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
jmp 0x4908b7
lea ecx, [ebp + 0x10]
call fcn.0042f460
movzx ecx, al
test ecx, ecx
je 0x490a25
cvtsi2ss xmm0, dword [ebp + 0x2c]
movss xmm1, dword [0x5263c0]
mulss xmm1, dword [ebp + 0x28]
addss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0x64
jl 0x490a19
mov dword [ebp - 0x30], 0x63
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f470
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.00490a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490a80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00409b00
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