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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c07b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5490a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
cmp esi, 7
jne 0x45c9f3
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [edi + 0x30]
push eax
add ecx, 0x974
mov dword [ebp - 4], 0
call fcn.00415420
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00415380
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0045c910
push eax
mov eax, dword [esi]
mov ecx, esi
push 0x672
push esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0041e080
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00417050
jmp 0x45cce4
cmp esi, 8
jne 0x45ca3a
mov ecx, dword [edi + 0x30]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00419c80
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xb8]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0045d430
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00417050
jmp 0x45cce4
cmp esi, 0x2111
jne 0x45cabb
mov ecx, eax
mov edx, 0x300
shr ecx, 0x10
cmp cx, dx
jne 0x45ca7b
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0045d360
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00417050
jmp 0x45cce4
mov eax, 0x400
cmp cx, ax
jne 0x45cc15
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00417050
jmp 0x45cce4
cmp esi, 0x102
jne 0x45cb13
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 5
mov word [ebp - 0x1c], ax
call fcn.0041a000
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
cmp dword [ebp - 0x14], 1
jne 0x45cc15
xor eax, eax
jmp 0x45cce4
cmp esi, 0x100
je 0x45cb90
cmp esi, 0x104
je 0x45cb90
cmp esi, 0x101
je 0x45cb37
cmp esi, 0x105
jne 0x45cc05
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
movq qword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xdc], 4
mov word [ebp - 0xc8], ax
call fcn.0041a000
mov word [ebp - 0xc6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
jmp 0x45cc05
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 3
mov word [ebp - 0x1c], ax
call fcn.0041a000
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x13c]
cmp word [ebp - 0xb8], 0xd
jne 0x45cc05
mov ecx, dword [edi + 0x30]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.return
push ecx
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0041ce10
cmp esi, 0x2133
je 0x45cc2b
cmp esi, 0x2138
je 0x45cc2b
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00417050
jmp 0x45cce4
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0045c8c0
cmp eax, 0xffffffff
jne 0x45cc49
mov ecx, esi
call fcn.0045cfb0
test al, al
je 0x45cb0c
mov esi, dword [ebp - 0xb8]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi + 0x30]
call fcn.0045c8d0
mov ecx, dword [edi + 0x30]
test eax, eax
je 0x45cc6e
call fcn.0045c8d0
jmp 0x45cc73
call fcn.00430f60
mov edx, eax
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x34], 0
jne 0x45cce1
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0045cfb0
mov ecx, esi
test al, al
jne 0x45ccb3
call fcn.0045c8c0
jmp 0x45ccb8
call fcn.00423ef0
mov edx, eax
test edx, edx
je 0x45cd01
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413c46
mov esp, ebp
pop ebp
ret 0xc
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x45cce4