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

Disassembly:
push 0x1dc
mov eax, 0x55ea74
call fcn.00523ac7
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 0x4c528f
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c4], eax
call fcn.00548f21
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1ac]
test eax, eax
jle 0x4c2b3c
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1b9], 0
call fcn.004c8b9f
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 0x4c2b8f
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x4b4]
call fcn.00548f21
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x4c2af0
cmp byte [ebx + 0x16d], 0
push 2
pop ecx
je 0x4c2c21
mov eax, edi
sub eax, 0x83
je 0x4c2c16
sub eax, ecx
je 0x4c2c16
dec eax
jne 0x4c2c21
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4c3cde
cmp dword [ebp - 0x1b8], eax
sete al
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
jmp 0x4c2bfa
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
cmp edi, 0x7b
je 0x4c2bb4
cmp edi, 0x1ff
jbe 0x4c2bfa
cmp edi, 0x203
jbe 0x4c2c01
cmp edi, 0x20a
jne 0x4c2bfa
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 0x4c5291
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x4c2bf4
mov ecx, dword [ebp - 0x1cc]
and dword [ecx], 0
jmp 0x4c2bfa
mov eax, 0x133
cmp edi, eax
ja 0x4c4100
je 0x4c4ada
cmp edi, 0x24
ja 0x4c3ce1
je 0x4c3c28
sub edi, 5
je 0x4c3bc8
sub edi, ecx
je 0x4c3b83
dec edi
je 0x4c3b68
sub edi, 7
je 0x4c2e67
dec edi
je 0x4c2d83
sub edi, 4
je 0x4c2d73
sub edi, 0xc
jne 0x4c528f
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4c528f
xor ecx, ecx
inc ecx
cmp si, cx
jne 0x4c528f
cmp byte [ebx + 0x47d], al
je 0x4c2ca6
mov al, cl
jmp 0x4c5291
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.004c1de0
mov ebx, eax
test ebx, ebx
je 0x4c528f
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x4c528f
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.004c2a3a
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 0x4c2bfa
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4c5291
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.004c2a3a
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 0x4c2df0
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 0x4c2e19
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.004c6c90
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4c2e46
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4c2e46
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4c528f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x4c528f
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x4c2ece
push 0x3c
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x154]
push eax
call fcn.00516d90
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.004e4103
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4c2bfa
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 0x4c2bfa
cmp byte [ebx + 0x16a], 0
je 0x4c2f1a
push 1
mov ecx, ebx
call fcn.004c7005
push 1
mov ecx, ebx
call fcn.004c7158
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.004c7158
cmp byte [ebx + 0x169], 0
je 0x4c3164
lea eax, [ebp - 0x40]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4c31ed
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4c31ed
mov ecx, dword [ebx + 0x104]
call fcn.004caf67
test al, al
je 0x4c304a
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 0x4c2fb3
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4c2fc4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4c2fd5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4c2fe6
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 0x4c302c
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 0x4c30f6
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1c8], edi
call fcn.004c8dd5
mov ecx, dword [ebx + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x4c7881
mov eax, dword [ecx]
call dword [eax + 0x134]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.00548f21
test eax, eax
jle 0x4c30f6
push esi
mov ecx, edi
call fcn.004c8b9f
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 0x4c30b2
call dword [ebx + 0x58]
jmp 0x4c30bc
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.00548f21
cmp esi, eax
jl 0x4c308b
mov ebx, dword [ebp - 0x1e4]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1b9], 1
je 0x4c31e7
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.004c68dd
cmp byte [ebx + 0x16d], 0
je 0x4c314e
cmp byte [ebx + 0x180], 0
je 0x4c314e
mov ecx, ebx
call fcn.004c28b0
push 0
mov ecx, ebx
call fcn.004c7158
jmp 0x4c2bfa
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004e1564
jmp 0x4c31e7
cmp byte [ebx + 0x16d], 0
je 0x4c325f
cmp byte [ebx + 0x180], 0
je 0x4c31ed
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 0x4c31aa
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1b8]
shl eax, 2
push eax
push 0
push ecx
call fcn.00516d90
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 0x4c325f
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4c321f
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.00516d90
add esp, 0xc
cmp byte [ebx + 0x16b], 0
je 0x4c32a5
cmp dword [ebx + 0xb8], 0
jne 0x4c32a5
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.004e409c
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.00516d90
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 0x4c3a92
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 0x4c3390
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 0x4c3390
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 0x4c336c
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 0x4c3348
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 0x4c333d
jmp 0x4c3392
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 0x4c35ea
lea ecx, [ebx + 0x4cc]
xor edi, edi
call fcn.00548f21
test eax, eax
jle 0x4c35ea
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004c8b9f
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c3403
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004c926c
push edi
lea ecx, [ebx + 0x4d8]
call fcn.004c926c
jmp 0x4c35d7
inc edi
push esi
mov dword [ebp - 0x1e8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c35d7
push esi
lea eax, [ebp - 0x168]
mov ecx, ebx
push eax
call fcn.004c25f6
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 0x4c35d7
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.004e409c
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.00516d90
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 0x4c3584
mov ebx, dword [ebp - 0x168]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x4c355f
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 0x4c3550
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 0x4c351e
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 0x4c3514
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.00548f21
cmp edi, eax
jl 0x4c33cd
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.00548f21
test eax, eax
jle 0x4c3625
push esi
mov ecx, edi
call fcn.004c8b9f
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.00548f21
cmp esi, eax
jl 0x4c35fd
push dword [ebp - 0x1d4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x4c39ef
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.004c916b
test al, al
jne 0x4c38d4
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.004c916b
test al, al
jne 0x4c3962
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x4c373b
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.004e409c
imul edi, dword [ebp - 0x1cc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00516d90
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x4c376a
cmp byte [ebx + 0x180], al
je 0x4c37b4
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1cc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.00516d90
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.004e91c4
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004e7ce7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
add esp, 0x30
call fcn.004e3abd
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 0x4c3962
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 0x4c38ad
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 0x4c37fe
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 0x4c37e9
jmp 0x4c3962
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 0x4c3962
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x4c394a
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x4c3930
cmp byte [eax + esi], 0
jne 0x4c3928
cmp byte [eax + esi + 1], 0
jne 0x4c3928
cmp byte [eax + esi + 2], 0
je 0x4c3930
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x4c3907
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 0x4c38f9
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 [0x5c09b0]
jmp 0x4c3a20
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 0x4c3b0b
cmp byte [ebx + 0x16d], 0
jne 0x4c3b0b
push dword [0x5c09b4]
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 0x4c3b0b
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.00548f21
test eax, eax
jle 0x4c3af9
push esi
mov ecx, edi
call fcn.004c8b9f
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.00548f21
cmp esi, eax
jl 0x4c3ad1
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.004c7158
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x4c3b40
mov ecx, ebx
call fcn.004c28b0
xor eax, eax
cmp byte [ebp - 0x1b9], 0
je 0x4c2bfa
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.004c68dd
jmp 0x4c2bfa
mov ecx, ebx
call fcn.004c2912
test al, al
je 0x4c528f
mov ecx, ebx
call fcn.004c610b
jmp 0x4c528f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4c528f
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 0x4c5286
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4c3c10
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 0x4c2bfa
call fcn.004cafe1
jmp 0x4c2bfa
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 0x4c3c81
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 0x4c3c94
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x4c3ca1
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4c3cae
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4c3cbb
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4c3cc8
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4c528f
mov dword [eax + 0xc], ecx
jmp 0x4c528f
push 2
pop ecx
sub edi, 0x4e
je 0x4c40d9
sub edi, 0x2d
je 0x4c3ff1
sub edi, 0x85
je 0x4c3f4a
dec edi
je 0x4c3ea8
dec edi
je 0x4c3e22
sub edi, 0xf
je 0x4c3dec
sub edi, ecx
jne 0x4c528f
lea edi, [ebx + 0x490]
mov ecx, edi
call fcn.00548f21
test eax, eax
jle 0x4c528f
push dword [ebp - 0x1c0]
mov ecx, edi
call fcn.004c8b9f
mov edx, eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x4c3d67
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4c3d67
cmp byte [edx + 0x10], 0
je 0x4c3d81
inc dword [ebp - 0x1c0]
mov ecx, edi
call fcn.00548f21
cmp dword [ebp - 0x1c0], eax
jl 0x4c3d33
jmp 0x4c528f
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.004c2a3a
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 0x4c5280
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4c528f
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 0x4c528f
jmp 0x4c2bfa
cmp dword [ebx + 0x104], 0
je 0x4c528f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4c528f
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.004c2a3a
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x4c527a
cmp dword [ebx + 0x104], 0
je 0x4c528f
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x4c528f
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.004c2a3a
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 0x4c528f
cmp dword [ebx + 0x104], 0
je 0x4c528f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4c528f
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.004c2a3a
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 0x4c528f
cmp dword [ebx + 0x104], 0
je 0x4c528f
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 0x4c528f
mov ecx, ebx
call fcn.004c610b
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 0x4c528f
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4c528f
push eax
push dword [ebp - 0x1b8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c2b85
mov eax, 0x207
cmp edi, eax
ja 0x4c4b8b
je 0x4c4afc
mov eax, edi
sub eax, 0x138
je 0x4c4ada
sub eax, 0xc8
je 0x4c456d
dec eax
je 0x4c4424
dec eax
je 0x4c4379
dec eax
je 0x4c4295
dec eax
je 0x4c41ee
dec eax
jne 0x4c528f
cmp byte [ebx + 0x47d], al
je 0x4c415d
mov ecx, ebx
call fcn.004c610b
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.004c1de0
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4c528f
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 0x4c5268
cmp byte [ebx + 0x100], 0
jne 0x4c4203
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.004c1de0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4c528f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004c695e
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 0x4c4326
cmp byte [ebx + 0x100], 0
jne 0x4c42aa
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.004c1de0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4c528f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
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 0x4c528f
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 0x4c528f
mov ecx, ebx
call fcn.004c610b
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 0x4c527a
cmp byte [ebx + 0x100], 0
jne 0x4c4439
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x4c528f
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.004c1de0
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x4c528f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
cmp byte [ebx + 0x734], 0
je 0x4c44f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4c44f1
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x4c44c6
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.004e8e96
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.004c695e
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x128]
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 0x4c527a
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x4c45c9
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 0x4c45a6
mov eax, dword [ebx + 0xfc]
jmp 0x4c45b5
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 0x4c4608
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.004c1de0
mov dword [ebp - 0x1dc], eax
test eax, eax
je 0x4c4636
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
cmp byte [ebp - 0x1c8], 0
je 0x4c48dd
cmp byte [ebx + 0x735], 0
je 0x4c48dd
cmp dword [ebp - 0x1b8], 1
jne 0x4c48dd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x73c]
test ecx, ecx
je 0x4c4687
mov eax, dword [ecx]
push dword [ebx + 0x110]
call dword [eax]
test al, al
je 0x4c4687
mov byte [ebx + 0x735], 0
jmp 0x4c528f
push 0xc
call fcn.0051664e
mov esi, eax
mov dword [ebp - 0x1e8], eax
pop ecx
test esi, esi
je 0x4c46ab
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x4c46b3
xor esi, esi
mov dword [ebp - 0x1e8], esi
test esi, esi
je 0x4c528f
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.0051664e
pop ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4c46ec
push esi
mov ecx, eax
call fcn.004e1ebe
mov ecx, eax
mov dword [ebp - 0x1d0], eax
jmp 0x4c46f4
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4c528f
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.004c0871
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.004c27f2
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 0x4c48b1
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x4c48b7
call fcn.00516524
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.004c0db4
jmp 0x4c528f
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.004c2a3a
mov ecx, ebx
mov word [ebp - 0x122], ax
call fcn.004c2912
test al, al
jne 0x4c4a8d
push dword [ebp - 0x1d4]
mov ecx, ebx
push edi
call fcn.004c1de0
mov edi, eax
test edi, edi
je 0x4c4965
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4c528f
mov eax, dword [ebx + 0x10c]
cmp edi, eax
je 0x4c4a58
test eax, eax
je 0x4c4a58
lea esi, [ebx + 0x514]
mov dword [ebp - 0x138], 0xa
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.00548f21
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c8a36
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00548f21
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c9479
mov ecx, esi
call fcn.00548f21
shl eax, 2
mov ecx, esi
push eax
call fcn.0047b7af
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047b7af
push eax
call fcn.005166a0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.00548f21
test eax, eax
jle 0x4c4a11
push esi
lea ecx, [ebp - 0x1c]
call fcn.004c8b9f
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.00548f21
cmp esi, eax
jl 0x4c49ea
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 0x4c4a4c
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.004c8aba
cmp edi, dword [ebx + 0x10c]
je 0x4c4a93
test edi, edi
je 0x4c4a93
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 0x4c4a93
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4c4ab2
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], ecx
jmp 0x4c5280
test edi, edi
je 0x4c528f
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x4c5289
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x4c528f
push ecx
push dword [ebp - 0x1b8]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x4c3e07
cmp byte [ebx + 0x100], 0
jne 0x4c4b11
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.004c1de0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4c528f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004c695e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x11
jmp 0x4c4278
sub edi, 0x208
je 0x4c51dc
sub edi, ecx
je 0x4c50b2
sub edi, 0x97
je 0x4c4ea8
sub edi, ecx
je 0x4c4da1
sub edi, 0x75
je 0x4c4cc2
sub edi, 0x7ce9
jne 0x4c528f
lea edi, [ebx + 0x4e4]
xor esi, esi
mov ecx, edi
call fcn.00548f21
test eax, eax
jle 0x4c4bfb
push esi
mov ecx, edi
call fcn.004c8b9f
test eax, eax
je 0x4c4bef
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.00548f21
cmp esi, eax
jl 0x4c4bdb
mov ecx, edi
call fcn.004c8dd5
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1b0], edi
call fcn.004c8f50
mov esi, eax
test esi, esi
je 0x4c528f
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1d0], eax
push ebx
mov ecx, edi
call fcn.004c926c
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4c4c63
add ecx, 0x38
call fcn.004e1ce8
test al, al
je 0x4c4c63
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004e1cfe
mov ecx, dword [ebp - 0x1d0]
mov edi, ebx
call fcn.00548f21
test eax, eax
jle 0x4c4c97
mov ecx, dword [ebp - 0x1d0]
push edi
call fcn.004c8b9f
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc edi
call fcn.00548f21
cmp edi, eax
jl 0x4c4c74
mov ecx, esi
call fcn.004c1188
push esi
call fcn.00516524
mov edi, dword [ebp - 0x1b0]
pop ecx
push ebx
mov ecx, edi
call fcn.004c8f50
mov esi, eax
test esi, esi
jne 0x4c4c36
jmp 0x4c528f
cmp dword [ebx + 0x104], 0
je 0x4c528f
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 0x4c4d8f
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4c4d8f
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 0x4c4d2d
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4c528f
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4c4dc2
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x4c4e9c
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 0x4c4e8b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x4c4e8b
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 0x4c4e8b
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 0x4c4e8b
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 0x4c4e8d
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x4c528f
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.004c1de0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4c528f
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x4c4f65
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.004c2a3a
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.004c916b
test al, al
je 0x4c4f9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004c8aaa
jmp 0x4c2bfa
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.00516d90
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 [0x5c09a0]
mov dword [ebx + 0xec], eax
call fcn.0047b7af
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 0x4c5074
push eax
push dword [0x5c09a0]
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 0x4c507a
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c4f8b
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 0x4c4f8b
cmp dword [ebx + 0x104], 0
je 0x4c528f
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.004c1de0
mov esi, eax
test esi, esi
je 0x4c528f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4c528f
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.004c2a3a
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 0x4c528f
cmp byte [ebx + 0x47d], 0
je 0x4c51ec
mov ecx, ebx
call fcn.004c610b
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.004c1de0
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4c528f
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.00523a76
ret 0x10