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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507c79
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x504], 0
mov edi, dword [ebp + 8]
je 0x42e081
cmp edi, 3
jne 0x42e081
push 0
jmp 0x42e083
push 1
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esi + 0x10], edi
dec edi
je 0x42e2ee
dec edi
je 0x42e219
dec edi
jne 0x42e3a7
call fcn.00409d30
mov dword [0x548de0], 0x28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [esi + 0x1780]
mul ecx
mov ecx, dword [esi + 0x1774]
shr edx, 6
mov dword [esi + 0x1358], edx
test ecx, ecx
je 0x42e0ec
mov eax, dword [ecx]
push edi
call dword [eax + 8]
mov ecx, dword [esi + 0x1778]
test ecx, ecx
je 0x42e0fd
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call fcn.00419840
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42e12c
movdqa xmm0, xmmword [0x52e890]
lea ecx, [ebp - 0x28]
push ecx
push eax
movdqu xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x13b8]
push eax
mov eax, dword [edi + 0x14]
push 2
call eax
call fcn.0042e540
push 0
push 0x40a930
push 0
push ecx
lea ecx, [eax + 0x254]
call fcn.0040d5b0
cmp dword [esi + 0x177c], 0
jne 0x42e1b7
push 0x18
call fcn.004e0c29
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x42e18f
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
push dword [esi + 0x20]
call fcn.00423f20
mov ecx, eax
jmp 0x42e191
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0x28]
mov dword [esi + 0x177c], ecx
mov edx, dword [ecx]
push eax
push dword [esi + 0x18]
call dword [edx + 4]
mov ecx, dword [esi + 0x177c]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0x4d8], 0
jne 0x42e39b
cmp dword [esi + 0x4e4], 0
je 0x42e39b
push 2
push 0xf060
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push str.btn_Close
push dword [esi + 0x18]
call fcn.0046abf0
mov edi, eax
test edi, edi
je 0x42e39b
mov ecx, dword [edi]
push 1
push edi
call dword [ecx + 0xb8]
push 0
push edi
call fcn.0046c270
jmp 0x42e39b
call fcn.00409d30
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x548de0], 0x1e
call edi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [esi + 0x1780]
mul ecx
mov ecx, dword [esi + 0x1774]
shr edx, 6
mov dword [esi + 0x1354], edx
test ecx, ecx
je 0x42e259
mov eax, dword [ecx]
push 0
call dword [eax + 8]
cmp dword [esi + 0x1778], 0
jne 0x42e2d6
push 0x1c
call fcn.004e0c29
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x42e2a8
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
call fcn.0042e540
mov ecx, edi
push dword [eax + 0x250]
push dword [esi + 0x20]
call fcn.004224d0
mov ecx, eax
jmp 0x42e2aa
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0x28]
mov dword [esi + 0x1778], ecx
mov edx, dword [ecx]
push eax
push dword [esi + 0x18]
call dword [edx + 4]
mov ecx, dword [esi + 0x1778]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x177c]
test ecx, ecx
je 0x42e2e7
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call edi
jmp 0x42e3a1
call fcn.00409d30
cmp dword [esi + 0x1774], 0
mov dword [0x548de0], 0x14
jne 0x42e379
push 0x10
call fcn.004e0c29
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42e351
xorps xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov eax, dword [esi + 0x20]
mov dword [ecx], vtable.CDownloadAppPageBase.0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CDownloadAppPage1.0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 0
jmp 0x42e353
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0x28]
mov dword [esi + 0x1774], ecx
mov edx, dword [ecx]
push eax
push dword [esi + 0x18]
call dword [edx + 4]
mov ecx, dword [esi + 0x1774]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x1778]
test ecx, ecx
je 0x42e38a
mov eax, dword [ecx]
push 0
call dword [eax + 8]
mov ecx, dword [esi + 0x177c]
test ecx, ecx
je 0x42e39b
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1780], eax
push 1
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4