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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fecde
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.00491550
mov byte [ebp - 4], 1
push 0x40
push 0x21
mov ecx, dword [ebp + 8]
call fcn.00425210
push eax
lea ecx, [ebp - 0x118]
call fcn.004916b0
lea ecx, [ebp - 0x118]
call fcn.00491690
movzx eax, al
test eax, eax
jne 0x4906b7
push str.open_src_error
push 0x49
push 0x510104
call fcn.00482c20
add esp, 0xc
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004099f0
mov al, byte [ebp - 0xf]
jmp 0x490976
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.0046d530
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004eff6a
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.0046d540
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.00491550
mov byte [ebp - 4], 2
push 0x40
push 0x22
mov ecx, dword [ebp + 0xc]
call fcn.00425210
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004916b0
lea ecx, [ebp - 0x118]
call fcn.00491690
movzx eax, al
test eax, eax
jne 0x4907b5
push str.open_dest_error
push 0x56
push str.utility::ufile::copyFileByStream
call fcn.00482c20
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00490990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004099f0
mov al, byte [ebp - 0xd]
jmp 0x490976
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 0x4908f0
jg 0x4907e1
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x18]
jbe 0x4908f0
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 0x490824
jl 0x490815
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x48]
jae 0x490824
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 0x4908eb
lea ecx, [ebp + 0x10]
call fcn.0042f360
movzx edx, al
test edx, edx
je 0x4908eb
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.004f10c0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
push ecx
push edx
push eax
call fcn.004f1010
mov ecx, eax
call fcn.004f0c3f
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 0x4908d6
mov dword [ebp - 0x2c], 0x63
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f370
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
jmp 0x4907c7
lea ecx, [ebp + 0x10]
call fcn.0042f360
movzx ecx, al
test ecx, ecx
je 0x490935
cvtsi2ss xmm0, dword [ebp + 0x2c]
movss xmm1, dword [0x5260a0]
mulss xmm1, dword [ebp + 0x28]
addss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0x64
jl 0x490929
mov dword [ebp - 0x30], 0x63
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042f370
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.00490990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00490990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004099f0
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