Function at 0x454070
Capabilities:
Check for time delay via gettickcount
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a2b3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10a28]
cmp dword [eax + 0xe8ec], 0
je 0x454178
cmp dword [eax + 0xe914], 0
je 0x45411e
cmp dword [ebx + 0x10a20], 0
je 0x45411e
cmp byte [eax + 0xe93c], 0
je 0x45411e
push str.schook
push 0x10
push 0x5b35b0
call fcn.0052d1ae
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [esi], 0
jne 0x454103
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x435bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push esi
push dword [ebx + 0x10a20]
call fcn.00435c40
test al, al
jne 0x4543b6
jmp 0x454121
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
je 0x45417b
cmp dword [eax + 0xe8f8], 0
jne 0x45417b
cmp dword [eax + 0xe8fc], 0
je 0x45417b
push 0x5996dc
push 0x10
push 0x5b35b0
call fcn.0052d1ae
mov eax, dword [ebx + 0x10a28]
add esp, 0xc
mov dword [eax + 0xe8fc], 0
mov eax, dword [ebx + 0x10a28]
mov dword [eax + 0xe89c], 0
jmp 0x45417b
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5be08c]
xor edx, edx
mov edi, eax
mov dword [ebp + 8], edi
cmp dword [ecx + 0xe30], edx
mov ecx, dword [ebx + 0x10a28]
setne dl
mov dword [ecx + 0x800], 0
lea edx, [edx*4 + 4]
mov dword [ecx + 0x7fc], edx
mov cl, byte [ebp + 0x14]
test cl, cl
je 0x4541d1
mov eax, dword [ebx + 0x10a28]
mov dword [eax + 0xe9b0], 0
mov dword [ebx + 0x10a7c], edi
mov eax, dword [0x5be08c]
cmp dword [eax + 0xe3c], 0
jne 0x4541fa
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x4542aa
test cl, cl
jne 0x4542aa
mov eax, edi
sub eax, dword [ebx + 0x10a7c]
cmp eax, 0x32
jle 0x4542aa
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
inc dword [edi]
mov ecx, dword [ebx + 0x10a28]
call fcn.00452650
call fcn.004250d0
cmp eax, 2
je 0x454240
mov ecx, dword [ebx + 0x10a28]
lea eax, [ebp - 0x24]
sub esp, 8
push eax
push esi
call fcn.0044bf20
test al, al
je 0x454247
mov byte [ebx + 0x10ac0], 0
cmp dword [edi], 0x14
jle 0x4542aa
mov esi, dword [ebx + 0x10a28]
push 0x569fe8
call fcn.0052cbc2
add esp, 4
mov edi, eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov eax, dword [ebp + 0xc]
push 2
push esi
mov ecx, dword [eax]
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.0051d799
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [eax], 0
mov eax, dword [0x5be08c]
xor edi, edi
cmp dword [eax + 0xe38], edi
jne 0x4542c8
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x4542df
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4542df
push edi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00453210
mov eax, dword [0x5be08c]
cmp dword [eax + 0xe34], 0
jne 0x4542fc
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x454335
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x454335
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x454335
cmp esi, edi
je 0x454335
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x454335
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00453210
mov eax, dword [0x5bb8f8]
test eax, eax
jne 0x454365
push 0x20
call fcn.0051946c
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00479de0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5bb8f8], eax
cmp byte [eax + 0x11], 0
mov edx, eax
je 0x4543b6
mov ecx, dword [ebp + 8]
mov eax, ecx
sub eax, dword [ebx + 0x10a80]
cmp eax, 0x1388
jle 0x4543b6
mov dword [ebx + 0x10a80], ecx
test edx, edx
jne 0x4543a9
push 0x20
call fcn.0051946c
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00479de0
mov dword [0x5bb8f8], eax
push 0
push 0x47a130
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10