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

Disassembly:
push 0x1dc
mov eax, 0x53373b
call fcn.00505804
mov ebx, ecx
mov dword [ebp - 0x1e4], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1cc], eax
xor eax, eax
mov dword [ebp - 0x1c0], eax
cmp dword [ebx + 0xa8], eax
je 0x49af8d
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c4], eax
call fcn.00494e31
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1ac]
test eax, eax
jle 0x49885a
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1b9], 0
call fcn.0049491c
lea ecx, [ebp - 0x1b9]
push ecx
push esi
push dword [ebp - 0x1b8]
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
cmp byte [ebp - 0x1b9], 0
jne 0x4988ad
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x4b4]
call fcn.00494e31
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x49880e
cmp byte [ebx + 0x16d], 0
push 2
pop ecx
je 0x49893f
mov eax, edi
sub eax, 0x83
je 0x498934
sub eax, ecx
je 0x498934
dec eax
jne 0x49893f
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4999fc
cmp dword [ebp - 0x1b8], eax
sete al
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
jmp 0x498918
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
cmp edi, 0x7b
je 0x4988d2
cmp edi, 0x1ff
jbe 0x498918
cmp edi, 0x203
jbe 0x49891f
cmp edi, 0x20a
jne 0x498918
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b4]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0x120], eax
mov al, 1
jmp 0x49af8f
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x498912
mov ecx, dword [ebp - 0x1cc]
and dword [ecx], 0
jmp 0x498918
mov eax, 0x133
cmp edi, eax
ja 0x499e1e
je 0x49a7dd
cmp edi, 0x24
ja 0x4999ff
je 0x499946
sub edi, 5
je 0x4998e6
sub edi, ecx
je 0x4998a1
dec edi
je 0x499886
sub edi, 7
je 0x498b85
dec edi
je 0x498aa1
sub edi, 4
je 0x498a91
sub edi, 0xc
jne 0x49af8d
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x49af8d
xor ecx, ecx
inc ecx
cmp si, cx
jne 0x49af8d
cmp byte [ebx + 0x47d], al
je 0x4989c4
mov al, cl
jmp 0x49af8f
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1b0]
mov ecx, ebx
push dword [ebp - 0x1b4]
call fcn.00497b6c
mov ebx, eax
test ebx, ebx
je 0x49af8d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x49af8d
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x1a
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x140]
jmp 0x498918
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x49af8f
and dword [ebp - 0x138], 0
lea edi, [ebp - 0x134]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x130], eax
test ecx, ecx
je 0x498b0e
mov dword [ebp - 0x138], 0xa
lea edx, [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x498b37
mov dword [ebp - 0x138], 0xe
lea edx, [ebp - 0x138]
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
push 0
mov ecx, ebx
call fcn.0049c98e
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x498b64
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x498b64
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x49af8d
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x49af8d
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x498bec
push 0x3c
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x154]
push eax
call fcn.00505190
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x150]
push eax
push dword [ebx + 0xac]
call fcn.004bc7f8
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x498918
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x498918
cmp byte [ebx + 0x16a], 0
je 0x498c38
push 1
mov ecx, ebx
call fcn.0049cd03
push 1
mov ecx, ebx
call fcn.0049ce56
mov edi, dword [ebp - 0x38]
mov ecx, ebx
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x40]
push 1
mov byte [ebp - 0x1b9], 0
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1d0], eax
call fcn.0049ce56
cmp byte [ebx + 0x169], 0
je 0x498e82
lea eax, [ebp - 0x40]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x498f0b
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x498f0b
mov ecx, dword [ebx + 0x104]
call fcn.0049eecb
test al, al
je 0x498d68
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
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 0x498cd1
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x498ce2
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x498cf3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x498d04
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
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 + 0x16d], al
je 0x498d4a
mov eax, dword [ebx + 0x170]
add dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x30]
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 + 0x5c]
jmp 0x498e14
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1c8], edi
call fcn.00494b80
mov ecx, dword [ebx + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x49d516
mov eax, dword [ecx]
call dword [eax + 0x134]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.00494e31
test eax, eax
jle 0x498e14
push esi
mov ecx, edi
call fcn.0049491c
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c0], esi
mov edx, dword [esi]
call dword [edx + 0x12c]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x498dd0
call dword [ebx + 0x58]
jmp 0x498dda
lea eax, [ebp - 0x94]
push eax
call dword [ebx + 0x50]
mov ecx, dword [ebp - 0x1c0]
mov esi, eax
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 [ebx + 0x5c]
mov esi, dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1c8]
inc esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.00494e31
cmp esi, eax
jl 0x498da9
mov ebx, dword [ebp - 0x1e4]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1b9], 1
je 0x498f05
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], al
call fcn.0049c5db
cmp byte [ebx + 0x16d], 0
je 0x498e6c
cmp byte [ebx + 0x180], 0
je 0x498e6c
mov ecx, ebx
call fcn.004985ce
push 0
mov ecx, ebx
call fcn.0049ce56
jmp 0x498918
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004b9c66
jmp 0x498f05
cmp byte [ebx + 0x16d], 0
je 0x498f7d
cmp byte [ebx + 0x180], 0
je 0x498f0b
mov ecx, dword [ebx + 0xbc]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
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 0x498ec8
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1b8]
shl eax, 2
push eax
push 0
push ecx
call fcn.00505190
add esp, 0xc
mov eax, dword [ebx + 0x170]
lea esi, [ebp - 0x30]
add dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], 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 + 0x5c]
mov edi, dword [ebp - 0x1b8]
cmp byte [ebx + 0x16d], 0
je 0x498f7d
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x498f3d
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x184]
mov byte [ebx + 0x16b], 1
push esi
lea eax, [ebp - 0x20]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
push 0x10
cmovg eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
push 0
cmovg eax, dword [ebp - 0x34]
push esi
mov dword [ebp - 0x14], eax
call fcn.00505190
add esp, 0xc
cmp byte [ebx + 0x16b], 0
je 0x498fc3
cmp dword [ebx + 0xb8], 0
jne 0x498fc3
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x1d0]
push edi
push dword [ebx + 0xac]
call fcn.004bc791
add esp, 0x10
mov dword [ebx + 0xb8], eax
and dword [ebp - 0x1a8], 0
lea eax, [ebp - 0x1a4]
push 0x3c
push 0
push eax
call fcn.00505190
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16b], 0
je 0x4997b0
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x16d], 0
mov dword [ebp - 0x1d4], eax
je 0x4990ae
mov edi, dword [ebp - 0x34]
mov esi, edi
sub esi, dword [ebp - 0x14]
mov ecx, edi
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c4], esi
cmp esi, ecx
jge 0x4990ae
mov ecx, dword [ebp - 0x20]
mov eax, esi
imul eax, dword [ebp - 0x1b8]
xor edx, edx
mov dword [ebp - 0x1c0], eax
cmp ecx, dword [ebp - 0x18]
jge 0x49908a
lea edi, [eax + ecx]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], edx
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x18]
jl 0x499066
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1b8]
inc esi
mov dword [ebp - 0x1c0], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp esi, eax
mov dword [ebp - 0x1c4], esi
mov eax, dword [ebp - 0x1c0]
jl 0x49905b
jmp 0x4990b0
xor edx, edx
mov ecx, dword [ebx + 0x104]
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
push dword [ebx + 0xb0]
call dword [eax + 0x150]
cmp byte [ebx + 0x16d], 0
je 0x499308
lea ecx, [ebx + 0x4cc]
xor edi, edi
call fcn.00494e31
test eax, eax
jle 0x499308
push edi
lea ecx, [ebx + 0x4cc]
call fcn.0049491c
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x499121
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004950d8
push edi
lea ecx, [ebx + 0x4d8]
call fcn.004950d8
jmp 0x4992f5
inc edi
push esi
mov dword [ebp - 0x1e8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4992f5
push esi
lea eax, [ebp - 0x168]
mov ecx, ebx
push eax
call fcn.00498343
lea eax, [ebp - 0x168]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4992f5
push dword [ebx + 0xb0]
and dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
push ecx
mov ecx, dword [ebp - 0x15c]
sub ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x160]
sub ecx, dword [ebp - 0x168]
push ecx
push eax
call fcn.004bc791
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
sub edx, dword [ebp - 0x168]
sub ecx, dword [ebp - 0x164]
imul edx, ecx
mov dword [ebp - 0x1ac], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c0]
call fcn.00505190
add esp, 0x1c
push dword [ebp - 0x1ac]
push dword [ebp - 0x1c4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1c4]
mov dword [ebp - 0x1dc], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x15c]
xor edx, edx
mov ecx, esi
mov dword [ebp - 0x1cc], edx
sub ecx, dword [ebp - 0x164]
test ecx, ecx
mov ecx, dword [ebp - 0x160]
jle 0x4992a2
mov ebx, dword [ebp - 0x168]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x49927d
mov esi, dword [ebp - 0x1cc]
imul esi, eax
mov eax, dword [ebp - 0x1c0]
add esi, edi
mov eax, dword [eax + esi*4]
test eax, eax
je 0x49926e
mov ecx, dword [ebp - 0x1c0]
or eax, 0xff000000
mov dword [ecx + esi*4], eax
mov ecx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x168]
mov eax, ecx
inc edi
sub eax, ebx
cmp edi, eax
jl 0x49923c
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x1cc]
mov eax, esi
sub eax, dword [ebp - 0x164]
inc edi
mov dword [ebp - 0x1cc], edi
cmp edi, eax
jl 0x499232
mov ebx, dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x168]
sub ecx, eax
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x164]
sub esi, edx
push esi
push ecx
push edx
push eax
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1dc]
mov esi, dword [ebp - 0x1c4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1ac]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x4cc]
call fcn.00494e31
cmp edi, eax
jl 0x4990eb
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.00494e31
test eax, eax
jle 0x499343
push esi
mov ecx, edi
call fcn.0049491c
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.00494e31
cmp esi, eax
jl 0x49931b
push dword [ebp - 0x1d4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x49970d
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebx + 0x194]
call fcn.00494fd7
test al, al
jne 0x4995f2
mov eax, dword [ebp - 0x38]
lea esi, [ebp - 0x40]
sub eax, dword [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x194]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebx + 0x170]
add eax, dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x24], eax
call fcn.00494fd7
test al, al
jne 0x499680
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x499459
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1c0]
lea esi, [ebx + 0xc4]
push esi
push edi
push dword [ebp - 0x1cc]
mov dword [ebx + 0xb4], eax
push dword [ebx + 0xac]
call fcn.004bc791
imul edi, dword [ebp - 0x1cc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00505190
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x499488
cmp byte [ebx + 0x180], al
je 0x4994d2
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1cc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00505190
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x134]
push eax
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push dword [ebx + 0xb4]
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.004c18b9
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004c03dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
add esp, 0x30
call fcn.004bc1b2
mov esi, dword [ebp - 0x34]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], ecx
cmp ecx, eax
jge 0x499680
mov edx, dword [ebp - 0x1cc]
mov eax, ecx
mov edi, dword [ebp - 0x20]
imul eax, edx
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1c4], eax
cmp edi, dword [ebp - 0x18]
jge 0x4995cb
lea ecx, [eax + edi]
shl ecx, 2
mov dword [ebp - 0x1e8], ecx
mov ebx, dword [ebx + 0xbc]
mov esi, 0xff
add ebx, eax
mov eax, dword [ebp - 0x1e4]
add ebx, edi
mov eax, dword [eax + 0xc4]
mov al, byte [eax + ecx + 3]
mov ecx, dword [ebx]
movzx edi, al
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
cdq
idiv esi
movzx esi, al
movzx eax, cl
mov ecx, 0xff
imul eax, edi
shl esi, 8
cdq
idiv ecx
movzx eax, al
or esi, eax
movzx eax, byte [ebx]
imul eax, edi
shl esi, 8
shl edi, 0x18
cdq
idiv ecx
mov ecx, dword [ebp - 0x1e8]
movzx eax, al
add ecx, 4
or esi, eax
mov dword [ebp - 0x1e8], ecx
mov eax, dword [ebp - 0x1c4]
add esi, edi
mov edi, dword [ebp - 0x1c0]
inc edi
mov dword [ebx], esi
mov ebx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c0], edi
cmp edi, dword [ebp - 0x18]
jl 0x49951c
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c0], edi
add eax, edx
inc ecx
mov dword [ebp - 0x1c4], eax
mov eax, esi
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1c8], ecx
mov eax, dword [ebp - 0x1c4]
jl 0x499507
jmp 0x499680
mov esi, dword [ebp - 0x34]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], ecx
cmp ecx, eax
jge 0x499680
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x499668
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x49964e
cmp byte [eax + esi], 0
jne 0x499646
cmp byte [eax + esi + 1], 0
jne 0x499646
cmp byte [eax + esi + 2], 0
je 0x49964e
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x499625
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1b8]
add edi, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x1c8], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x1b8]
jl 0x499617
mov al, byte [ebx + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x1aa], al
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1b8]
push 2
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1dc], eax
pop eax
push eax
lea eax, [ebp - 0x1ac]
mov word [ebp - 0x1ac], cx
push eax
push ecx
lea eax, [ebp - 0x1d8]
mov byte [ebp - 0x1a9], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1d8], ecx
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x1d4], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x58f710]
jmp 0x49973e
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b0]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x499829
cmp byte [ebx + 0x16d], 0
jne 0x499829
push dword [0x58f714]
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 - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x499829
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [ebx + 0xac]
call dword [edx + 0x150]
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.00494e31
test eax, eax
jle 0x499817
push esi
mov ecx, edi
call fcn.0049491c
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x174]
mov ecx, edi
inc esi
call fcn.00494e31
cmp esi, eax
jl 0x4997ef
push dword [ebp - 0x1b0]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1a8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call fcn.0049ce56
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x49985e
mov ecx, ebx
call fcn.004985ce
xor eax, eax
cmp byte [ebp - 0x1b9], 0
je 0x498918
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.0049c5db
jmp 0x498918
mov ecx, ebx
call fcn.00498630
test al, al
je 0x49af8d
mov ecx, ebx
call fcn.0049be09
jmp 0x49af8d
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49af8d
push 7
xor eax, eax
lea edi, [ebp - 0x78]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x7c], 0x18
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x78], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
jmp 0x49af84
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49992e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x19
mov dword [ebp - 0x134], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x498918
call fcn.0049ef45
jmp 0x498918
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x28
push eax
push 1
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x60], 1
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x58]
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 0x49999f
mov eax, dword [ebp - 0x6c]
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebp - 0x1ac]
test ecx, ecx
jle 0x4999b2
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x4999bf
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4999cc
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4999d9
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4999e6
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x49af8d
mov dword [eax + 0xc], ecx
jmp 0x49af8d
push 2
pop ecx
sub edi, 0x4e
je 0x499df7
sub edi, 0x2d
je 0x499d0f
sub edi, 0x85
je 0x499c68
dec edi
je 0x499bc6
dec edi
je 0x499b40
sub edi, 0xf
je 0x499b0a
sub edi, ecx
jne 0x49af8d
lea edi, [ebx + 0x490]
mov ecx, edi
call fcn.00494e31
test eax, eax
jle 0x49af8d
push dword [ebp - 0x1c0]
mov ecx, edi
call fcn.0049491c
mov edx, eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x499a85
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x499a85
cmp byte [edx + 0x10], 0
je 0x499a9f
inc dword [ebp - 0x1c0]
mov ecx, edi
call fcn.00494e31
cmp dword [ebp - 0x1c0], eax
jl 0x499a51
jmp 0x49af8d
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [edx]
mov dword [ebp - 0x138], 0x1b
mov dword [ebp - 0x134], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x128], eax
call fcn.00498758
mov ecx, dword [ebp - 0x1b0]
mov word [ebp - 0x122], ax
mov dword [ebp - 0x11c], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x120], eax
jmp 0x49af7e
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x49af8d
push eax
push dword [ebp - 0x1b8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
test eax, eax
je 0x49af8d
jmp 0x498918
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49af8d
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 5
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x49af78
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x49af8d
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x114], 0
jmp 0x49af8d
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x49af8d
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov word [ebp - 0x124], ax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x138], 3
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x114], eax
jmp 0x49af8d
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x110], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebx + 0x120], eax
je 0x49af8d
mov ecx, ebx
call fcn.0049be09
mov edx, dword [ebp - 0x1b8]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x14
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x128], eax
mov word [ebp - 0x122], dx
mov dword [ebp - 0x11c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
and dword [ebx + 0x110], 0
jmp 0x49af8d
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x49af8d
push eax
push dword [ebp - 0x1b8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4988a3
mov eax, 0x207
cmp edi, eax
ja 0x49a88e
je 0x49a7ff
mov eax, edi
sub eax, 0x138
je 0x49a7dd
sub eax, 0xc8
je 0x49a294
dec eax
je 0x49a14b
dec eax
je 0x49a0a0
dec eax
je 0x499fb5
dec eax
je 0x499f0e
dec eax
jne 0x49af8d
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov dword [ebx + 0x110], eax
test eax, eax
je 0x49af8d
mov ecx, ebx
call fcn.0049be09
mov esi, dword [ebp - 0x1ac]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
jmp 0x49af6c
cmp byte [ebx + 0x100], 0
jne 0x499f23
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49af8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.0049c65c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0xf
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x128], ecx
jmp 0x49a04d
cmp byte [ebx + 0x100], 0
jne 0x499fca
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49af8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
mov ecx, ebx
call fcn.0049c65c
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0x13
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x130], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x140]
mov dword [ebx + 0x110], esi
jmp 0x49af8d
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cmp dword [ebx + 0x110], 0
cwde
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x11c], ecx
mov dword [ebx + 0x120], eax
je 0x49af8d
mov ecx, ebx
call fcn.0049be09
mov esi, dword [ebp - 0x1ac]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0xe
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x49af78
cmp byte [ebx + 0x100], 0
jne 0x49a160
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x49af8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
cmp byte [ebx + 0x734], 0
je 0x49a218
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x49a218
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x49a1ed
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x738], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
xor edx, edx
mov esi, eax
push edx
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]
mov esi, dword [ebp - 0x1c8]
push esi
push ebx
call fcn.004c158b
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.0049c65c
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + pe_nt_image_headers32]
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], 0xd
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ecx
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c8]
jmp 0x49af78
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x49a2f0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x49a2cd
mov eax, dword [ebx + 0xfc]
jmp 0x49a2dc
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x47c], 1
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
movsx esi, ax
xor eax, eax
inc eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1c8], eax
cmp dword [ebx + 0x11c], ecx
jne 0x49a330
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x120], esi
cmove eax, edx
mov dword [ebp - 0x1c8], eax
push esi
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], esi
call fcn.00497b6c
mov dword [ebp - 0x1dc], eax
test eax, eax
je 0x49a35e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
cmp byte [ebp - 0x1c8], 0
je 0x49a5e0
cmp byte [ebx + 0x735], 0
je 0x49a5e0
cmp dword [ebp - 0x1b8], 1
jne 0x49a5e0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00500be8
mov esi, eax
mov dword [ebp - 0x1e8], eax
pop ecx
test esi, esi
je 0x49a3af
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x49a3b7
xor esi, esi
mov dword [ebp - 0x1e8], esi
test esi, esi
je 0x49af8d
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.00500be8
pop ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x49a3f0
push esi
mov ecx, eax
call fcn.004ba5cb
mov ecx, eax
mov dword [ebp - 0x1d0], eax
jmp 0x49a3f8
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x49af8d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
push 2
pop ecx
push 0x10
stosd dword es:[edi], eax
pop edx
mov dword [ebp - 0x1c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
or dword [ebp - 0x50], 0xffffffff
push eax
push ecx
push dword [ebx + 0x738]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 1
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x4c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1d0]
push 0
push edx
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1dc], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x48]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x24], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x1e4]
push dword [eax + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x1c8], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1c8]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1d4]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1c8]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x5c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x160]
call fcn.00496608
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cdq
sub eax, edx
mov dword [ebp - 0x1b0], ebx
sar eax, 1
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x40]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
push 5
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x160]
call fcn.00498510
mov esi, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1c0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
push esi
cmp dword [ebp - 0x1c0], ebx
je 0x49a5b4
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x49a5ba
call fcn.004cdeee
pop ecx
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x160]
or dword [ebp - 4], 0xffffffff
mov byte [eax + 0x735], bl
call fcn.00496b45
jmp 0x49af8d
and dword [ebp - 0x138], 0
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1b0]
mov dword [ebp - 0x128], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
call fcn.00498758
mov ecx, ebx
mov word [ebp - 0x122], ax
call fcn.00498630
test al, al
jne 0x49a790
push dword [ebp - 0x1d4]
mov ecx, ebx
push edi
call fcn.00497b6c
mov edi, eax
test edi, edi
je 0x49a668
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x49af8d
mov eax, dword [ebx + 0x10c]
cmp edi, eax
je 0x49a75b
test eax, eax
je 0x49a75b
lea esi, [ebx + 0x514]
mov dword [ebp - 0x138], 0xa
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.00494e31
push eax
lea ecx, [ebp - 0x1c]
call fcn.004947b3
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00494e31
push eax
lea ecx, [ebp - 0x1c]
call fcn.004952e5
mov ecx, esi
call fcn.00494e31
shl eax, 2
mov ecx, esi
push eax
call fcn.0049492b
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049492b
push eax
call fcn.00504b40
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.00494e31
test eax, eax
jle 0x49a714
push esi
lea ecx, [ebp - 0x1c]
call fcn.0049491c
lea ecx, [ebp - 0x138]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x140]
lea ecx, [ebp - 0x1c]
inc esi
call fcn.00494e31
cmp esi, eax
jl 0x49a6ed
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov edx, dword [ebx + 0xc8]
xor ecx, ecx
mov dword [ebx + 0x10c], ecx
test edx, edx
je 0x49a74f
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00494837
cmp edi, dword [ebx + 0x10c]
je 0x49a796
test edi, edi
je 0x49a796
mov dword [ebp - 0x138], 0xb
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x140]
mov dword [ebx + 0x10c], edi
jmp 0x49a796
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x49a7b5
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], ecx
jmp 0x49af7e
test edi, edi
je 0x49af8d
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x49af87
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x49af8d
push ecx
push dword [ebp - 0x1b8]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x499b25
cmp byte [ebx + 0x100], 0
jne 0x49a814
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1d4], eax
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49af8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.0049c65c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x11
jmp 0x499f98
sub edi, 0x208
je 0x49aedf
sub edi, ecx
je 0x49adb5
sub edi, 0x97
je 0x49abab
sub edi, ecx
je 0x49aaa4
sub edi, 0x75
je 0x49a9c5
sub edi, 0x7ce9
jne 0x49af8d
lea edi, [ebx + 0x4e4]
xor esi, esi
mov ecx, edi
call fcn.00494e31
test eax, eax
jle 0x49a8fe
push esi
mov ecx, edi
call fcn.0049491c
test eax, eax
je 0x49a8f2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.00494e31
cmp esi, eax
jl 0x49a8de
mov ecx, edi
call fcn.00494b80
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1b0], edi
call fcn.00494db8
mov esi, eax
test esi, esi
je 0x49af8d
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1d0], eax
push ebx
mov ecx, edi
call fcn.004950d8
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x49a966
add ecx, 0x38
call fcn.004ba3ec
test al, al
je 0x49a966
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004ba402
mov ecx, dword [ebp - 0x1d0]
mov edi, ebx
call fcn.00494e31
test eax, eax
jle 0x49a99a
mov ecx, dword [ebp - 0x1d0]
push edi
call fcn.0049491c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc edi
call fcn.00494e31
cmp edi, eax
jl 0x49a977
mov ecx, esi
call fcn.00496f19
push esi
call fcn.004cdeee
mov edi, dword [ebp - 0x1b0]
pop ecx
push ebx
mov ecx, edi
call fcn.00494db8
mov esi, eax
test esi, esi
jne 0x49a939
jmp 0x49af8d
cmp dword [ebx + 0x104], 0
je 0x49af8d
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x58]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x150]
test byte [ebp - 0x1ac], 0x10
je 0x49aa92
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x49aa92
push 2
pop eax
or dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x2c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1ac]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x49aa30
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x49af8d
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x49aac5
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x49ab9f
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
movdqu xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x49ab8e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x49ab8e
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x58]
push dword [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49ab8e
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x49ab8e
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x49ab90
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x49af8d
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0x47c], 0
mov dword [ebp - 0x1d4], eax
call fcn.00497b6c
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x49af8d
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x49ac68
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x138], 0xc
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x128], eax
call fcn.00498758
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x138]
mov word [ebp - 0x122], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call dword [eax + 0xc8]
push 2
pop eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], eax
call fcn.00494fd7
test al, al
je 0x49aca2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00494827
jmp 0x498918
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.00505190
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0x118]
add esp, 0xc
mov dword [edi], 0x30
mov dword [ebx + 0xd0], 1
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, dword [0x58f700]
mov dword [ebx + 0xec], eax
call fcn.0049492b
mov dword [ebx + 0xf0], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x58]
mov esi, eax
lea edi, [ebx + 0xdc]
xor eax, eax
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 edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xc8], eax
jne 0x49ad77
push eax
push dword [0x58f700]
mov ecx, SysReAllocString
push eax
push dword [ebx + 0xa8]
push ecx
push ecx
push ecx
push ecx
push reloc.WS2_32.dll_closesocket
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea esi, [ebx + 0xcc]
mov dword [ebx + 0xc8], eax
push esi
xor edx, edx
push edx
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x1dc]
mov eax, dword [ecx]
call dword [eax + 0xd4]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call edi
jmp 0x49ad7d
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49ac8e
push esi
push eax
push 0x436
push dword [ebx + 0xc8]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xc8]
call edi
jmp 0x49ac8e
cmp dword [ebx + 0x104], 0
je 0x49af8d
mov ecx, dword [ebp - 0x1ac]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
push eax
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov esi, eax
test esi, esi
je 0x49af8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x49af8d
mov eax, dword [ebp - 0x1b8]
lea edi, [ebp - 0x134]
shr eax, 0x10
movsx edx, ax
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
movzx ecx, dx
shl ecx, 0x10
test edx, edx
mov dword [ebp - 0x138], 0x15
sets al
mov dword [ebp - 0x134], esi
or ecx, eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x128], eax
call fcn.00498758
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x140]
movzx ecx, word [ebx + 0x120]
movzx eax, word [ebx + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49af8d
mov eax, dword [ebp - 0x1ac]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x1b0], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
call fcn.00497b6c
mov dword [ebx + 0x110], eax
test eax, eax
je 0x49af8d
mov ecx, ebx
call fcn.0049be09
xor eax, eax
lea edi, [ebp - 0x134]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x138], 0x12
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], eax
mov word [ebp - 0x122], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x130], eax
lea edx, [ebp - 0x138]
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
call fcn.005057b3
ret 0x10