Function at 0x446320
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 0x5353c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x57c54c]
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 0x446378
cmp esi, 3
jne 0x446378
push 0
jmp 0x44637a
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 0x446728
sub esi, 1
je 0x446618
sub esi, 1
jne 0x44688b
call fcn.00418fd0
mov dword [0x580608], 0x28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x1878]
mul ecx
mov ecx, dword [edi + 0x186c]
shr edx, 6
mov dword [edi + 0x143c], edx
test ecx, ecx
je 0x4463e9
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov ecx, dword [edi + 0x1870]
test ecx, ecx
je 0x4463fa
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call fcn.00407620
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x446427
movaps xmm0, xmmword [0x5649e0]
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 + 0x14b0]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
call fcn.00447900
push 0
push 0x419820
push 0
push ecx
lea ecx, [eax + 0x254]
call fcn.0041d650
cmp dword [edi + 0x1874], 0
jne 0x4465b6
push 0x18
call fcn.00500e07
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 + 0x1874], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x1874]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.00418fd0
cmp dword [eax + 0xc], 4
je 0x4465b6
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 + 0x13e0]
cmp dword [eax + 0x26c], 0
je 0x446598
push str.btn_openfile
push dword [edi + 0x18]
call fcn.00489920
mov esi, eax
test esi, esi
je 0x446598
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 + 0x13c0], 0
je 0x4465b6
push 0
push 0x1f4
push 0x13be
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x4d8], 0
jne 0x44687f
cmp dword [edi + 0x4e4], 0
je 0x44687f
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.00489920
mov esi, eax
test esi, esi
je 0x44687f
mov ecx, dword [esi]
push 1
push esi
call dword [ecx + 0xb8]
push 0
push esi
call fcn.0048b130
jmp 0x44687f
call fcn.00418fd0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x580608], 0x1e
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x1878]
mul ecx
mov ecx, dword [edi + 0x186c]
shr edx, 6
mov dword [edi + 0x1438], edx
test ecx, ecx
je 0x446658
mov eax, dword [ecx]
push 0
call dword [eax + 8]
cmp dword [edi + 0x1870], 0
jne 0x446710
push 0x1c
call fcn.00500e07
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.00447900
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 + 0x1870], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x1870]
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 + 0x1874]
test ecx, ecx
je 0x446721
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call esi
jmp 0x446885
call fcn.00418fd0
cmp dword [edi + 0x186c], 0
mov dword [0x580608], 0x14
jne 0x44685d
push 0x10
call fcn.00500e07
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 + 0x186c], esi
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [edi + 0x18]
call dword [edx + 4]
mov ecx, dword [edi + 0x186c]
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 + 0x13e0]
cmp dword [eax + 0x26c], 0
je 0x44685d
push str.btn_setup
push dword [edi + 0x18]
call fcn.00489920
mov esi, eax
test esi, esi
je 0x44685d
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 + 0x1870]
test ecx, ecx
je 0x44686e
mov eax, dword [ecx]
push 0
call dword [eax + 8]
mov ecx, dword [edi + 0x1874]
test ecx, ecx
je 0x44687f
mov eax, dword [ecx]
push 0
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1878], 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.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4