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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538b10
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x19b00
call fcn.00513490
mov eax, dword [0x58a110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x19abc], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x19acc], edi
mov dword [ebp - 0x19ad0], eax
mov ebx, edx
cmp eax, esi
je 0x40ca24
mov eax, dword [edi + 0x30]
cmp eax, esi
je 0x40c6d6
mov byte [eax], 0
push 0x566db9
lea ecx, [edi + 0x2c]
call fcn.0040d7c0
mov dword [edi + 0x20], esi
cmp dword [edi + 4], esi
jne 0x40c702
push ebx
mov ecx, str.Chrome
mov esi, edi
call fcn.0040bf40
test eax, eax
je 0x40ca24
xor esi, esi
cmp ebx, esi
je 0x40c70c
mov eax, dword [edi + 4]
mov dword [eax + 0x14], ebx
mov dword [ebp - 4], esi
cmp byte [edi + 0xc], 0
mov eax, 2
je 0x40c71f
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp - 0x19abc]
push esi
push esi
push eax
push 1
push ecx
mov ecx, dword [edi + 4]
call fcn.00420099
mov ebx, eax
push esi
mov dword [ebp - 0x19ac0], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00510478
fldz
mov dword [ebp - 0x19ac4], edx
fstp qword [ebp - 0x19aec]
add esp, 4
lea edx, [ebp - 0x19ac8]
push edx
lea ecx, [ebp - 0x19aec]
mov dword [ebp - 0x19ac8], eax
mov dword [ebp - 0x19ae4], esi
call fcn.0040d3e0
cmp ebx, esi
je 0x40c9ad
mov dword [ebp - 4], 2
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x19abc], eax
mov ecx, dword [ebp - 0x19ac0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
push 0x1969f
lea edx, [ebp - 0x19ab8]
push edx
call eax
mov esi, eax
test esi, esi
je 0x40c972
lea eax, [ebp - 0x19ab8]
mov byte [ebp + esi - 0x19ab8], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c7c8
mov ecx, dword [ebp - 0x19ad0]
sub eax, edx
push eax
lea eax, [ebp - 0x19ab8]
call fcn.00407080
push 0
add ebx, esi
call fcn.00510478
fldz
add esp, 4
fstp qword [ebp - 0x19af8]
lea ecx, [ebp - 0x19ad8]
push ecx
lea ecx, [ebp - 0x19af8]
mov dword [ebp - 0x19ad8], eax
mov dword [ebp - 0x19ad4], edx
mov dword [ebp - 0x19af0], 0
call fcn.0040d3e0
lea edx, [ebp - 0x19aec]
push edx
lea esi, [ebp - 0x19b0c]
lea eax, [ebp - 0x19af8]
call fcn.0040d1c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebp - 0x19abc]
cmp eax, 0x1f4
jbe 0x40c90b
call esi
fldz
fld qword [ebp - 0x19b0c]
mov dword [ebp - 0x19abc], eax
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40c871
fld qword [0x567eb0]
jmp 0x40c877
fld qword [0x567df8]
faddp st(1)
fmul qword [0x567ec8]
call fcn.00513af6
mov dword [ebp - 0x19ae0], eax
mov dword [ebp - 0x19adc], edx
fild qword [ebp - 0x19ae0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x40c8dd
mov eax, ebx
mov dword [ebp - 0x19ac4], eax
fild dword [ebp - 0x19ac4]
test eax, eax
jns 0x40c8b9
fadd qword [0x567ee0]
fmul qword [0x567ee8]
mov ecx, dword [edi + 4]
sub esp, 8
fdivrp st(1)
fst qword [edi + 0x10]
fstp qword [esp]
push ebx
push 0x567e0c
call fcn.0040cf60
add esp, 0x10
jmp 0x40c90b
mov ecx, dword [edi + 4]
fstp st(0)
push ebx
push str.Read__d_bytes
call fcn.0040cf60
mov ecx, ebx
add esp, 8
mov dword [ebp - 0x19ac4], ecx
fild dword [ebp - 0x19ac4]
test ecx, ecx
jns 0x40c908
fadd qword [0x567ee0]
fstp qword [edi + 0x10]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x40c925
mov eax, dword [edi + 0x30]
test eax, eax
je 0x40c794
mov byte [eax], 0
jmp 0x40c794
mov esi, dword [edi + 0x30]
test esi, esi
je 0x40c794
mov edx, ebx
mov dword [ebp - 0x19ac4], edx
fild dword [ebp - 0x19ac4]
test edx, edx
jns 0x40c948
fadd qword [0x567ee0]
mov dword [ebp - 0x19ac4], eax
fild dword [ebp - 0x19ac4]
test eax, eax
jns 0x40c95e
fadd qword [0x567ee0]
fdivp st(1)
fmul qword [0x567ed8]
call fcn.00513ac0
mov byte [esi], al
jmp 0x40c794
mov esi, dword [ebp - 0x19ac0]
lea eax, [edi + 0x20]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0041ef8e
push 0
lea ecx, [edi + 0x2c]
push ecx
push 0x15
mov ecx, esi
call fcn.0041fd02
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push 0x567810
call fcn.0040cf60
add esp, 4
mov eax, 1
jmp 0x40ca26
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050e12a
mov esp, ebp
pop ebp
ret 8