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

Disassembly:
push 0x1dc
mov eax, 0x5535a4
call fcn.00519415
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 0x4bad6f
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x1c4], eax
call fcn.004c8563
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1ac]
test eax, eax
jle 0x4b861c
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x4b4]
mov byte [ebp - 0x1b9], 0
call fcn.004be5ed
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 0x4b866f
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x4b4]
call fcn.004c8563
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x4b85d0
cmp byte [ebx + 0x16d], 0
push 2
pop ecx
je 0x4b8701
mov eax, edi
sub eax, 0x83
je 0x4b86f6
sub eax, ecx
je 0x4b86f6
dec eax
jne 0x4b8701
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4b97be
cmp dword [ebp - 0x1b8], eax
sete al
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
jmp 0x4b86da
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
cmp edi, 0x7b
je 0x4b8694
cmp edi, 0x1ff
jbe 0x4b86da
cmp edi, 0x203
jbe 0x4b86e1
cmp edi, 0x20a
jne 0x4b86da
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 0x4bad71
mov eax, dword [ebp - 0x1ac]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x4b86d4
mov ecx, dword [ebp - 0x1cc]
and dword [ecx], 0
jmp 0x4b86da
mov eax, 0x133
cmp edi, eax
ja 0x4b9be0
je 0x4ba5ba
cmp edi, 0x24
ja 0x4b97c1
je 0x4b9708
sub edi, 5
je 0x4b96a8
sub edi, ecx
je 0x4b9663
dec edi
je 0x4b9648
sub edi, 7
je 0x4b8947
dec edi
je 0x4b8863
sub edi, 4
je 0x4b8853
sub edi, 0xc
jne 0x4bad6f
xor eax, eax
cmp dword [ebx + 0x104], eax
je 0x4bad6f
xor ecx, ecx
inc ecx
cmp si, cx
jne 0x4bad6f
cmp byte [ebx + 0x47d], al
je 0x4b8786
mov al, cl
jmp 0x4bad71
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.004b78c0
mov ebx, eax
test ebx, ebx
je 0x4bad6f
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x4bad6f
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.004b851a
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 0x4b86da
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4bad71
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.004b851a
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 0x4b88d0
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 0x4b88f9
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.004bc770
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4b8926
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4b8926
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x4bad6f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xc8], 0
jmp 0x4bad6f
xor eax, eax
cmp dword [ebx + 0x104], eax
jne 0x4b89ae
push 0x3c
push eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x154]
push eax
call fcn.0050fef0
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.004d94c9
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4b86da
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 0x4b86da
cmp byte [ebx + 0x16a], 0
je 0x4b89fa
push 1
mov ecx, ebx
call fcn.004bcae5
push 1
mov ecx, ebx
call fcn.004bcc38
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.004bcc38
cmp byte [ebx + 0x169], 0
je 0x4b8c44
lea eax, [ebp - 0x40]
mov byte [ebx + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4b8ccd
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4b8ccd
mov ecx, dword [ebx + 0x104]
call fcn.004c099c
test al, al
je 0x4b8b2a
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 0x4b8a93
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4b8aa4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4b8ab5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4b8ac6
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 0x4b8b0c
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 0x4b8bd6
lea edi, [ebx + 0x4fc]
mov ecx, edi
mov dword [ebp - 0x1c8], edi
call fcn.004be823
mov ecx, dword [ebx + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x4bd361
mov eax, dword [ecx]
call dword [eax + 0x134]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1c4], esi
call fcn.004c8563
test eax, eax
jle 0x4b8bd6
push esi
mov ecx, edi
call fcn.004be5ed
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 0x4b8b92
call dword [ebx + 0x58]
jmp 0x4b8b9c
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.004c8563
cmp esi, eax
jl 0x4b8b6b
mov ebx, dword [ebp - 0x1e4]
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x1b9], 1
je 0x4b8cc7
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.004bc3bd
cmp byte [ebx + 0x16d], 0
je 0x4b8c2e
cmp byte [ebx + 0x180], 0
je 0x4b8c2e
mov ecx, ebx
call fcn.004b8390
push 0
mov ecx, ebx
call fcn.004bcc38
jmp 0x4b86da
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x664]
call fcn.004d691c
jmp 0x4b8cc7
cmp byte [ebx + 0x16d], 0
je 0x4b8d3f
cmp byte [ebx + 0x180], 0
je 0x4b8ccd
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 0x4b8c8a
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1b8]
shl eax, 2
push eax
push 0
push ecx
call fcn.0050fef0
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 0x4b8d3f
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4b8cff
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.0050fef0
add esp, 0xc
cmp byte [ebx + 0x16b], 0
je 0x4b8d85
cmp dword [ebx + 0xb8], 0
jne 0x4b8d85
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.004d9462
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.0050fef0
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 0x4b9572
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 0x4b8e70
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 0x4b8e70
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 0x4b8e4c
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 0x4b8e28
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 0x4b8e1d
jmp 0x4b8e72
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 0x4b90ca
lea ecx, [ebx + 0x4cc]
xor edi, edi
call fcn.004c8563
test eax, eax
jle 0x4b90ca
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004be5ed
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b8ee3
push edi
lea ecx, [ebx + 0x4cc]
call fcn.004becc9
push edi
lea ecx, [ebx + 0x4d8]
call fcn.004becc9
jmp 0x4b90b7
inc edi
push esi
mov dword [ebp - 0x1e8], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b90b7
push esi
lea eax, [ebp - 0x168]
mov ecx, ebx
push eax
call fcn.004b80d6
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 0x4b90b7
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.004d9462
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.0050fef0
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 0x4b9064
mov ebx, dword [ebp - 0x168]
mov eax, ecx
mov edi, edx
sub eax, ebx
test eax, eax
jle 0x4b903f
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 0x4b9030
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 0x4b8ffe
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 0x4b8ff4
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.004c8563
cmp edi, eax
jl 0x4b8ead
lea edi, [ebx + 0x4c0]
xor esi, esi
mov ecx, edi
call fcn.004c8563
test eax, eax
jle 0x4b9105
push esi
mov ecx, edi
call fcn.004be5ed
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.004c8563
cmp esi, eax
jl 0x4b90dd
push dword [ebp - 0x1d4]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x4b94cf
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.004bebc8
test al, al
jne 0x4b93b4
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.004bebc8
test al, al
jne 0x4b9442
xor eax, eax
cmp dword [ebx + 0xc0], eax
jne 0x4b921b
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.004d9462
imul edi, dword [ebp - 0x1cc]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.0050fef0
add esp, 0x1c
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x4b924a
cmp byte [ebx + 0x180], al
je 0x4b9294
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1cc]
shl ecx, 2
push ecx
push eax
push dword [ebx + 0xc4]
call fcn.0050fef0
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.004de58a
push 0
lea eax, [ebx + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push ebx
push dword [ebx + 0xb4]
call fcn.004dd0ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
add esp, 0x30
call fcn.004d8e83
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 0x4b9442
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 0x4b938d
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 0x4b92de
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 0x4b92c9
jmp 0x4b9442
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 0x4b9442
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x4b942a
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x4b9410
cmp byte [eax + esi], 0
jne 0x4b9408
cmp byte [eax + esi + 1], 0
jne 0x4b9408
cmp byte [eax + esi + 2], 0
je 0x4b9410
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x4b93e7
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 0x4b93d9
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 [0x5b00d8]
jmp 0x4b9500
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 0x4b95eb
cmp byte [ebx + 0x16d], 0
jne 0x4b95eb
push dword [0x5b00dc]
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 0x4b95eb
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.004c8563
test eax, eax
jle 0x4b95d9
push esi
mov ecx, edi
call fcn.004be5ed
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.004c8563
cmp esi, eax
jl 0x4b95b1
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.004bcc38
xor eax, eax
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x4b9620
mov ecx, ebx
call fcn.004b8390
xor eax, eax
cmp byte [ebp - 0x1b9], 0
je 0x4b86da
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.004bc3bd
jmp 0x4b86da
mov ecx, ebx
call fcn.004b83f2
test al, al
je 0x4bad6f
mov ecx, ebx
call fcn.004bbbeb
jmp 0x4bad6f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4bad6f
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 0x4bad66
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4b96f0
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 0x4b86da
call fcn.004c0a16
jmp 0x4b86da
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 0x4b9761
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 0x4b9774
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x4b9781
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4b978e
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4b979b
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x4b97a8
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x4bad6f
mov dword [eax + 0xc], ecx
jmp 0x4bad6f
push 2
pop ecx
sub edi, 0x4e
je 0x4b9bb9
sub edi, 0x2d
je 0x4b9ad1
sub edi, 0x85
je 0x4b9a2a
dec edi
je 0x4b9988
dec edi
je 0x4b9902
sub edi, 0xf
je 0x4b98cc
sub edi, ecx
jne 0x4bad6f
lea edi, [ebx + 0x490]
mov ecx, edi
call fcn.004c8563
test eax, eax
jle 0x4bad6f
push dword [ebp - 0x1c0]
mov ecx, edi
call fcn.004be5ed
mov edx, eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x4b9847
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4b9847
cmp byte [edx + 0x10], 0
je 0x4b9861
inc dword [ebp - 0x1c0]
mov ecx, edi
call fcn.004c8563
cmp dword [ebp - 0x1c0], eax
jl 0x4b9813
jmp 0x4bad6f
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.004b851a
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 0x4bad60
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4bad6f
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 0x4bad6f
jmp 0x4b86da
cmp dword [ebx + 0x104], 0
je 0x4bad6f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4bad6f
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.004b851a
mov word [ebp - 0x122], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x4bad5a
cmp dword [ebx + 0x104], 0
je 0x4bad6f
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x4bad6f
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.004b851a
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 0x4bad6f
cmp dword [ebx + 0x104], 0
je 0x4bad6f
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x4bad6f
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.004b851a
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 0x4bad6f
cmp dword [ebx + 0x104], 0
je 0x4bad6f
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 0x4bad6f
mov ecx, ebx
call fcn.004bbbeb
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 0x4bad6f
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x4bad6f
push eax
push dword [ebp - 0x1b8]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b8665
mov eax, 0x207
cmp edi, eax
ja 0x4ba66b
je 0x4ba5dc
mov eax, edi
sub eax, 0x138
je 0x4ba5ba
sub eax, 0xc8
je 0x4ba04d
dec eax
je 0x4b9f04
dec eax
je 0x4b9e59
dec eax
je 0x4b9d75
dec eax
je 0x4b9cce
dec eax
jne 0x4bad6f
cmp byte [ebx + 0x47d], al
je 0x4b9c3d
mov ecx, ebx
call fcn.004bbbeb
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.004b78c0
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4bad6f
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 0x4bad48
cmp byte [ebx + 0x100], 0
jne 0x4b9ce3
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.004b78c0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4bad6f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004bc43e
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 0x4b9e06
cmp byte [ebx + 0x100], 0
jne 0x4b9d8a
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.004b78c0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4bad6f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
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 0x4bad6f
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 0x4bad6f
mov ecx, ebx
call fcn.004bbbeb
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 0x4bad5a
cmp byte [ebx + 0x100], 0
jne 0x4b9f19
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x4bad6f
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.004b78c0
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x4bad6f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
cmp byte [ebx + 0x734], 0
je 0x4b9fd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4b9fd1
mov eax, dword [ebx + 0x738]
mov byte [ebx + 0x735], 1
test eax, eax
je 0x4b9fa6
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.004de25c
add esp, 0x1c
mov dword [ebx + 0x738], eax
mov ecx, ebx
call fcn.004bc43e
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 0x4bad5a
cmp byte [ebx + 0x47c], 0
push 3
pop ecx
jne 0x4ba0a9
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 0x4ba086
mov eax, dword [ebx + 0xfc]
jmp 0x4ba095
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 0x4ba0e8
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.004b78c0
mov dword [ebp - 0x1dc], eax
test eax, eax
je 0x4ba116
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
cmp byte [ebp - 0x1c8], 0
je 0x4ba3bd
cmp byte [ebx + 0x735], 0
je 0x4ba3bd
cmp dword [ebp - 0x1b8], 1
jne 0x4ba3bd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x73c]
test ecx, ecx
je 0x4ba167
mov eax, dword [ecx]
push dword [ebx + 0x110]
call dword [eax]
test al, al
je 0x4ba167
mov byte [ebx + 0x735], 0
jmp 0x4bad6f
push 0xc
call fcn.0050e5c3
mov esi, eax
mov dword [ebp - 0x1e8], eax
pop ecx
test esi, esi
je 0x4ba18b
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x4ba193
xor esi, esi
mov dword [ebp - 0x1e8], esi
test esi, esi
je 0x4bad6f
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.0050e5c3
pop ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4ba1cc
push esi
mov ecx, eax
call fcn.004d7278
mov ecx, eax
mov dword [ebp - 0x1d0], eax
jmp 0x4ba1d4
xor ecx, ecx
mov dword [ebp - 0x1d0], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4bad6f
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.004b6371
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.004b82d2
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 0x4ba391
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x4ba397
call fcn.004eabf7
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.004b68b4
jmp 0x4bad6f
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.004b851a
mov ecx, ebx
mov word [ebp - 0x122], ax
call fcn.004b83f2
test al, al
jne 0x4ba56d
push dword [ebp - 0x1d4]
mov ecx, ebx
push edi
call fcn.004b78c0
mov edi, eax
test edi, edi
je 0x4ba445
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4bad6f
mov eax, dword [ebx + 0x10c]
cmp edi, eax
je 0x4ba538
test eax, eax
je 0x4ba538
lea esi, [ebx + 0x514]
mov dword [ebp - 0x138], 0xa
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.004c8563
push eax
lea ecx, [ebp - 0x1c]
call fcn.004be494
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.004c8563
push eax
lea ecx, [ebp - 0x1c]
call fcn.004beed6
mov ecx, esi
call fcn.004c8563
shl eax, 2
mov ecx, esi
push eax
call fcn.004bea17
push eax
lea ecx, [ebp - 0x1c]
call fcn.004bea17
push eax
call fcn.0050c050
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call fcn.004c8563
test eax, eax
jle 0x4ba4f1
push esi
lea ecx, [ebp - 0x1c]
call fcn.004be5ed
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.004c8563
cmp esi, eax
jl 0x4ba4ca
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 0x4ba52c
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.004be518
cmp edi, dword [ebx + 0x10c]
je 0x4ba573
test edi, edi
je 0x4ba573
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 0x4ba573
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x4ba592
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], ecx
jmp 0x4bad60
test edi, edi
je 0x4bad6f
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 9
mov dword [ebp - 0x134], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x4bad69
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x4bad6f
push ecx
push dword [ebp - 0x1b8]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x4b98e7
cmp byte [ebx + 0x100], 0
jne 0x4ba5f1
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.004b78c0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4bad6f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov ecx, ebx
call fcn.004bc43e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x138], 0x11
jmp 0x4b9d58
sub edi, 0x208
je 0x4bacbc
sub edi, ecx
je 0x4bab92
sub edi, 0x97
je 0x4ba988
sub edi, ecx
je 0x4ba881
sub edi, 0x75
je 0x4ba7a2
sub edi, 0x7ce9
jne 0x4bad6f
lea edi, [ebx + 0x4e4]
xor esi, esi
mov ecx, edi
call fcn.004c8563
test eax, eax
jle 0x4ba6db
push esi
mov ecx, edi
call fcn.004be5ed
test eax, eax
je 0x4ba6cf
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.004c8563
cmp esi, eax
jl 0x4ba6bb
mov ecx, edi
call fcn.004be823
xor eax, eax
lea edi, [ebx + 0x4f0]
push eax
mov ecx, edi
mov byte [ebx + 0x480], al
mov dword [ebp - 0x1b0], edi
call fcn.004be9ae
mov esi, eax
test esi, esi
je 0x4bad6f
lea eax, [ebx + 0x484]
xor ebx, ebx
mov dword [ebp - 0x1d0], eax
push ebx
mov ecx, edi
call fcn.004becc9
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4ba743
add ecx, 0x38
call fcn.004d70a2
test al, al
je 0x4ba743
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004d70b8
mov ecx, dword [ebp - 0x1d0]
mov edi, ebx
call fcn.004c8563
test eax, eax
jle 0x4ba777
mov ecx, dword [ebp - 0x1d0]
push edi
call fcn.004be5ed
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc edi
call fcn.004c8563
cmp edi, eax
jl 0x4ba754
mov ecx, esi
call fcn.004bd4e4
push esi
call fcn.004eabf7
mov edi, dword [ebp - 0x1b0]
pop ecx
push ebx
mov ecx, edi
call fcn.004be9ae
mov esi, eax
test esi, esi
jne 0x4ba716
jmp 0x4bad6f
cmp dword [ebx + 0x104], 0
je 0x4bad6f
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 0x4ba86f
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4ba86f
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 0x4ba80d
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4bad6f
mov ecx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4ba8a2
lea eax, [ebx + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x47c], 0
je 0x4ba97c
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 0x4ba96b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x4ba96b
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 0x4ba96b
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 0x4ba96b
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 0x4ba96d
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x47c], 0
jmp 0x4bad6f
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.004b78c0
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x4bad6f
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x4baa45
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.004b851a
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.004bebc8
test al, al
je 0x4baa7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004be508
jmp 0x4b86da
push 0x30
lea edi, [ebx + 0xcc]
push 0
push edi
call fcn.0050fef0
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 [0x5b00c8]
mov dword [ebx + 0xec], eax
call fcn.004bea17
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 0x4bab54
push eax
push dword [0x5b00c8]
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 0x4bab5a
lea esi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4baa6b
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 0x4baa6b
cmp dword [ebx + 0x104], 0
je 0x4bad6f
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.004b78c0
mov esi, eax
test esi, esi
je 0x4bad6f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4bad6f
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.004b851a
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 0x4bad6f
cmp byte [ebx + 0x47d], 0
je 0x4baccc
mov ecx, ebx
call fcn.004bbbeb
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.004b78c0
mov edx, eax
mov dword [ebx + 0x110], edx
test edx, edx
je 0x4bad6f
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.005193c4
ret 0x10