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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5436ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
call fcn.005111e1
xor edi, edi
push 0xa
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], edi
call fcn.004721a0
mov eax, dword [0x5ab980]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x5c], 0x559c1c
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp + 0xc]
push edi
push edi
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
and ecx, 0xfffff85f
or ecx, 0x58
mov dword [esi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x70]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00472100
cmp eax, edi
mov dword [ebp + 0x14], eax
je 0x472409
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.005128e4
mov byte [ebp - 4], 3
jmp 0x4726b3
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0xc]
and edx, 0xfffffff8
shl edx, 0x15
test edx, edx
jg 0x47243d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.005128e4
mov byte [ebp - 4], 5
jmp 0x472874
mov ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jne 0x472758
push 0xa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x18]
push eax
push edx
lea ecx, [ebp - 0x98]
call fcn.00472250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
and eax, 0xfffff85f
or al, 0x58
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
inc ecx
cmp ecx, edx
jb 0x472490
mov dword [esi + 0x18], 0xffffffff
jmp 0x472493
inc dword [esi + 0x18]
cmp dword [eax + 0x18], edi
jne 0x4724a0
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x78], edx
jmp 0x4724a6
mov ecx, dword [ebp - 0x78]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebx]
push 0x3e8
push esi
mov ecx, ebx
call dword [edx + 0xc]
cmp eax, edi
mov dword [ebp + 0x14], eax
je 0x4724cf
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.005128e4
mov byte [ebp - 4], 7
jmp 0x4726b3
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x32], di
jbe 0x4726fb
cmp dword [ebp + 0x10], edi
je 0x472615
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x1c]
jbe 0x472615
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x1c]
cmp eax, edi
jbe 0x472534
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa0], eax
fild qword [ebp - 0xa8]
mov dword [ebp - 0x9c], edi
fild qword [ebp - 0xa0]
fdivp st(1)
fmul qword [0x55cbf0]
call fcn.004fa6b4
jmp 0x472539
mov eax, 0x64
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x30], 0x66696c65
mov dword [ebp - 0x3c], eax
call fcn.00422450
push reloc.oledlg.dll_OleUIInsertObjectA
call fcn.0041e1e0
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [ebp - 0x5c]
mov edx, dword [ecx]
push edi
push eax
call dword [edx]
test eax, eax
je 0x472607
mov ecx, 0xe
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebx]
and ecx, 0xfffffd37
lea eax, [ebp - 0xe8]
or ecx, 0x530
push 0x3e8
mov dword [ebp - 0xdc], ecx
push eax
mov ecx, ebx
mov word [ebp - 0xb6], 0
call dword [edx + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.005128e4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
add ecx, 0x38
mov dword [ebp + 0x14], edi
mov eax, dword [edx]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x74], ecx
xor ecx, ecx
mov cx, word [edx + 0x32]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 0xc]
call dword [eax + 0x38]
jmp 0x472695
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 2
cmp eax, edi
je 0x4726fb
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.005128e4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x18]
or edi, 0xffffffff
cmp eax, edi
jne 0x472758
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
call fcn.005128e4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], edi
call fcn.00511214
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov di, ax
push 0x7d0
push 2
lea ecx, [ebp - 0x98]
and edi, 0xffff
call fcn.00472300
mov edx, dword [ebx]
add edi, eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x70]
push ecx
push eax
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x472848
mov ecx, dword [esi + 0xc]
mov eax, ecx
and eax, 0xfffff000
shl eax, 0xc
sar eax, 0xc
add eax, 0x1000
xor eax, ecx
and eax, 0xff000
xor eax, ecx
mov dword [esi + 0xc], eax
and eax, 0xfffff000
shl eax, 0xc
cmp eax, 0x5000000
jg 0x4728d1
push 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
add eax, 0x3e8
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.00472250
lea ecx, [ebx + 0x2c]
call fcn.004703b0
mov edx, dword [ebx]
push 0x3e8
push esi
mov ecx, ebx
call dword [edx + 0xc]
mov edi, eax
test edi, edi
jne 0x47292b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov di, ax
push 0x7d0
push 2
lea ecx, [ebp - 0x98]
and edi, 0xffff
call fcn.00472300
mov edx, dword [ebx]
add edi, eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x70]
push ecx
push eax
mov ecx, ebx
call dword [edx + 8]
test eax, eax
jne 0x472798
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
and ecx, 0xfffffff8
shl ecx, 0x15
test ecx, ecx
jg 0x4728be
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [eax + 0x28]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.005128e4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov eax, 0xffffffec
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0xc]
and ecx, 0xfff00fff
xor edi, edi
mov dword [esi + 0xc], ecx
jmp 0x47243d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call fcn.005128e4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov eax, 0xffffffb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
call fcn.005128e4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.005128e4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004721f0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00511214
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10