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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5433c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x3c]
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
je 0x4706a6
lea ecx, [ebp - 0x44]
call fcn.005111e1
mov eax, dword [ebx + 0x48]
or edi, 0xffffffff
add eax, 0x3a
push edi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.00511241
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x4c]
cmp edx, ecx
jb 0x47050c
cmp edx, esi
je 0x470518
mov dword [ebp - 4], edi
jmp 0x47069e
cmp edx, esi
jge 0x470518
mov dword [ebp - 4], edi
jmp 0x47069e
mov ecx, 0xe
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov esi, dword [ebx + 0x40]
imul ecx, dword [ebx + 0x48]
xor edi, edi
mov dword [ebp - 0x28], ecx
sub esi, ecx
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x24], edi
mov dword [eax + 0x18], edx
mov edx, dword [eax + 0xc]
sbb ecx, edi
and edx, 0xfffff05f
or edx, 0x5e
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x4c]
mov dword [eax + 0x1c], edx
xor edx, edx
cmp ecx, edx
jl 0x47056a
jg 0x470560
cmp esi, dword [ebx + 0x48]
jbe 0x47056a
mov cx, word [ebx + 0x48]
mov word [eax + 0x32], cx
jmp 0x47056e
mov word [eax + 0x32], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x470594
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x47059e
mov eax, dword [ebp - 0x28]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x28]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x3c]
xor eax, eax
mov byte [ebp - 4], 1
mov ax, word [esi + 0x32]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [edx + 0x34]
jmp 0x470613
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4706be
mov edx, dword [ebx + 0x10]
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0xc0]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebx + 0x4c]
or al, 6
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp + 8]
and eax, 0xfffff807
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx]
lea edx, [ebp - 0xc0]
push 0x3e8
push edx
mov dword [ebp - 0x94], 0xffffffec
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00511214
mov eax, 0xffffd954
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x4e20]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
jbe 0x470773
cmp eax, dword [ebx + 0x5c]
jbe 0x470773
mov eax, dword [0x5ab980]
mov dword [ebp - 0x80], 0x559c1c
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
lea eax, [eax + eax*4]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x50], edi
mov edi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov byte [ebp - 4], 3
shl eax, 2
div ecx
lea edx, [ebp - 0x80]
mov ecx, edi
push edx
mov dword [ebp - 0x54], 0x70726f67
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x60], eax
call fcn.00472990
mov eax, dword [ebp - 0x20]
push reloc.oledlg.dll_OleUIInsertObjectA
add eax, 0x64
mov dword [ebx + 0x5c], eax
call fcn.0041e1e0
add esp, 4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.005128e4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.005128e4
jmp 0x470776
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push 0x3e8
push esi
mov ecx, edi
call dword [edx + 0xc]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8