Function at 0x4830b0
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8918
push 0x4b1894
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x70], esi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov byte [esi + 0x479], bl
mov ecx, dword [esi + 0x3758]
mov dword [ebp - 0x68], ecx
mov edx, dword [esi + 0x3740]
mov dword [ebp - 0x64], edx
mov eax, dword [esi + 0x3744]
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x49c]
mov dword [ebp - 0x5c], ecx
mov eax, dword [esi + 0x484]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 5
cmp eax, ebx
jne 0x48312a
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x50], ebx
mov ecx, dword [0x50b3a0]
mov eax, dword [ecx + 0x11808]
mov edx, 0xa
cmp eax, edx
mov dword [ebp - 0x2c], edx
jb 0x48314b
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x1180c]
cmp eax, edx
mov dword [ebp - 0x38], edx
jb 0x48315b
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x19], bl
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x54], ebx
call edi
mov dword [ebp - 0x4c], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x47c]
test eax, eax
je 0x483197
push 0
push eax
call fcn.0049fc10
add esp, 8
jmp 0x483199
xor al, al
movzx ebx, al
mov dword [ebp - 0x34], ebx
push 0
mov ecx, dword [0x50b39c]
call fcn.00405600
movzx eax, al
mov dword [ebp - 0x84], eax
test eax, eax
je 0x4831ce
mov eax, dword [ebp - 0x38]
cmp eax, 0x3e8
jae 0x4831ca
mov edi, 0x3e8
jmp 0x4831d8
mov edi, eax
jmp 0x4831d8
test ebx, ebx
mov edi, dword [ebp - 0x38]
je 0x4831ee
mov edi, dword [ebp - 0x2c]
test ebx, ebx
je 0x4831ee
push 1
push 0x57d
mov ecx, dword [0x50b3a4]
call fcn.00450200
cmp dword [ebp - 0x58], 0
jne 0x483210
mov eax, dword [esi + 0x484]
test eax, eax
je 0x483210
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48323d
jmp 0x483a15
cmp dword [esi], 0
je 0x48323d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [ebp - 0x4c]
cmp eax, 0x1f4
jb 0x48323d
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483a15
call ebx
mov dword [ebp - 0x4c], eax
push edi
push 0
lea eax, [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x483279
xor edi, edi
test ebx, ebx
jbe 0x483279
lea esp, [esp]
push 0
mov ecx, dword [ebp + edi*4 - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x483274
mov dword [ebp - 0x24], edi
inc edi
cmp edi, ebx
jb 0x483260
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x483a1c
cmp eax, 4
je 0x483a1c
cmp eax, 3
je 0x48329b
cmp byte [esi + 0x4a4], 0
je 0x4832b6
mov ecx, esi
call fcn.0047dca0
mov byte [esi + 0x4a4], 0
mov edx, dword [esi + 0x4a0]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x24], 2
sete al
test al, al
jne 0x4832e2
cmp dword [esi + 0x3748], 0
je 0x4832de
push 0
mov eax, dword [esi + 0x3744]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
test al, al
je 0x483320
cmp dword [esi + 0x480], 0
je 0x483309
cmp byte [esi + 0x490], 0
je 0x483309
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x374c], eax
push 1
mov ecx, esi
call fcn.0047aea0
mov ecx, dword [esi + 0x3744]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x3748], 0
cmp dword [ebp - 0x24], 1
je 0x483336
push 0
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x483370
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [ebp - 0x58], 0
jne 0x483370
mov eax, dword [esi + 0x484]
test eax, eax
je 0x483370
cmp dword [ebp + 8], 0
jne 0x48335f
cmp dword [esi + 0x378c], 0
je 0x483370
mov dword [ebp + 8], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 5
mov edi, dword [ebp + 0xc]
cmp dword [edi], 0
jne 0x4833ad
cmp dword [esi + 0x3cc0], 0
jle 0x4833ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x78]
cmp eax, 0x3e8
jbe 0x4833ad
mov dword [edi], 1
mov dword [esi + 0x6544], 1
push esi
mov ecx, dword [0x50b39c]
call fcn.00409460
cmp dword [esi + 0x44a4], 0
jne 0x4833e0
mov ecx, dword [0x50b3a0]
cmp byte [ecx + 0x1181c], 0
jne 0x4833e0
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4833e0
push 1
push 0
mov eax, dword [esi]
push eax
mov ecx, esi
call fcn.00477bc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
wait
mov dword [ebp - 4], 0
cmp byte [esi + 0x479], 0
je 0x483407
mov byte [esi + 0x479], 0
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [esi + 0x3bf8]
cmp eax, dword [ebp - 0x54]
setne bl
mov byte [ebp - 0x25], bl
test bl, bl
je 0x483425
mov byte [ebp - 0x19], 1
mov byte [esi + 0x3bfc], 1
cmp dword [esi + 0x3bec], eax
je 0x483451
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x653c], eax
test bl, bl
jne 0x48361c
mov ecx, dword [esi + 0x3bf8]
call fcn.0046d420
jmp 0x483618
cmp dword [esi + 0x3ec8], 0
jne 0x483620
cmp dword [esi + 0x4fe8], 0
je 0x483620
mov byte [ebp - 0x1e], 0
push 1
mov ecx, esi
call fcn.00477130
mov edi, eax
mov dword [ebp - 0x6c], edi
xor ebx, ebx
cmp edi, ebx
jne 0x4834cc
push ebx
mov ecx, esi
call fcn.00477130
cmp eax, ebx
je 0x4834b0
xor ecx, ecx
mov dword [ebp - 0x80], ecx
cmp ecx, dword [esi + 0x3ec4]
jae 0x4834b0
cmp dword [esi + ecx*4 + 0x3cc4], eax
jne 0x48350b
mov edi, eax
mov dword [ebp - 0x6c], edi
mov dword [esi + 0x66e8], eax
cmp edi, ebx
jne 0x4834cc
cmp dword [ebp - 0x30], ebx
je 0x4834c8
push ebx
mov ecx, esi
call fcn.0047fbe0
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x1e], 1
cmp edi, ebx
je 0x483518
cmp dword [ebp - 0x30], edi
je 0x483518
mov dword [esi + 0x653c], ebx
mov dword [ebp - 0x30], edi
mov ecx, esi
call fcn.00482960
test eax, eax
jne 0x483514
cmp dword [esi + 0x66e8], edi
jne 0x483514
mov dword [ebp - 0x74], eax
cmp eax, dword [esi + 0x3ec4]
jae 0x48350e
cmp dword [esi + eax*4 + 0x3cc4], edi
jne 0x483508
mov dword [esi + eax*4 + 0x3cc4], ebx
inc eax
jmp 0x4834ed
inc ecx
jmp 0x483491
mov dword [esi + 0x66e8], ebx
mov byte [ebp - 0x1e], 1
xor bl, bl
test edi, edi
je 0x483580
cmp dword [esi + 0x5508], 0
je 0x483580
lea ecx, [esi + 0x44d8]
call fcn.004ad4c0
test eax, eax
je 0x483580
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x653c]
test eax, eax
je 0x48355e
mov ecx, edi
sub ecx, eax
mov edx, dword [0x50b3a0]
mov eax, dword [edx + 0x1240]
shr eax, 1
cmp ecx, eax
jb 0x483580
push 1
push 0
lea ecx, [esi + 0x44d8]
call fcn.004ad510
test eax, eax
jne 0x483582
test edi, edi
jne 0x48357a
mov edi, 1
mov dword [esi + 0x653c], edi
mov bl, 1
push 0
mov ecx, esi
call fcn.004783a0
test al, al
je 0x4835c7
cmp byte [ebp - 0x1f], bl
jne 0x48359a
cmp byte [ebp - 0x1d], 0
jne 0x4835ae
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x20
mov ecx, esi
call fcn.00478bf0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 0x1d], 1
cmp byte [ebp - 0x1e], 0
je 0x4835cb
push 0
mov ecx, dword [0x50b39c]
call fcn.00411df0
jmp 0x4835cb
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1f], bl
push 1
push 0
lea ecx, [esi + 0x4dd4]
call fcn.004ad510
test eax, eax
jne 0x483620
cmp dword [esi + 0x44c8], eax
je 0x48360d
mov eax, dword [esi + 0x484]
test eax, eax
je 0x48360d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48360d
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x483a1c
mov ecx, dword [esi + 0x3bec]
call fcn.00472db0
test eax, eax
je 0x483620
mov byte [ebp - 0x19], 1
xor bl, bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1c], bl
xor edi, edi
cmp dword [ebp - 0x34], edi
je 0x483637
cmp dword [ebp - 0x84], edi
je 0x48367c
cmp byte [ebp - 0x25], 0
jne 0x48364c
mov ecx, dword [esi + 0x3bf8]
call fcn.0046d420
test eax, eax
je 0x48367c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 0x3c04]
cmp ecx, 0x1f4
jbe 0x48367c
mov dword [esi + 0x3c04], eax
mov ecx, dword [esi + 0x47c]
call fcn.004aabe0
test al, al
je 0x48367c
mov bl, 1
mov byte [ebp - 0x1b], bl
cmp dword [esi + 0x6540], edi
jne 0x48368c
cmp dword [esi + 0x4490], edi
je 0x4836a9
mov byte [ebp - 0x19], 1
mov dword [esi + 0x4490], edi
mov dword [esi + 0x6540], edi
mov ecx, esi
call fcn.004781b0
mov byte [ebp - 0x1b], 1
jmp 0x4836cb
test bl, bl
jne 0x4836cb
cmp dword [esi + 0x3724], edi
jne 0x4836c1
test dword [esi + 0x4498], 0x60000
je 0x4836c7
mov byte [ebp - 0x1b], 1
jmp 0x4836cb
test bl, bl
je 0x4836dd
mov ecx, esi
call fcn.0047f330
mov ecx, dword [esi + 0x3bec]
call fcn.00473aa0
cmp word [esi + 0x3728], 0xffff
jne 0x483717
cmp word [esi + 0x372a], di
jl 0x483717
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x372c]
cmp eax, 0x5dc
jb 0x483717
or ecx, 0xffffffff
mov word [esi + 0x372a], cx
mov dword [esi + 0x372c], edi
mov byte [ebp - 0x1c], 1
mov eax, dword [esi + 4]
cmp eax, edi
je 0x48373c
cmp dword [ebp - 0x34], 0
je 0x48373c
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, eax
cmp edi, dword [ebp - 0x50]
je 0x48373c
mov ecx, esi
call fcn.00478390
mov dword [ebp - 0x50], edi
mov ecx, dword [esi]
test ecx, ecx
jne 0x483747
cmp dword [esi + 4], ecx
je 0x483763
mov eax, dword [esi + 4]
test eax, eax
jne 0x483750
mov eax, ecx
push 0x3ff
lea edx, [esi + 0x14d6]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x2f18], 0
jne 0x48380f
lea ecx, [esi + 0x14d6]
lea eax, [esi + 0xcd4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4837a6
test dx, dx
je 0x4837a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4837a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x483780
xor eax, eax
jmp 0x4837ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48380f
cmp dword [ebp - 0x34], eax
je 0x4837c8
push eax
mov ecx, esi
call fcn.0047d8a0
push eax
mov ecx, dword [0x50b39c]
call fcn.00416130
cmp byte [ebp - 0x1c], 0
je 0x4837d9
mov ecx, dword [0x50b39c]
call fcn.0040c600
push 0
mov ecx, esi
call fcn.004783a0
mov byte [ebp - 0x7c], al
test al, al
jne 0x483826
mov ecx, esi
call fcn.00478410
test al, al
jne 0x483826
cmp byte [ebp - 0x19], al
je 0x4838ec
push 0
mov ecx, dword [esi + 0x47c]
call fcn.004a5a10
jmp 0x4838ec
mov dword [esi + 0x2f18], 0
mov ecx, esi
call fcn.0047f5b0
mov byte [ebp - 0x1c], 0
jmp 0x4837d9
xor bl, bl
mov byte [ebp - 0x1a], bl
cmp dword [ebp - 0x24], 1
je 0x4838ff
cmp byte [ebp - 0x19], bl
jne 0x4838ff
mov eax, dword [ebp - 0x7c]
push eax
push 0
mov ecx, esi
call fcn.0047dfd0
push eax
mov ecx, dword [0x50b3a0]
call fcn.004430b0
mov ecx, eax
call fcn.00476960
test al, al
je 0x48389f
cmp dword [esi + 0x6544], 0
je 0x48389f
mov byte [ebp - 0x20], bl
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [esi + 0x47c]
call fcn.004a63a0
cmp byte [ebp - 0x20], bl
je 0x4838ce
cmp byte [esi + 0x44d2], 2
jbe 0x483899
push 0
push str.Invalidating_from_CRealConsole::MonitorThread.1
mov ecx, esi
call fcn.00477450
mov byte [ebp - 0x1a], 1
jmp 0x4838d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x66ec]
cmp eax, 0x12c
jbe 0x4838ce
cmp byte [esi + 0x44d2], 2
jbe 0x4838c9
push 0
push str.Invalidating_from_CRealConsole::MonitorThread.2
mov ecx, esi
call fcn.00477450
mov bl, 1
mov byte [ebp - 0x1a], bl
test bl, bl
je 0x4838ec
mov ecx, dword [esi + 0x47c]
add ecx, 8
call fcn.0049d200
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x66ec], eax
mov edx, dword [esi + 0x3bf8]
mov dword [ebp - 0x54], edx
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x483963
mov byte [ebp - 0x19], 0
cmp byte [esi + 0x44d2], 2
jbe 0x48391a
push 0
push 0x4def18
mov ecx, esi
call fcn.00477450
push 0
push 0
mov ecx, dword [esi + 0x47c]
call fcn.004ab5e0
test al, al
je 0x4838ce
mov byte [ebp - 0x1a], 0
jmp 0x4838ec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, 0xa
jae 0x483976
mov eax, 0xa
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
test eax, eax
jge 0x483986
fadd qword [0x4cebf8]
fmul qword [0x4def10]
mov edx, dword [ebp - 0x2c]
fild dword [ebp - 0x2c]
test edx, edx
jge 0x48399c
fadd qword [0x4cebf8]
fmul qword [str.ffffff]
faddp st(1)
fnstcw word [ebp - 0x26]
movzx eax, word [ebp - 0x26]
or eax, 0xc00
mov dword [ebp - 0x40], eax
fldcw word [ebp - 0x40]
fistp qword [ebp - 0x44]
fldcw word [ebp - 0x26]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
cmp eax, 0x3e8
jbe 0x4839d0
mov dword [ebp - 0x2c], 0x3e8
cmp dword [ebp - 0x3c], 0
je 0x4839dd
mov dword [ebp - 0x3c], 0
mov eax, dword [esi + 0x3c08]
test eax, eax
je 0x483180
cmp eax, dword [esi + 0x480]
jne 0x483180
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x3c0c]
cmp eax, 0x7d0
jb 0x483180
mov ecx, esi
call fcn.004782e0
mov dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8