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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x14], ebx
mov esi, edx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b6343
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x264], 1
mov eax, ebx
call fcn.004b5dd0
mov esi, eax
mov dword [ebx + 0x248], esi
test esi, esi
je 0x4b6325
cmp byte [esi + 0x38], 0
je 0x4b6325
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4b5ec7
cmp byte [eax + 0xac], 0
jne 0x4b5ec7
mov edx, dword [eax + 0xa8]
cmp dword [edx + 4], 0xffffffff
jne 0x4b5ecb
xor edx, edx
jmp 0x4b5ecd
mov dl, 1
test dl, dl
je 0x4b5ed9
mov dword [ebx + 0x250], eax
jmp 0x4b5ee1
xor eax, eax
mov dword [ebx + 0x250], eax
mov eax, dword [ebx + 0x250]
test eax, eax
je 0x4b5f39
mov edi, dword [ebx + 0x208]
mov esi, dword [eax + 0xa8]
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x4c], 0
je 0x4b5f26
mov edx, dword [esi + 0x44]
mov eax, dword [edi + 0xc]
call fcn.004237a0
mov edx, dword [esi + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.004237e0
mov dl, byte [esi + 0x40]
mov eax, dword [edi + 0xc]
call fcn.00423884
jmp 0x4b5f50
mov eax, dword [ebx + 0x248]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4b5f50
mov esi, dword [ebx + 0x208]
mov eax, dword [ebx + 0x248]
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebx + 0x248]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4b5f79
cmp dword [eax + 0x48], 0
je 0x4b5f79
mov eax, dword [eax + 0x48]
mov dl, byte [eax + 0x34]
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
call fcn.004238e8
jmp 0x4b5f91
mov eax, dword [esi + 0x48]
call fcn.004238e0
mov edx, eax
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
call fcn.004238e8
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
call fcn.00404c88
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004b56e8
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00442a18
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004429e8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x208]
mov eax, ebx
call fcn.004b584c
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x542d7c]
mov eax, dword [eax]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x4b6055
mov eax, dword [0x542d7c]
mov eax, esi
call fcn.00449278
lea ecx, [ebp - 0x38]
mov dl, 1
call fcn.004c9f90
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jle 0x4b6030
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4b6108
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
jmp 0x4b6108
mov eax, dword [0x542acc]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x4b60be
mov eax, dword [0x542acc]
cmp byte [esi + 0x57], 0
je 0x4b60be
mov eax, dword [0x542acc]
mov eax, esi
call fcn.00449278
lea ecx, [ebp - 0x38]
mov dl, 1
call fcn.004c9f90
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jle 0x4b60a0
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4b6108
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
jmp 0x4b6108
mov eax, dword [0x542d7c]
mov eax, dword [eax]
call fcn.00460040
cmp eax, dword [ebp - 0x20]
jge 0x4b60e3
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [0x542d7c]
mov eax, dword [eax]
call fcn.00460034
cmp eax, dword [ebp - 0x1c]
jge 0x4b6108
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_OffsetRect
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004423a8
mov eax, dword [ebx + 0x248]
mov cl, byte [eax + 0x68]
mov dl, byte [ebx + 0x25c]
cmp cl, dl
je 0x4b61ad
cmp byte [eax + 0x44], 0
je 0x4b61ad
test dl, dl
je 0x4b6159
push 0xffffffffffffffec
mov eax, ebx
call fcn.00449278
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.00449278
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4b619e
push 0xffffffffffffffec
mov eax, ebx
call fcn.00449278
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.00449278
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x6a], 0
jne 0x4b619e
mov eax, ebx
call fcn.00449278
mov edx, dword [ebx + 0x248]
mov dl, byte [edx + 0x69]
call fcn.004c4b6c
mov eax, dword [ebx + 0x248]
mov al, byte [eax + 0x68]
mov byte [ebx + 0x25c], al
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
je 0x4b61d3
cmp byte [eax + 0x68], 0
je 0x4b61d3
cmp byte [eax + 0x6a], 0
je 0x4b61d3
mov eax, ebx
call fcn.00449278
xor edx, edx
call fcn.004c4b6c
mov eax, dword [ebx + 0x248]
xor edx, edx
mov dl, byte [eax + 0x69]
cmp edx, dword [ebx + 0x260]
je 0x4b621d
cmp byte [eax + 0x44], 0
je 0x4b621d
cmp byte [eax + 0x68], 0
je 0x4b621d
cmp byte [eax + 0x6a], 0
jne 0x4b620d
mov eax, ebx
call fcn.00449278
mov edx, dword [ebx + 0x248]
mov dl, byte [edx + 0x69]
call fcn.004c4b6c
mov eax, dword [ebx + 0x248]
movzx eax, byte [eax + 0x69]
mov dword [ebx + 0x260], eax
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x68], 0
je 0x4b625c
cmp byte [eax + 0x44], 0
jne 0x4b625c
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x254]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x254]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [ebx + 0x254]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
call fcn.004c4b84
mov eax, ebx
call fcn.004b5770
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov eax, ebx
call fcn.00449278
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, ebx
call fcn.00442908
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
je 0x4b6325
cmp byte [eax + 0x68], 0
je 0x4b6325
cmp byte [eax + 0x6a], 0
je 0x4b6325
xor esi, esi
xor edx, edx
mov dword [ebp - 0x10], edx
movzx edi, byte [eax + 0x69]
mov eax, edi
mov ecx, 0xf
cdq
idiv ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b62d4
mov dword [ebp - 0x18], 1
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4b62f6
cmp eax, 3
jbe 0x4b6321
jmp 0x4b62f8
jle 0x4b6321
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
add esi, dword [ebp - 0x18]
cmp edi, esi
jge 0x4b6309
mov esi, edi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, ebx
call fcn.00449278
mov edx, esi
call fcn.004c4b6c
cmp edi, esi
jg 0x4b62d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b634a
lea eax, [ebp - 0x3c]
call fcn.00404bf0
lea eax, [ebp - 0x14]
call fcn.00404bf0
ret