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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aedb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c0e0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc4], 0
je 0x458d42
mov ecx, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ecx + 4]
cmp eax, 0x202
je 0x458b68
cmp eax, 0x201
je 0x458b68
cmp eax, 0x208
je 0x458b68
cmp eax, 0x207
je 0x458b68
cmp eax, 0x205
je 0x458b68
cmp eax, 0x204
je 0x458b68
cmp eax, 0x200
jne 0x458d2f
movzx eax, word [ecx + 0xc]
movzx esi, word [ecx + 0xe]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0
push esi
mov esi, dword [ebp - 0x14]
mov ecx, edi
push esi
mov dword [ebp - 4], 0
call sub.mfc140.dll_Ordinal_7855
mov dword [ebp - 0x20], eax
test eax, eax
js 0x458c68
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0x1010
push dword [edi + 0x20]
call ebx
sub esi, dword [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0x14], esi
xor esi, esi
mov dword [ebp - 0x18], 0
call sub.mfc140.dll_Ordinal_5648
push esi
push esi
push 0x1200
push dword [eax + 0x20]
call ebx
test eax, eax
jle 0x458c00
push 0
push esi
push 0x101d
push dword [edi + 0x20]
call ebx
sub dword [ebp - 0x14], eax
js 0x458c00
inc dword [ebp - 0x18]
mov ecx, edi
inc esi
call sub.mfc140.dll_Ordinal_5648
push 0
push 0
push 0x1200
push dword [eax + 0x20]
call ebx
cmp esi, eax
jl 0x458bd1
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x20]
push eax
call sub.mfc140.dll_Ordinal_5826
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push 0
push 0x1011
push dword [edi + 0x20]
call ebx
push 0
push dword [ebp - 0x18]
mov esi, eax
push 0x101d
push dword [edi + 0x20]
call ebx
sub eax, 0xc
cmp esi, eax
jg 0x458c68
push 0x490e40
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov ecx, dword [edi + 0xc4]
lea eax, [ebp - 0x1c]
push 0
push edi
push eax
mov byte [ebp - 4], 2
call sub.mfc140.dll_Ordinal_7001
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_2986]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x458ce6
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_8146]
xor ecx, ecx
test al, al
mov eax, dword [edi + 0xc4]
push 0
sete cl
push ecx
push 0x401
push dword [eax + 0x20]
call ebx
push 0
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
mov ecx, dword [edi + 0xc4]
push eax
call sub.mfc140.dll_Ordinal_14461
call esi
mov dword [0x4c441c], eax
call esi
mov ecx, dword [0x4c441c]
sub ecx, eax
cmp ecx, 0xfa0
jbe 0x458d13
mov eax, dword [edi + 0xc4]
push 0
push 0
push 0x41d
push dword [eax + 0x20]
call ebx
call esi
mov dword [0x4c441c], eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xc4]
push ecx
push 0
push 0x407
push dword [eax + 0x20]
call ebx
push dword [ebp + 8]
mov ecx, edi
call sub.mfc140.dll_Ordinal_12163
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4