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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5407e3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5a6008]
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 0x4504b8
cmp dword [eax + 0xe914], 0
je 0x45045e
cmp dword [ebx + 0x10a20], 0
je 0x45045e
cmp byte [eax + 0xe93c], 0
je 0x45045e
push str.schook
push 0x10
push 0x5ac550
call fcn.00523f31
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [esi], 0
jne 0x450443
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x432410
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.00432480
test al, al
jne 0x4506f6
jmp 0x450461
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
je 0x4504bb
cmp dword [eax + 0xe8f8], 0
jne 0x4504bb
cmp dword [eax + 0xe8fc], 0
je 0x4504bb
push 0x5916e8
push 0x10
push 0x5ac550
call fcn.00523f31
mov eax, dword [ebx + 0x10a28]
add esp, 0xc
mov dword [eax + 0xe8fc], 0
mov eax, dword [ebx + 0x10a28]
mov dword [eax + 0xe89c], 0
jmp 0x4504bb
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5b6e6c]
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 0x450511
mov eax, dword [ebx + 0x10a28]
mov dword [eax + 0xe9b0], 0
mov dword [ebx + 0x10a7c], edi
mov eax, dword [0x5b6e6c]
cmp dword [eax + 0xe3c], 0
jne 0x45053a
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x4505ea
test cl, cl
jne 0x4505ea
mov eax, edi
sub eax, dword [ebx + 0x10a7c]
cmp eax, 0x32
jle 0x4505ea
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
inc dword [edi]
mov ecx, dword [ebx + 0x10a28]
call fcn.0044e990
call fcn.00425840
cmp eax, 2
je 0x450580
mov ecx, dword [ebx + 0x10a28]
lea eax, [ebp - 0x24]
sub esp, 8
push eax
push esi
call fcn.00448230
test al, al
je 0x450587
mov byte [ebx + 0x10ac0], 0
cmp dword [edi], 0x14
jle 0x4505ea
mov esi, dword [ebx + 0x10a28]
push 0x560f28
call fcn.00523296
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.00515679
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [eax], 0
mov eax, dword [0x5b6e6c]
xor edi, edi
cmp dword [eax + 0xe38], edi
jne 0x450608
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x45061f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x45061f
push edi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0044f550
mov eax, dword [0x5b6e6c]
cmp dword [eax + 0xe34], 0
jne 0x45063c
mov eax, dword [ebx + 0x10a28]
cmp byte [eax + 0xe93c], 0
jne 0x450675
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x450675
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x450675
cmp esi, edi
je 0x450675
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x450675
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0044f550
mov eax, dword [0x5b4770]
test eax, eax
jne 0x4506a5
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00474710
mov dword [ebp - 4], 0xffffffff
mov dword [0x5b4770], eax
cmp byte [eax + 0x11], 0
mov edx, eax
je 0x4506f6
mov ecx, dword [ebp + 8]
mov eax, ecx
sub eax, dword [ebx + 0x10a80]
cmp eax, 0x1388
jle 0x4506f6
mov dword [ebx + 0x10a80], ecx
test edx, edx
jne 0x4506e9
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00474710
mov dword [0x5b4770], eax
push 0
push 0x474a60
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