Function at 0x4800f5
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push 0x1f4
mov eax, 0x537cc4
call fcn.00500c07
mov ebx, ecx
mov dword [ebp - 0x1c4], ebx
mov edi, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x1b8], ecx
cmp dword [ebx + 0xa8], eax
je 0x4827d6
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [ebx + 0x46c]
mov dword [ebp - 0x1cc], ecx
test eax, eax
je 0x48014d
mov eax, dword [eax + 4]
mov dword [ebp - 0x1bc], eax
xor eax, eax
inc eax
cmp ecx, dword [ebp - 0x1bc]
jge 0x48022f
xor eax, eax
lea edi, [ebp - 0x189]
mov byte [ebp - 0x189], al
mov eax, dword [ebx + 0x46c]
push edi
mov edi, dword [ebp - 0x1b0]
push edx
mov ecx, dword [eax + ecx*4]
push edi
push esi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 0x189], 0
jne 0x48019f
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x180]
inc ecx
jmp 0x48013a
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx], eax
sub esi, 0x7b
je 0x4801cc
sub esi, 0x185
je 0x480214
sub esi, 1
je 0x480214
sub esi, 1
je 0x480214
sub esi, 1
je 0x480214
sub esi, 7
jne 0x48026e
mov ecx, dword [ebp - 0x180]
movsx eax, cx
mov dword [ebp - 0x188], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x184]
mov dword [ebx + 0x120], eax
mov dword [ebx + 0x124], ecx
jmp 0x48026e
mov eax, dword [ebp - 0x180]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x120], ecx
mov dword [ebx + 0x124], eax
jmp 0x48026e
cmp byte [ebx + 0x172], 0
je 0x480279
mov ecx, esi
sub ecx, 0x83
je 0x480275
dec ecx
sub ecx, 1
je 0x480275
sub ecx, 1
jne 0x480279
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4827d6
test edi, edi
sete al
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx], eax
mov al, 1
jmp 0x4827d8
xor eax, eax
jmp 0x480266
mov ecx, 0x133
cmp esi, ecx
ja 0x48168a
je 0x481ffd
cmp esi, 0x24
ja 0x4812fa
je 0x481242
sub esi, 5
je 0x4811d4
dec esi
sub esi, 1
je 0x48118c
sub esi, 1
je 0x481166
sub esi, 7
je 0x4804c3
sub esi, 1
je 0x4803d5
sub esi, 4
je 0x4803c5
sub esi, 0xc
jne 0x4827d6
cmp dword [ebx + 0x104], esi
je 0x4827d6
cmp dx, ax
jne 0x4827d6
cmp byte [ebx + 0x405], 0
jne 0x48026e
lea eax, [ebp - 0x188]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x188], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x184]
mov ecx, ebx
push dword [ebp - 0x188]
call fcn.004849bc
mov esi, eax
test esi, esi
je 0x4827d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, 2
je 0x4827d6
mov ecx, dword [ebp - 0x184]
xor eax, eax
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1ac], 0x1a
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.0047e6c8
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0x1ac]
push eax
call dword [edx + 0x1c0]
jmp 0x48026e
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4827d8
mov ecx, dword [ebx + 0x124]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x198], ax
mov eax, dword [ebx + 0x120]
movlpd qword [ebp - 0x1ac], xmm0
movlpd qword [ebp - 0x194], xmm0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.0047e6c8
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x1a4], eax
test ecx, ecx
je 0x48044a
mov dword [ebp - 0x1ac], 0xa
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c0]
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x480473
mov dword [ebp - 0x1ac], 0xe
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, ebx
push eax
call fcn.00482e34
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4804a1
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4804a1
push eax
call dword [0x53e5e0]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4827d6
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [ebx + 0xc8], eax
jmp 0x4827d6
mov esi, dword [ebx + 0xa8]
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x480530
push 0x40
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00504db0
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebx + 0xac]
lea edi, [ebp - 0x44]
xor eax, eax
lea edx, [ebp - 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push 0xff000000
call fcn.004a9131
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x48026e
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x48026e
mov edx, dword [ebp - 0x50]
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x58]
sub eax, dword [ebp - 0x54]
mov byte [ebp - 0x189], cl
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x1d4], eax
mov byte [ebx + 0x406], 1
cmp byte [ebx + 0x16d], cl
je 0x4807af
cmp byte [ebx + 0x16e], cl
jne 0x4807af
lea eax, [ebp - 0x58]
mov byte [ebx + 0x16d], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x480826
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x480826
mov eax, dword [ebx + 0x104]
cmp byte [eax + 0x1ac], 0
je 0x48069d
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x58]
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]
test eax, eax
je 0x480601
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x480612
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x480623
push eax
call dword [0x53e094]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x480634
push eax
call dword [0x53e094]
xor eax, eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xc0], eax
cmp byte [ebx + 0x172], al
je 0x48067a
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x24]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
xor ecx, ecx
jmp 0x480740
lea esi, [ebx + 0x514]
mov ecx, esi
mov dword [ebp - 0x1c0], esi
call fcn.0047cab0
mov ecx, dword [ebx + 0x104]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x484b94
mov eax, dword [ecx]
call dword [eax + 0x1b4]
xor ecx, ecx
mov ebx, ecx
mov eax, ecx
test esi, esi
je 0x4806d7
mov eax, dword [esi + 4]
cmp ebx, eax
jge 0x48073a
mov eax, dword [esi]
mov esi, dword [eax + ebx*4]
mov ecx, esi
mov dword [ebp - 0x1b0], esi
mov eax, dword [esi]
call dword [eax + 0x1a4]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1bc], edx
test al, al
jne 0x480706
call dword [edx + 0x9c]
jmp 0x480710
lea eax, [ebp - 0x44]
push eax
call dword [edx + 0x94]
mov ecx, dword [ebp - 0x1b0]
mov esi, eax
mov eax, dword [ebp - 0x1bc]
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
mov esi, dword [ebp - 0x1c0]
inc ebx
xor ecx, ecx
jmp 0x4806ce
mov ebx, dword [ebp - 0x1c4]
cmp byte [ebx + 0x16c], 0
mov byte [ebp - 0x189], 1
je 0x480826
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x16c], cl
mov ecx, ebx
call fcn.00483447
cmp byte [ebx + 0x172], 0
je 0x480795
cmp byte [ebx + 0x184], 0
je 0x480795
mov ecx, ebx
call fcn.004827e0
xor eax, eax
mov byte [ebx + 0x406], al
jmp 0x48026e
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x6c4]
call fcn.004c2b8a
mov byte [ebp - 0x189], 1
jmp 0x480826
cmp byte [ebx + 0x172], cl
je 0x480826
cmp byte [ebx + 0x184], cl
je 0x480826
mov ecx, dword [ebx + 0xbc]
lea esi, [ebp - 0x58]
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]
test ecx, ecx
je 0x4807e6
imul eax, edx
shl eax, 2
push eax
xor eax, eax
push eax
push ecx
call fcn.00504db0
add esp, 0xc
mov eax, dword [ebx + 0x174]
lea esi, [ebp - 0x24]
add dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x104]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
cmp byte [ebx + 0x172], 0
je 0x480891
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x480858
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [ebx + 0x188]
mov byte [ebx + 0x170], 1
push edi
lea eax, [ebp - 0x34]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x50]
cmovg eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x4c]
cmovg eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [ebx + 0x170], 0
je 0x4808db
cmp dword [ebx + 0xb8], 0
jne 0x4808db
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x180]
mov ecx, dword [ebx + 0xac]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x1d4]
call fcn.004ac93d
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.00504db0
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x170], 0
je 0x48109c
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x184], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x172], 0
mov dword [ebp - 0x1b4], eax
je 0x4809ab
mov esi, dword [ebp - 0x4c]
mov edx, esi
sub edx, dword [ebp - 0x28]
mov ecx, esi
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1b0], edx
cmp edx, ecx
jge 0x4809ab
mov eax, dword [ebp - 0x180]
mov edi, edx
imul edi, eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x2c]
jge 0x480993
lea esi, [ecx + edi]
shl esi, 2
mov eax, dword [ebx + 0xbc]
and dword [esi + eax], 0
inc ecx
lea esi, [esi + 4]
cmp ecx, dword [ebp - 0x2c]
jl 0x480971
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x180]
add edi, eax
inc edx
mov eax, esi
mov dword [ebp - 0x1b0], edx
sub eax, dword [ebp - 0x30]
cmp edx, eax
mov eax, dword [ebp - 0x180]
jl 0x480963
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x34]
push 0
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x1d0]
xor edx, edx
cmp byte [ebx + 0x172], dl
je 0x480c00
mov edi, edx
lea ecx, [ebx + 0x49c]
mov eax, edx
test ecx, ecx
je 0x4809e4
mov eax, dword [ecx + 4]
cmp edi, eax
jge 0x480c00
mov eax, dword [ecx]
mov esi, dword [eax + edi*4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x480a18
push edi
lea ecx, [ebx + 0x49c]
call fcn.0047ccbf
push edi
lea ecx, [ebx + 0x4b4]
call fcn.0047ccbf
xor edx, edx
jmp 0x4809d5
inc edi
push esi
mov dword [ebp - 0x1bc], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea ecx, [ebx + 0x49c]
push 0
pop edx
test eax, eax
je 0x4809db
push esi
lea eax, [ebp - 0x17c]
mov ecx, ebx
push eax
call fcn.004833db
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
add dword [ebx - 0x1bb43], ecx
dec dword [ebp + 0x49c8b]
add byte [edx], ch
pop edx
test eax, eax
je 0x4809db
push dword [ebx + 0xb0]
xor eax, eax
mov dword [ebp - 0x1cc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x170]
mov edi, eax
sub ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x1cc]
mov edx, dword [ebp - 0x174]
sub edx, dword [ebp - 0x17c]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x1b8], edi
call fcn.004ac93d
mov edx, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x174]
sub edx, dword [ebp - 0x178]
sub ecx, dword [ebp - 0x17c]
imul edx, ecx
mov dword [ebp - 0x1b0], eax
xor eax, eax
shl edx, 2
push edx
push eax
push dword [ebp - 0x1cc]
call fcn.00504db0
add esp, 0x14
push dword [ebp - 0x1b0]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push esi
mov dword [ebp - 0x1d8], eax
call dword [0x53e4ec]
mov esi, dword [ebp - 0x170]
xor eax, eax
mov edx, dword [ebp - 0x17c]
mov ecx, esi
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x178]
sub ecx, eax
test ecx, ecx
mov ecx, dword [ebp - 0x174]
jle 0x480bb7
mov ebx, eax
xor eax, eax
mov edi, eax
mov eax, ecx
sub eax, edx
test eax, eax
jle 0x480b90
mov ebx, dword [ebp - 0x1c8]
mov esi, dword [ebp - 0x1cc]
imul eax, ebx
add eax, edi
mov esi, dword [esi + eax*4]
test esi, esi
je 0x480b7b
mov ecx, dword [ebp - 0x1cc]
or esi, 0xff000000
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x17c]
mov eax, ecx
inc edi
sub eax, edx
cmp edi, eax
jl 0x480b4e
mov esi, dword [ebp - 0x170]
mov ebx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x1c8]
mov eax, esi
inc edi
sub eax, ebx
mov dword [ebp - 0x1c8], edi
cmp edi, eax
jl 0x480b3c
mov ebx, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x178]
mov edi, dword [ebp - 0x1b8]
push 0xcc0020
push 0
push 0
push edi
sub esi, eax
sub ecx, edx
push esi
push ecx
push eax
push edx
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1b0]
call dword [0x53e094]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1bc]
jmp 0x480a14
mov esi, edx
lea edi, [ebx + 0x484]
mov eax, edx
test edi, edi
je 0x480c11
mov eax, dword [edi + 4]
cmp esi, eax
jge 0x480c31
mov eax, dword [edi]
lea edx, [ebp - 0x34]
push edx
push dword [ebx + 0xb0]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x1f4]
inc esi
xor edx, edx
jmp 0x480c08
push dword [ebp - 0x1b4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x172], 0
je 0x480ff9
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
cmp word [eax], cx
mov ecx, edx
je 0x480ed5
mov eax, dword [ebp - 0x50]
lea esi, [ebp - 0x58]
sub eax, dword [ebp - 0x58]
lea edi, [ebp - 0x24]
sub ecx, dword [ebp - 0x54]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebx + 0x174]
add eax, dword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1b4], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x178]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x180]
sub dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x480d3c
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1b4]
lea esi, [ebx + 0xc4]
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebx + 0xac]
push esi
push edi
mov dword [ebx + 0xb4], eax
call fcn.004ac93d
imul edi, dword [ebp - 0x1b8]
mov dword [ebx + 0xc0], eax
xor eax, eax
shl edi, 2
push edi
push eax
push dword [esi]
call fcn.00504db0
add esp, 0x14
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 1
sub esp, 0x10
jmp 0x480d63
cmp byte [ebx + 0x184], al
je 0x480dae
imul ecx, dword [ebp - 0x1b8]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00504db0
mov dword [ebp - 4], 2
push ecx
mov ecx, dword [ebx + 0xb4]
lea esi, [ebp - 0x24]
mov edi, esp
lea edx, [ebp - 0x1a8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a6667
mov ecx, dword [ebx + 0xb4]
xor eax, eax
push eax
lea eax, [ebx + 0x198]
mov edx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
push eax
call fcn.004a8e80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
add esp, 0x20
call fcn.004a6644
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x30]
mov ecx, edx
sub ecx, dword [ebp - 0x28]
mov eax, edx
sub eax, edi
mov dword [ebp - 0x1c0], ecx
cmp ecx, eax
jge 0x480f6e
mov eax, dword [ebp - 0x1b8]
mov esi, ecx
imul esi, eax
mov dword [ebp - 0x1c8], 0xff
mov dword [ebp - 0x1b0], esi
mov ebx, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x1bc], ebx
mov ebx, dword [ebp - 0x1c4]
jge 0x480eaf
mov edi, dword [ebp - 0x1bc]
mov eax, dword [ebx + 0xc4]
lea ecx, [edi + esi]
lea ebx, [edi + esi]
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1b4], edx
mov edi, dword [eax + 0xbc]
mov ecx, dword [ebx + edi]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edx
xor edx, edx
shr ecx, 8
div dword [ebp - 0x1c8]
xor edx, edx
movzx esi, al
movzx eax, cl
mov ecx, dword [ebp - 0x1b4]
imul eax, ecx
shl esi, 8
div dword [ebp - 0x1c8]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ebx + edi]
imul eax, ecx
shl esi, 8
shl ecx, 0x18
div dword [ebp - 0x1c8]
movzx eax, al
or esi, eax
add esi, ecx
mov dword [ebx + edi], esi
mov edi, dword [ebp - 0x1bc]
mov ebx, dword [ebp - 0x1c4]
inc edi
mov esi, dword [ebp - 0x1b0]
mov dword [ebp - 0x1bc], edi
cmp edi, dword [ebp - 0x2c]
jl 0x480e01
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b8]
add esi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1c0], ecx
sub eax, edi
mov dword [ebp - 0x1b0], esi
cmp ecx, eax
mov eax, dword [ebp - 0x1b8]
jl 0x480de3
jmp 0x480f6e
sub ecx, dword [ebp - 0x28]
mov eax, edx
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c0], ecx
cmp ecx, eax
jge 0x480f6e
mov eax, dword [ebp - 0x180]
mov edi, ecx
imul edi, eax
mov dword [ebp - 0x1c8], 0xff
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x2c]
jge 0x480f56
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + esi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x480f3f
cmp byte [eax + edx], 0
jne 0x480f32
cmp byte [eax + edx + 1], 0
jne 0x480f32
cmp byte [eax + edx + 2], 0
je 0x480f3f
mov ecx, dword [ebp - 0x1c8]
mov byte [eax + edx + 3], cl
mov ecx, dword [ebp - 0x2c]
inc esi
add eax, 4
cmp esi, ecx
jl 0x480f11
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x180]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1c0], ecx
sub eax, dword [ebp - 0x30]
cmp ecx, eax
mov eax, dword [ebp - 0x180]
jl 0x480f00
mov al, byte [ebx + 0x171]
xor ecx, ecx
mov byte [ebp - 0x1ca], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1d4]
push 2
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1cc]
push eax
push ecx
lea eax, [ebp - 0x1dc]
mov word [ebp - 0x1cc], cx
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x1e4]
mov byte [ebp - 0x1c9], 1
push eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x1dc], ecx
push eax
push dword [ebx + 0xac]
mov dword [ebp - 0x1d8], ecx
push dword [ebx + 0xa8]
call dword [0x58ee6c]
jmp 0x48102a
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0xcc0020
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x184]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x48110c
cmp byte [ebx + 0x172], 0
jne 0x48110c
push dword [0x58ee70]
push dword [ebx + 0xac]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0xac]
call edi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x48110c
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x184], eax
xor eax, eax
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ecx]
push eax
push dword [ebx + 0xac]
call dword [edx + 0x1d0]
xor eax, eax
lea edi, [ebx + 0x484]
mov esi, eax
test edi, edi
je 0x4810da
mov eax, dword [edi + 4]
cmp esi, eax
jge 0x4810fa
mov eax, dword [edi]
lea edx, [ebp - 0x34]
push edx
push dword [ebx + 0xac]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x1f4]
inc esi
xor eax, eax
jmp 0x4810d3
push dword [ebp - 0x184]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0xe4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov byte [ebx + 0x406], al
mov byte [ebx + 0x184], al
cmp byte [ebx + 0x16d], al
je 0x48113e
mov ecx, ebx
call fcn.004827e0
xor eax, eax
cmp byte [ebp - 0x189], 0
je 0x48026e
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.00483447
jmp 0x48026e
cmp byte [ebx + 0x405], 0
je 0x4827d6
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov byte [ebx + 0x405], al
mov byte [ebx + 0x794], al
jmp 0x4827d6
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4827d6
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x18
xor ecx, ecx
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x84]
mov dword [ebp - 0x7c], eax
jmp 0x4827cd
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x48122a
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0x19
xor ecx, ecx
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x48026e
call fcn.004706e7
jmp 0x48026e
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x28
push eax
xor eax, eax
inc eax
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x68], 1
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x48129d
mov eax, dword [ebp - 0x74]
neg eax
push eax
mov eax, dword [ebp - 0x78]
neg eax
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x128]
mov eax, dword [ebp - 0x180]
test ecx, ecx
jle 0x4812b0
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4812bd
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4812ca
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x134]
test ecx, ecx
jle 0x4812d7
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4812e4
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x134]
test ecx, ecx
jle 0x4827d6
mov dword [eax + 0xc], ecx
jmp 0x4827d6
sub esi, 0x4e
je 0x48166e
sub esi, 0x2d
je 0x481588
sub esi, 0x85
je 0x4814f3
sub esi, 1
je 0x481468
sub esi, 1
je 0x4813f4
sub esi, 0xf
je 0x4813e0
dec esi
sub esi, 1
jne 0x4827d6
xor eax, eax
lea edx, [ebx + 0x424]
mov ecx, eax
test edx, edx
je 0x48134e
mov eax, dword [edx + 4]
cmp ecx, eax
jge 0x4827d6
mov eax, dword [edx]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0xa8]
jne 0x481374
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x481374
cmp byte [esi + 0x10], 0
je 0x481379
inc ecx
xor eax, eax
jmp 0x481347
xor eax, eax
mov dword [ebp - 0x1ac], 0x1b
mov word [ebp - 0x198], ax
mov eax, dword [esi]
mov dword [ebp - 0x1a8], eax
invalid
invalid
jl 0x481345
invalid