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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
mov esi, edx
lea edi, [ebp - 0x24]
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 0x4b16ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x25a], 1
mov eax, ebx
call fcn.004b1c80
mov esi, eax
mov dword [ebx + 0x248], esi
test esi, esi
je 0x4b16d0
cmp byte [esi + 0x38], 0
je 0x4b16d0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4b12dd
cmp byte [eax + 0x7c], 0
jne 0x4b12dd
mov edx, dword [eax + 0x78]
cmp dword [edx + 4], 0xffffffff
jne 0x4b12e1
xor edx, edx
jmp 0x4b12e3
mov dl, 1
test dl, dl
je 0x4b12ef
mov dword [ebx + 0x250], eax
jmp 0x4b12f7
xor eax, eax
mov dword [ebx + 0x250], eax
mov eax, dword [ebx + 0x250]
test eax, eax
je 0x4b134c
mov edi, dword [ebx + 0x208]
mov esi, dword [eax + 0x78]
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x4c], 0
je 0x4b1339
mov edx, dword [esi + 0x44]
mov eax, dword [edi + 0xc]
call fcn.00427970
mov edx, dword [esi + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.004279b0
mov dl, byte [esi + 0x40]
mov eax, dword [edi + 0xc]
call fcn.00427a54
jmp 0x4b1363
mov eax, dword [ebx + 0x248]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4b1363
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 0x4b138c
cmp dword [eax + 0x40], 0
je 0x4b138c
mov eax, dword [eax + 0x40]
mov dl, byte [eax + 0x34]
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
call fcn.00427ab8
jmp 0x4b13a4
mov eax, dword [esi + 0x48]
call fcn.00427ab0
mov edx, eax
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
call fcn.00427ab8
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
call fcn.00404910
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004b110c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0044e130
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 - 0x38]
mov eax, ebx
call fcn.0044e100
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x208]
mov eax, ebx
call fcn.004b1700
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x571988]
mov eax, dword [eax]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x4b1468
mov eax, dword [0x571988]
mov eax, esi
call fcn.00454938
lea ecx, [ebp - 0x34]
mov dl, 1
call fcn.004d9910
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4b1443
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jle 0x4b151b
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
jmp 0x4b151b
mov eax, dword [0x57164c]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x4b14d1
mov eax, dword [0x57164c]
cmp byte [esi + 0x57], 0
je 0x4b14d1
mov eax, dword [0x57164c]
mov eax, esi
call fcn.00454938
lea ecx, [ebp - 0x34]
mov dl, 1
call fcn.004d9910
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jle 0x4b14b3
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jle 0x4b151b
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
jmp 0x4b151b
mov eax, dword [0x571988]
mov eax, dword [eax]
call fcn.0046b738
cmp eax, dword [ebp - 0x1c]
jge 0x4b14f6
push 0
mov eax, dword [ebp - 8]
neg eax
sub eax, 2
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [0x571988]
mov eax, dword [eax]
call fcn.0046b72c
cmp eax, dword [ebp - 0x18]
jge 0x4b151b
mov eax, dword [ebp - 0xc]
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_OffsetRect
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0044dac0
call fcn.004d4680
test al, al
je 0x4b1616
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
je 0x4b156d
cmp byte [ebx + 0x258], 0
jne 0x4b156d
push 0xffffffffffffffec
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4b15a6
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
jne 0x4b15a6
cmp byte [ebx + 0x258], 0
je 0x4b15a6
push 0xffffffffffffffec
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x248]
mov al, byte [eax + 0x44]
mov byte [ebx + 0x258], al
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
je 0x4b15d5
cmp byte [eax + 0x46], 0
je 0x4b15d5
mov eax, ebx
call fcn.00454938
xor edx, edx
call fcn.004d46bc
mov eax, dword [ebx + 0x248]
mov dl, byte [eax + 0x45]
cmp dl, byte [ebx + 0x259]
je 0x4b1616
cmp byte [eax + 0x44], 0
je 0x4b1616
cmp byte [eax + 0x46], 0
jne 0x4b1607
mov eax, ebx
call fcn.00454938
mov edx, dword [ebx + 0x248]
mov dl, byte [edx + 0x45]
call fcn.004d46bc
mov eax, dword [ebx + 0x248]
mov al, byte [eax + 0x45]
mov byte [ebx + 0x259], al
mov eax, ebx
call fcn.004b1194
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
mov eax, ebx
call fcn.00454938
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, ebx
call fcn.0044e020
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
call fcn.004d4680
test al, al
je 0x4b16d0
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x44], 0
je 0x4b16d0
mov eax, dword [ebx + 0x248]
cmp byte [eax + 0x46], 0
je 0x4b16d0
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x248]
movzx edi, byte [eax + 0x45]
call sub.kernel32.dll_GetTickCount
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 0x4b16a1
cmp eax, 3
jbe 0x4b16cc
jmp 0x4b16a3
jle 0x4b16cc
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
add esi, 0x14
cmp edi, esi
jge 0x4b16b4
mov esi, edi
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, ebx
call fcn.00454938
mov edx, esi
call fcn.004d46bc
cmp edi, esi
jg 0x4b167f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b16f5
lea eax, [ebp - 0x38]
call fcn.00404878
lea eax, [ebp - 0x14]
call fcn.00404878
ret