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

Disassembly:
push 0x1dc
mov eax, 0x557b51
call fcn.0051d595
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 0x4befce
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c4], eax
call fcn.004ccd99
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1ac]
test eax, eax
jle 0x4bc87b
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1b9], 0
call fcn.004c285c
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 0x4bc8ce
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x4b4]
call fcn.004ccd99
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x4bc82f
cmp byte [ebx + 0x16d], 0
push 2
pop ecx
je 0x4bc960
mov eax, edi
sub eax, 0x83
je 0x4bc955
sub eax, ecx
je 0x4bc955
dec eax
jne 0x4bc960
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4bda1d
cmp dword [ebp - 0x1b8], eax
sete al
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
jmp 0x4bc939
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
cmp edi, 0x7b
je 0x4bc8f3
cmp edi, 0x1ff
jbe 0x4bc939
cmp edi, 0x203
jbe 0x4bc940
cmp edi, 0x20a
jne 0x4bc939
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 0x4befd0
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x4bc933
mov ecx, dword [ebp - 0x1cc]
and dword [ecx], 0
jmp 0x4bc939
mov eax, 0x133
cmp edi, eax
ja 0x4bde3f
je 0x4be819
cmp edi, 0x24
ja 0x4bda20
je 0x4bd967
sub edi, 5
je 0x4bd907
sub edi, ecx
je 0x4bd8c2
dec edi
je 0x4bd8a7
sub edi, 7
je 0x4bcba6
dec edi
je 0x4bcac2
sub edi, 4
je 0x4bcab2
sub edi, 0xc
jne 0x4befce
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4befce
xor ecx, ecx
inc ecx
cmp si, cx
jne 0x4befce
cmp byte [ebx + 0x47d], al
je 0x4bc9e5
mov al, cl
jmp 0x4befd0
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.004bbb1f
mov ebx, eax
test ebx, ebx
je 0x4befce
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x4befce
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.004bc779
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 0x4bc939
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4befd0
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.004bc779
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 0x4bcb2f
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 0x4bcb58
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.004c09cf
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4bcb85
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4bcb85
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4befce
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x4befce
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x4bcc0d
push 0x3c
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x154]
push eax
call fcn.00511290
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.004dde89
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4bc939
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 0x4bc939
cmp byte [ebx + 0x16a], 0
je 0x4bcc59
push 1
mov ecx, ebx
call fcn.004c0d44
push 1
mov ecx, ebx
call fcn.004c0e97
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.004c0e97
cmp byte [ebx + 0x169], 0
je 0x4bcea3
lea eax, [ebp - 0x40]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4bcf2c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4bcf2c
mov ecx, dword [ebx + 0x104]
call fcn.004c4bfe
test al, al
je 0x4bcd89
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 0x4bccf2
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4bcd03
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4bcd14
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4bcd25
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 0x4bcd6b
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 0x4bce35
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1c8], edi
call fcn.004c2a92
mov ecx, dword [ebx + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x4c15c0
mov eax, dword [ecx]
call dword [eax + 0x134]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.004ccd99
test eax, eax
jle 0x4bce35
push esi
mov ecx, edi
call fcn.004c285c
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 0x4bcdf1
call dword [ebx + 0x58]
jmp 0x4bcdfb
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.004ccd99
cmp esi, eax
jl 0x4bcdca
mov ebx, dword [ebp - 0x1e4]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1b9], 1
je 0x4bcf26
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.004c061c
cmp byte [ebx + 0x16d], 0
je 0x4bce8d
cmp byte [ebx + 0x180], 0
je 0x4bce8d
mov ecx, ebx
call fcn.004bc5ef
push 0
mov ecx, ebx
call fcn.004c0e97
jmp 0x4bc939
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004db3c9
jmp 0x4bcf26
cmp byte [ebx + 0x16d], 0
je 0x4bcf9e
cmp byte [ebx + 0x180], 0
je 0x4bcf2c
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 0x4bcee9
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1b8]
shl eax, 2
push eax
push 0
push ecx
call fcn.00511290
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 0x4bcf9e
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4bcf5e
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.00511290
add esp, 0xc
cmp byte [ebx + 0x16b], 0
je 0x4bcfe4
cmp dword [ebx + 0xb8], 0
jne 0x4bcfe4
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.004dde22
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.00511290
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 0x4bd7d1
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 0x4bd0cf
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 0x4bd0cf
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 0x4bd0ab
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 0x4bd087
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 0x4bd07c
jmp 0x4bd0d1
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 0x4bd329
lea ecx, [ebx + 0x4cc]
xor edi, edi
call fcn.004ccd99
test eax, eax
jle 0x4bd329
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004c285c
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4bd142
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004c2f28
push edi
lea ecx, [ebx + 0x4d8]
call fcn.004c2f28
jmp 0x4bd316
inc edi
push esi
mov dword [ebp - 0x1e8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bd316
push esi
lea eax, [ebp - 0x168]
mov ecx, ebx
push eax
call fcn.004bc335
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 0x4bd316
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.004dde22
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.00511290
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 0x4bd2c3
mov ebx, dword [ebp - 0x168]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x4bd29e
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 0x4bd28f
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 0x4bd25d
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 0x4bd253
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.004ccd99
cmp edi, eax
jl 0x4bd10c
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.004ccd99
test eax, eax
jle 0x4bd364
push esi
mov ecx, edi
call fcn.004c285c
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.004ccd99
cmp esi, eax
jl 0x4bd33c
push dword [ebp - 0x1d4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x4bd72e
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.004c2e27
test al, al
jne 0x4bd613
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.004c2e27
test al, al
jne 0x4bd6a1
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x4bd47a
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.004dde22
imul edi, dword [ebp - 0x1cc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00511290
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x4bd4a9
cmp byte [ebx + 0x180], al
je 0x4bd4f3
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1cc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00511290
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.004e2f4b
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004e1a6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
add esp, 0x30
call fcn.004dd843
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 0x4bd6a1
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 0x4bd5ec
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 0x4bd53d
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 0x4bd528
jmp 0x4bd6a1
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 0x4bd6a1
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x4bd689
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x4bd66f
cmp byte [eax + esi], 0
jne 0x4bd667
cmp byte [eax + esi + 1], 0
jne 0x4bd667
cmp byte [eax + esi + 2], 0
je 0x4bd66f
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x4bd646
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 0x4bd638
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 [0x5b7918]
jmp 0x4bd75f
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 0x4bd84a
cmp byte [ebx + 0x16d], 0
jne 0x4bd84a
push dword [0x5b791c]
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 0x4bd84a
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.004ccd99
test eax, eax
jle 0x4bd838
push esi
mov ecx, edi
call fcn.004c285c
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.004ccd99
cmp esi, eax
jl 0x4bd810
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.004c0e97
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x4bd87f
mov ecx, ebx
call fcn.004bc5ef
xor eax, eax
cmp byte [ebp - 0x1b9], 0
je 0x4bc939
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.004c061c
jmp 0x4bc939
mov ecx, ebx
call fcn.004bc651
test al, al
je 0x4befce
mov ecx, ebx
call fcn.004bfe4a
jmp 0x4befce
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4befce
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 0x4befc5
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4bd94f
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 0x4bc939
call fcn.004c4c78
jmp 0x4bc939
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 0x4bd9c0
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 0x4bd9d3
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x4bd9e0
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4bd9ed
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4bd9fa
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4bda07
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4befce
mov dword [eax + 0xc], ecx
jmp 0x4befce
push 2
pop ecx
sub edi, 0x4e
je 0x4bde18
sub edi, 0x2d
je 0x4bdd30
sub edi, 0x85
je 0x4bdc89
dec edi
je 0x4bdbe7
dec edi
je 0x4bdb61
sub edi, 0xf
je 0x4bdb2b
sub edi, ecx
jne 0x4befce
lea edi, [ebx + 0x490]
mov ecx, edi
call fcn.004ccd99
test eax, eax
jle 0x4befce
push dword [ebp - 0x1c0]
mov ecx, edi
call fcn.004c285c
mov edx, eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x4bdaa6
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4bdaa6
cmp byte [edx + 0x10], 0
je 0x4bdac0
inc dword [ebp - 0x1c0]
mov ecx, edi
call fcn.004ccd99
cmp dword [ebp - 0x1c0], eax
jl 0x4bda72
jmp 0x4befce
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.004bc779
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 0x4befbf
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4befce
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 0x4befce
jmp 0x4bc939
cmp dword [ebx + 0x104], 0
je 0x4befce
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4befce
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.004bc779
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x4befb9
cmp dword [ebx + 0x104], 0
je 0x4befce
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x4befce
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.004bc779
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 0x4befce
cmp dword [ebx + 0x104], 0
je 0x4befce
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4befce
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.004bc779
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 0x4befce
cmp dword [ebx + 0x104], 0
je 0x4befce
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 0x4befce
mov ecx, ebx
call fcn.004bfe4a
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 0x4befce
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4befce
push eax
push dword [ebp - 0x1b8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4bc8c4
mov eax, 0x207
cmp edi, eax
ja 0x4be8ca
je 0x4be83b
mov eax, edi
sub eax, 0x138
je 0x4be819
sub eax, 0xc8
je 0x4be2ac
dec eax
je 0x4be163
dec eax
je 0x4be0b8
dec eax
je 0x4bdfd4
dec eax
je 0x4bdf2d
dec eax
jne 0x4befce
cmp byte [ebx + 0x47d], al
je 0x4bde9c
mov ecx, ebx
call fcn.004bfe4a
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.004bbb1f
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4befce
mov esi, dword [ebp - 0x1ac]
lea edi, [ebp - 0x134]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1b0]
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 0x4befa7
cmp byte [ebx + 0x100], 0
jne 0x4bdf42
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.004bbb1f
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4befce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.004c069d
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 0x4be065
cmp byte [ebx + 0x100], 0
jne 0x4bdfe9
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.004bbb1f
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4befce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
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 0x4befce
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 0x4befce
mov ecx, ebx
call fcn.004bfe4a
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 0x4befb9
cmp byte [ebx + 0x100], 0
jne 0x4be178
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x4befce
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.004bbb1f
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x4befce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
cmp byte [ebx + 0x734], 0
je 0x4be230
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4be230
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x4be205
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.004e2c1d
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.004c069d
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 0x4befb9
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x4be308
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 0x4be2e5
mov eax, dword [ebx + 0xfc]
jmp 0x4be2f4
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
mov al, 1
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1c8], eax
cmp dword [ebx + 0x11c], ecx
jne 0x4be347
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.004bbb1f
mov dword [ebp - 0x1dc], eax
test eax, eax
je 0x4be375
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
cmp byte [ebp - 0x1c8], 0
je 0x4be61c
cmp byte [ebx + 0x735], 0
je 0x4be61c
cmp dword [ebp - 0x1b8], 1
jne 0x4be61c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x73c]
test ecx, ecx
je 0x4be3c6
mov eax, dword [ecx]
push dword [ebx + 0x110]
call dword [eax]
test al, al
je 0x4be3c6
mov byte [ebx + 0x735], 0
jmp 0x4befce
push 0xc
call fcn.0051098b
mov esi, eax
mov dword [ebp - 0x1e8], eax
pop ecx
test esi, esi
je 0x4be3ea
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x4be3f2
xor esi, esi
mov dword [ebp - 0x1e8], esi
test esi, esi
je 0x4befce
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.0051098b
pop ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4be42b
push esi
mov ecx, eax
call fcn.004dbd23
mov ecx, eax
mov dword [ebp - 0x1d0], eax
jmp 0x4be433
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4befce
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
stosd dword es:[edi], eax
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 - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 1
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x4c], 0x10
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.004ba5e1
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.004bc531
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 0x4be5f0
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x4be5f6
call fcn.005101e4
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.004bab24
jmp 0x4befce
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.004bc779
mov ecx, ebx
mov word [ebp - 0x122], ax
call fcn.004bc651
test al, al
jne 0x4be7cc
push dword [ebp - 0x1d4]
mov ecx, ebx
push edi
call fcn.004bbb1f
mov edi, eax
test edi, edi
je 0x4be6a4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4befce
mov eax, dword [ebx + 0x10c]
cmp edi, eax
je 0x4be797
test eax, eax
je 0x4be797
lea esi, [ebx + 0x514]
mov dword [ebp - 0x138], 0xa
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.004ccd99
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c26f3
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.004ccd99
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c3135
mov ecx, esi
call fcn.004ccd99
shl eax, 2
mov ecx, esi
push eax
call fcn.004c2c76
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c2c76
push eax
call fcn.005102b0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.004ccd99
test eax, eax
jle 0x4be750
push esi
lea ecx, [ebp - 0x1c]
call fcn.004c285c
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.004ccd99
cmp esi, eax
jl 0x4be729
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 0x4be78b
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.004c2777
cmp edi, dword [ebx + 0x10c]
je 0x4be7d2
test edi, edi
je 0x4be7d2
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 0x4be7d2
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4be7f1
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], ecx
jmp 0x4befbf
test edi, edi
je 0x4befce
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x4befc8
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x4befce
push ecx
push dword [ebp - 0x1b8]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x4bdb46
cmp byte [ebx + 0x100], 0
jne 0x4be850
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.004bbb1f
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4befce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.004c069d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x11
jmp 0x4bdfb7
sub edi, 0x208
je 0x4bef1b
sub edi, ecx
je 0x4bedf1
sub edi, 0x97
je 0x4bebe7
sub edi, ecx
je 0x4beae0
sub edi, 0x75
je 0x4bea01
sub edi, 0x7ce9
jne 0x4befce
lea edi, [ebx + 0x4e4]
xor esi, esi
mov ecx, edi
call fcn.004ccd99
test eax, eax
jle 0x4be93a
push esi
mov ecx, edi
call fcn.004c285c
test eax, eax
je 0x4be92e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.004ccd99
cmp esi, eax
jl 0x4be91a
mov ecx, edi
call fcn.004c2a92
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1b0], edi
call fcn.004c2c0d
mov esi, eax
test esi, esi
je 0x4befce
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1d0], eax
push ebx
mov ecx, edi
call fcn.004c2f28
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4be9a2
add ecx, 0x38
call fcn.004dbb4d
test al, al
je 0x4be9a2
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004dbb63
mov ecx, dword [ebp - 0x1d0]
mov edi, ebx
call fcn.004ccd99
test eax, eax
jle 0x4be9d6
mov ecx, dword [ebp - 0x1d0]
push edi
call fcn.004c285c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc edi
call fcn.004ccd99
cmp edi, eax
jl 0x4be9b3
mov ecx, esi
call fcn.004c1743
push esi
call fcn.005101e4
mov edi, dword [ebp - 0x1b0]
pop ecx
push ebx
mov ecx, edi
call fcn.004c2c0d
mov esi, eax
test esi, esi
jne 0x4be975
jmp 0x4befce
cmp dword [ebx + 0x104], 0
je 0x4befce
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 0x4beace
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4beace
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 0x4bea6c
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4befce
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4beb01
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x4bebdb
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 0x4bebca
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x4bebca
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 0x4bebca
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 0x4bebca
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 0x4bebcc
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x4befce
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.004bbb1f
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4befce
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x4beca4
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.004bc779
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.004c2e27
test al, al
je 0x4becde
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004c2767
jmp 0x4bc939
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.00511290
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 [0x5b7908]
mov dword [ebx + 0xec], eax
call fcn.004c2c76
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 0x4bedb3
push eax
push dword [0x5b7908]
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 0x4bedb9
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4becca
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 0x4becca
cmp dword [ebx + 0x104], 0
je 0x4befce
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.004bbb1f
mov esi, eax
test esi, esi
je 0x4befce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4befce
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.004bc779
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 0x4befce
cmp byte [ebx + 0x47d], 0
je 0x4bef2b
mov ecx, ebx
call fcn.004bfe4a
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.004bbb1f
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4befce
push 7
xor eax, eax
lea edi, [ebp - 0x134]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b8]
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
mov dword [ebp - 0x134], edx
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.0051d544
ret 0x10