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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c325
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
cmp dword [edi + 0x504], 0
mov esi, dword [ebx + 8]
je 0x440d48
cmp esi, 3
jne 0x440d48
push 0
jmp 0x440d4a
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [edi + 0x10], esi
sub esi, 1
je 0x4410da
sub esi, 1
je 0x440fca
sub esi, 1
jne 0x44123d
call fcn.00414ac0
mov dword [0x576478], 0x28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x17e8]
mul ecx
mov ecx, dword [edi + 0x17dc]
shr edx, 6
mov dword [edi + 0x139c], edx
test ecx, ecx
je 0x440db9
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov ecx, dword [edi + 0x17e0]
test ecx, ecx
je 0x440dca
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call fcn.00405a90
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x440df7
movaps xmm0, xmmword [0x55b4a0]
lea ecx, [ebp - 0x28]
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1420]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
call fcn.004422c0
push 0
push 0x415300
push 0
push ecx
lea ecx, [eax + 0x254]
call fcn.00419040
cmp dword [edi + 0x17e4], 0
jne 0x440f68
push 0x18
call fcn.004f8c17
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov ecx, dword [edi + 0x20]
mov dword [esi], vtable.CDownloadAppPageBase.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 5
mov dword [esi], vtable.CDownloadAppPage3.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0x28]
mov dword [edi + 0x17e4], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x17e4]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.00414ac0
cmp dword [eax + 0xc], 4
je 0x440f68
push 0x203
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1340]
cmp dword [eax + 0x26c], 0
je 0x440f68
push str.btn_openfile
push dword [edi + 0x18]
call fcn.00480940
mov esi, eax
test esi, esi
je 0x440f68
mov ecx, dword [esi]
push esi
call dword [ecx + 0x64]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x38], eax
call dword [ecx + 0x78]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x3c], eax
call dword [ecx + 0x60]
mov ecx, dword [esi]
mov edi, eax
push esi
call dword [ecx + 0x7c]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
add eax, edi
push eax
mov eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edi, dword [ebp - 0x34]
cmp dword [edi + 0x4d8], 0
jne 0x441231
cmp dword [edi + 0x4e4], 0
je 0x441231
push 2
push 0xf060
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push str.btn_Close
push dword [edi + 0x18]
call fcn.00480940
mov esi, eax
test esi, esi
je 0x441231
mov ecx, dword [esi]
push 1
push esi
call dword [ecx + 0xb8]
push 0
push esi
call fcn.00482150
jmp 0x441231
call fcn.00414ac0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x576478], 0x1e
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x17e8]
mul ecx
mov ecx, dword [edi + 0x17dc]
shr edx, 6
mov dword [edi + 0x1398], edx
test ecx, ecx
je 0x44100a
mov eax, dword [ecx]
push 0
call dword [eax + 8]
cmp dword [edi + 0x17e0], 0
jne 0x4410c2
push 0x1c
call fcn.004f8c17
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
call fcn.004422c0
mov ecx, dword [eax + 0x250]
mov eax, dword [edi + 0x20]
mov dword [esi], vtable.CDownloadAppPageBase.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 3
mov dword [esi], vtable.CDownloadAppPage2.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0x28]
mov dword [edi + 0x17e0], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x17e0]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x17e4]
test ecx, ecx
je 0x4410d3
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call esi
jmp 0x441237
call fcn.00414ac0
cmp dword [edi + 0x17dc], 0
mov dword [0x576478], 0x14
jne 0x44120f
push 0x10
call fcn.004f8c17
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov ecx, dword [edi + 0x20]
mov dword [esi], vtable.CDownloadAppPageBase.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.CDownloadAppPage1.0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0x28]
mov dword [edi + 0x17dc], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x17dc]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
push 0x203
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1340]
cmp dword [eax + 0x26c], 0
je 0x44120f
push str.btn_setup
push dword [edi + 0x18]
call fcn.00480940
mov esi, eax
test esi, esi
je 0x44120f
mov ecx, dword [esi]
push esi
call dword [ecx + 0x64]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x3c], eax
call dword [ecx + 0x78]
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x38], eax
call dword [ecx + 0x60]
mov ecx, dword [esi]
mov edi, eax
push esi
call dword [ecx + 0x7c]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
add eax, edi
push eax
mov eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edi, dword [ebp - 0x34]
mov ecx, dword [edi + 0x17e0]
test ecx, ecx
je 0x441220
mov eax, dword [ecx]
push 0
call dword [eax + 8]
mov ecx, dword [edi + 0x17e4]
test ecx, ecx
je 0x441231
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x17e8], eax
push 1
push 0
push dword [edi + 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.004f8955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4