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

Disassembly:
push 0x1d4
mov eax, 0x6708c2
call fcn.00621869
mov ebx, ecx
mov dword [ebp - 0x1e0], ebx
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1d0], edi
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], ecx
cmp dword [ebx + 0xa8], ecx
je 0x512159
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x50fbec
mov eax, dword [ebx + 0x418]
lea edi, [ebp - 0x19]
mov byte [ebp - 0x19], cl
mov ecx, dword [ebp - 0x20]
push edi
mov edi, dword [ebp - 0x1d0]
push edx
mov ecx, dword [eax + ecx*4]
push edi
push esi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 0x19], 0
jne 0x50fc40
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1cc]
inc eax
push 0
mov dword [ebp - 0x20], eax
pop ecx
cmp eax, dword [ebx + 0x41c]
jl 0x50fba8
mov eax, dword [ebp - 0x1d8]
cmp byte [ebx + 0x16d], 0
je 0x50fcbc
mov dword [ebp - 0x24], esi
sub dword [ebp - 0x24], 0x83
je 0x50fcb8
sub dword [ebp - 0x24], 2
je 0x50fcb8
sub dword [ebp - 0x24], 1
jne 0x50fcbc
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x510cbd
test edi, edi
sete al
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
jmp 0x50fc9c
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x50fc65
cmp esi, 0x1ff
jbe 0x50fc9c
cmp esi, 0x203
jbe 0x50fca3
cmp esi, 0x20a
jne 0x50fc9c
mov ecx, dword [ebp - 0x1cc]
movsx eax, cx
mov dword [ebp - 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x120], eax
mov al, 1
jmp 0x51215b
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x50fc96
mov dword [eax], ecx
jmp 0x50fc9c
mov eax, 0x133
cmp esi, eax
ja 0x5110c2
je 0x511a30
cmp esi, 0x24
ja 0x510cbd
je 0x510bf5
sub esi, 5
je 0x510b95
dec esi
sub esi, 1
je 0x510b35
sub esi, 1
je 0x510b1c
sub esi, 7
je 0x50fef1
sub esi, 1
je 0x50fe0e
sub esi, 4
je 0x50fdfe
sub esi, 0xc
jne 0x512159
cmp dword [ebx + 0x104], ecx
je 0x512159
xor eax, eax
inc eax
cmp dx, ax
jne 0x512159
cmp byte [ebx + 0x3e1], 0
jne 0x51215b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.00513fa8
mov ebx, eax
test ebx, ebx
je 0x512159
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x512159
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x118], 0x1a
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x134]
jmp 0x50fc9c
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x51215b
mov dword [ebp - 0x118], ecx
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x110], eax
test ecx, ecx
je 0x50fe7a
mov dword [ebp - 0x118], 0xa
lea edx, [ebp - 0x118]
mov dword [ebp - 0x114], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x50fea3
mov dword [ebp - 0x118], 0xe
lea edx, [ebp - 0x118]
mov dword [ebp - 0x114], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor esi, esi
mov ecx, ebx
push esi
call fcn.0051258b
mov edi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x50fed1
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x50fed1
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x512159
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xc8], esi
jmp 0x512159
cmp dword [ebx + 0x104], ecx
jne 0x50ff4d
push 0x40
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.00639410
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebx + 0xac]
lea edx, [ebp - 0x180]
push 0xff000000
call fcn.0052f3e1
pop ecx
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x50fc9c
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x60], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
push dword [ebx + 0xa8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x50fc9c
cmp byte [ebx + 0x16a], 0
je 0x50ff98
push 1
mov ecx, ebx
call fcn.00512a0f
mov edx, dword [ebp - 0x58]
xor ecx, ecx
mov eax, dword [ebp - 0x54]
sub edx, dword [ebp - 0x60]
sub eax, dword [ebp - 0x5c]
mov byte [ebp - 0x19], cl
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1dc], eax
mov byte [ebx + 0x3e2], 1
cmp byte [ebx + 0x169], cl
je 0x5101b8
lea eax, [ebp - 0x60]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x51022a
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51022a
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x5100ba
mov eax, dword [ebx + 0xb0]
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x38]
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 0x510023
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x510034
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x510045
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x510056
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 0x51009c
mov eax, dword [ebx + 0x170]
add dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x2c], eax
mov ecx, dword [ebx + 0x104]
lea esi, [ebp - 0x38]
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 + 0x54]
jmp 0x51014e
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.0050d82d
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x514131
mov eax, dword [ecx]
call dword [eax + 0x128]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x464], ecx
jle 0x510150
mov eax, dword [edi]
mov esi, dword [eax + edx*4]
mov ecx, esi
mov dword [ebp - 0x1d4], esi
mov eax, dword [esi]
call dword [eax + 0x120]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x510113
call dword [ebx + 0x50]
jmp 0x51011d
lea eax, [ebp - 0x140]
push eax
call dword [ebx + 0x48]
mov ecx, dword [ebp - 0x1d4]
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 + 0x54]
mov ebx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x20], edx
lea edi, [ebx + 0x460]
cmp edx, dword [ebx + 0x464]
jl 0x5100f1
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x51022a
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
mov ecx, ebx
call fcn.00512c34
cmp byte [ebx + 0x16d], 0
je 0x5101a1
cmp byte [ebx + 0x180], 0
je 0x5101a1
mov ecx, ebx
call fcn.00512163
mov byte [ebx + 0x3e2], 0
jmp 0x50fc9c
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.0053486a
mov byte [ebp - 0x19], 1
jmp 0x51022a
cmp byte [ebx + 0x16d], cl
je 0x51022a
cmp byte [ebx + 0x180], cl
je 0x51022a
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x38]
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 [ebx + 0xbc]
test esi, esi
je 0x5101ed
imul eax, edx
shl eax, 2
push eax
push ecx
push esi
call fcn.00639410
add esp, 0xc
mov eax, dword [ebx + 0x170]
lea esi, [ebp - 0x38]
add dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x2c], 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 + 0x54]
cmp byte [ebx + 0x16d], 0
je 0x51029c
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x51025c
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 - 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x58]
push 0x10
cmovg eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x54]
push 0
cmovg eax, dword [ebp - 0x54]
push esi
mov dword [ebp - 0x3c], eax
call fcn.00639410
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x5102e7
cmp dword [ebx + 0xb8], esi
jne 0x5102e7
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [ebx + 0xac]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x1dc]
call fcn.00532871
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.00639410
add esp, 0xc
lea eax, [ebp - 0x1c8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x16b], 0
je 0x510a60
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x16d], 0
mov dword [ebp - 0x11c], eax
je 0x5103b7
mov edi, dword [ebp - 0x54]
mov edx, edi
sub edx, dword [ebp - 0x3c]
mov ecx, edi
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1d4], edx
cmp edx, ecx
jge 0x5103b7
mov ecx, dword [ebp - 0x48]
mov eax, edx
imul eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x40]
jge 0x51039b
lea edi, [eax + ecx]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], esi
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x40]
jl 0x51037a
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1d0]
inc edx
mov dword [ebp - 0x20], eax
mov eax, edi
sub eax, dword [ebp - 0x44]
cmp edx, eax
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x20]
jl 0x51036f
mov ecx, dword [ebx + 0x104]
lea edx, [ebp - 0x48]
push esi
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [ebx + 0x16d], 0
je 0x5105f7
cmp dword [ebx + 0x434], 0
mov edi, esi
jle 0x5105f7
lea eax, [ebx + 0x430]
mov eax, dword [eax]
mov esi, dword [eax + edi*4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x510427
test edi, edi
js 0x5105e3
push edi
lea ecx, [ebx + 0x430]
call fcn.0050d997
push edi
lea ecx, [ebx + 0x43c]
call fcn.0050d997
jmp 0x5105e3
inc edi
push esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5105e3
push esi
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.00512bc8
lea eax, [ebp - 0x130]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x140]
push eax
movups xmmword [ebp - 0x140], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5105e3
push dword [ebx + 0xb0]
and dword [ebp - 0x20], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x20]
sub edx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x12c]
push ecx
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00532871
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
sub edx, dword [ebp - 0x130]
sub ecx, dword [ebp - 0x12c]
imul edx, ecx
mov dword [ebp - 0x1d4], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x20]
call fcn.00639410
add esp, 0x14
push dword [ebp - 0x1d4]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x124]
xor edx, edx
mov esi, dword [ebp - 0x130]
mov ecx, eax
sub ecx, dword [ebp - 0x12c]
test ecx, ecx
mov dword [ebp - 0x1d8], edx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x1cc], eax
jle 0x51059f
mov ebx, eax
mov eax, ecx
mov edi, edx
sub eax, esi
test eax, eax
jle 0x510571
imul eax, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x20]
add eax, edi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x510562
mov ecx, dword [ebp - 0x20]
or ebx, 0xff000000
mov dword [ecx + eax*4], ebx
mov ecx, dword [ebp - 0x128]
mov esi, dword [ebp - 0x130]
mov eax, ecx
inc edi
sub eax, esi
cmp edi, eax
jl 0x510537
mov ebx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x1d8]
mov eax, ebx
sub eax, dword [ebp - 0x12c]
inc edi
mov dword [ebp - 0x1d8], edi
cmp edi, eax
jl 0x51052d
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x1cc], ebx
mov ebx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1cc]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x12c]
sub ecx, esi
sub eax, edx
push eax
push ecx
push edx
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebx + 0x430]
cmp edi, dword [ebx + 0x434]
jl 0x5103f2
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x510624
mov eax, dword [ebx + 0x424]
lea edx, [ebp - 0x48]
push edx
push dword [ebx + 0xb0]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x168]
inc esi
cmp esi, dword [ebx + 0x428]
jl 0x510600
push dword [ebp - 0x11c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x5109c0
lea eax, [ebp - 0x140]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x140], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x194]
xor ecx, ecx
cmp word [eax], cx
je 0x5108bf
mov eax, dword [ebp - 0x58]
lea esi, [ebp - 0x60]
sub eax, dword [ebp - 0x60]
lea edi, [ebp - 0x38]
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x170]
add eax, dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x11c], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x174]
add dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x178]
sub dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x17c]
sub dword [ebp - 0x2c], eax
cmp dword [ebx + 0xc0], ecx
jne 0x51072e
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x11c]
lea esi, [ebx + 0xc4]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 0xac]
push esi
push edi
mov dword [ebx + 0xb4], eax
call fcn.00532871
imul edi, dword [ebp - 0x24]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00639410
add esp, 0x14
push dword [ebx + 0xc0]
push dword [ebx + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
and dword [ebp - 4], eax
sub esp, 0x10
jmp 0x51075f
cmp byte [ebx + 0x180], cl
je 0x5107a6
imul edx, dword [ebp - 0x24]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.00639410
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
push ecx
mov ecx, dword [ebx + 0xb4]
lea esi, [ebp - 0x38]
mov edi, esp
lea edx, [ebp - 0x114]
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.0052c97b
mov ecx, dword [ebx + 0xb4]
lea eax, [ebx + 0x194]
push 0
push eax
lea eax, [ebp - 0x38]
mov edx, ebx
push eax
push eax
call fcn.0052f293
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
add esp, 0x20
call fcn.0052c958
mov eax, dword [ebp - 0x54]
mov ecx, eax
sub ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x1d4], ecx
cmp ecx, eax
jge 0x51094d
mov eax, dword [ebp - 0x24]
mov esi, ecx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x54]
imul esi, eax
mov dword [ebp - 0x11c], 0xff
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1cc], esi
cmp edi, dword [ebp - 0x40]
jge 0x51089b
mov eax, dword [ebx + 0xc4]
lea ecx, [esi + edi]
mov ebx, dword [ebx + 0xbc]
xor edx, edx
mov al, byte [eax + ecx*4 + 3]
lea ecx, [esi + edi]
mov ecx, dword [ecx + ebx]
mov esi, 0xff
movzx edi, al
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
div esi
xor edx, edx
movzx esi, al
movzx eax, cl
mov ecx, 0xff
imul eax, edi
shl esi, 8
div ecx
mov ecx, dword [ebp - 0x1cc]
xor edx, edx
add ecx, dword [ebp - 0x1d8]
movzx eax, al
or esi, eax
shl esi, 8
movzx eax, byte [ecx + ebx]
imul eax, edi
shl edi, 0x18
div dword [ebp - 0x11c]
movzx eax, al
or esi, eax
add esi, edi
mov edi, dword [ebp - 0x1d8]
mov dword [ecx + ebx], esi
inc edi
mov ebx, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d8], edi
cmp edi, dword [ebp - 0x40]
jl 0x5107ec
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1d8], edi
add esi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1d4], ecx
sub eax, dword [ebp - 0x44]
cmp ecx, eax
mov dword [ebp - 0x1cc], esi
mov eax, dword [ebp - 0x24]
jl 0x5107e3
jmp 0x51094d
mov esi, dword [ebp - 0x54]
mov ecx, esi
sub ecx, dword [ebp - 0x3c]
mov eax, esi
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x1d4], ecx
cmp ecx, eax
jge 0x51094d
mov eax, dword [ebp - 0x1d0]
mov edi, ecx
mov edx, dword [ebp - 0x48]
imul edi, eax
cmp edx, dword [ebp - 0x40]
jge 0x510935
mov ecx, dword [ebp - 0x40]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [esi + eax + 3], 0
jne 0x51091b
cmp byte [esi + eax], 0
jne 0x510913
cmp byte [esi + eax + 1], 0
jne 0x510913
cmp byte [esi + eax + 2], 0
je 0x51091b
mov byte [esi + eax + 3], 0xff
mov ecx, dword [ebp - 0x40]
inc edx
add eax, 4
cmp edx, ecx
jl 0x5108f2
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1d0]
add edi, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x1d4], ecx
sub eax, dword [ebp - 0x44]
cmp ecx, eax
mov eax, dword [ebp - 0x1d0]
jl 0x5108e4
mov al, byte [ebx + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1dc]
push 2
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x50]
mov word [ebp - 0x20], cx
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x70]
mov byte [ebp - 0x1d], 1
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x50], ecx
push eax
push dword [ebx + 0xac]
mov dword [ebp - 0x4c], ecx
push dword [ebx + 0xa8]
call dword [0x716b40]
jmp 0x5109f1
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
push 0xcc0020
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
call edi
cmp byte [ebx + 0x101], 0
je 0x510ac5
cmp byte [ebx + 0x16d], 0
jne 0x510ac5
push dword [0x716b48]
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 - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0xac]
call edi
jmp 0x510ac5
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov edi, eax
push 0
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ecx]
push dword [ebx + 0xac]
call dword [edx + 0x144]
xor eax, eax
mov esi, eax
cmp dword [ebx + 0x428], eax
jle 0x510ab8
mov eax, dword [ebx + 0x424]
lea edx, [ebp - 0x48]
push edx
push dword [ebx + 0xac]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x168]
inc esi
cmp esi, dword [ebx + 0x428]
jl 0x510a94
push edi
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1c8]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov byte [ebx + 0x3e2], al
mov byte [ebx + 0x180], al
cmp byte [ebx + 0x169], al
je 0x510af7
mov ecx, ebx
call fcn.00512163
xor eax, eax
cmp byte [ebp - 0x19], 0
je 0x50fc9c
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.00512c34
jmp 0x50fc9c
cmp byte [ebx + 0x3e1], 0
je 0x512159
mov ecx, ebx
call fcn.005129f6
jmp 0x512159
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x512159
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x164]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x108]
mov dword [ebp - 0x168], 0x18
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x168]
mov dword [ebp - 0x160], eax
jmp 0x512150
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x510bdd
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x19
mov dword [ebp - 0x114], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x50fc9c
call fcn.0050b612
jmp 0x50fc9c
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x170]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 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 - 0x14c], 1
lea esi, [ebp - 0x15c]
lea edi, [ebp - 0x140]
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 0x510c60
mov eax, dword [ebp - 0x158]
neg eax
push eax
mov eax, dword [ebp - 0x15c]
neg eax
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebx + 0x124]
mov eax, dword [ebp - 0x1cc]
test ecx, ecx
jle 0x510c73
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x510c80
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x510c8d
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x510c9a
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x510ca7
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x512159
mov dword [eax + 0xc], ecx
jmp 0x512159
sub esi, 0x4e
je 0x5110a0
sub esi, 0x2d
je 0x510fcd
sub esi, 0x85
je 0x510f20
sub esi, 1
je 0x510e78
sub esi, 1
je 0x510dec
sub esi, 0xf
je 0x510dbb
dec esi
sub esi, 1
jne 0x512159
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x512159
mov ecx, dword [ebx + 0x3f4]
xor eax, eax
mov esi, dword [ecx]
mov edi, dword [ebx + 0xa8]
cmp dword [esi + 8], edi
mov edi, dword [ebp - 0x1d0]
jne 0x510d3d
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x510d37
cmp byte [esi + 0x10], 0
je 0x510d50
mov eax, dword [ebp - 0x1d4]
inc eax
add ecx, 4
mov dword [ebp - 0x1d4], eax
cmp eax, edx
jl 0x510d16
jmp 0x512159
push 7
xor eax, eax
lea edi, [ebp - 0x114]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0x118], 0x1b
mov dword [ebp - 0x114], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov ecx, dword [esi]
mov word [ebp - 0x102], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
jmp 0x51214a
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x512159
push eax
push edi
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
test eax, eax
je 0x512159
jmp 0x50fc9c
cmp dword [ebx + 0x104], 0
je 0x512159
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x512159
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x118], 5
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x100], esi
mov word [ebp - 0x104], si
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x512144
cmp dword [ebx + 0x104], 0
je 0x512159
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x512159
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x118], 4
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x100], esi
mov word [ebp - 0x104], si
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x114]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x114], 0
jmp 0x512159
cmp dword [ebx + 0x104], 0
je 0x512159
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x512159
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x120]
mov dword [ebp - 0x118], 3
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x100], esi
mov word [ebp - 0x104], si
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [ebx + 0x108]
mov dword [ebx + 0x114], eax
jmp 0x512159
cmp dword [ebx + 0x104], 0
je 0x512159
mov ecx, dword [ebp - 0x1cc]
movsx eax, cx
mov dword [ebp - 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x110], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x120], eax
je 0x512159
mov ecx, ebx
call fcn.005129f6
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x118], 0x14
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
mov word [ebp - 0x102], si
mov dword [ebp - 0xfc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x110], 0
jmp 0x512159
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x512159
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x50fc36
mov eax, 0x207
cmp esi, eax
ja 0x511ad0
je 0x511a47
mov eax, esi
sub eax, 0x138
je 0x511a30
sub eax, 0xc8
je 0x5114d0
sub eax, 1
je 0x511397
sub eax, 1
je 0x5112f7
sub eax, 1
je 0x511218
sub eax, 1
je 0x51116e
sub eax, 1
jne 0x512159
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov dword [ebx + 0x110], eax
test eax, eax
je 0x512159
mov ecx, ebx
call fcn.005129f6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x10
jmp 0x5120f8
cmp byte [ebx + 0x100], 0
jne 0x511183
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x512159
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.005129de
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0xf
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x108], eax
jmp 0x5112b3
cmp byte [ebx + 0x100], 0
jne 0x51122d
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x512159
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
mov ecx, ebx
call fcn.005129de
xor eax, eax
lea edi, [ebp - 0x114]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x118], 0x13
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x114], esi
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0x100], esi
mov word [ebp - 0x102], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x134]
mov dword [ebx + 0x110], esi
jmp 0x512159
mov eax, edx
movsx esi, dx
shr eax, 0x10
cwde
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x120], eax
cmp dword [ebx + 0x110], ecx
je 0x512159
mov ecx, ebx
call fcn.005129f6
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0xe
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
mov word [ebp - 0x102], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
and dword [ebx + 0x110], 0
jmp 0x512144
cmp byte [ebx + 0x100], 0
jne 0x5113ac
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x512159
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x512159
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x511457
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x51142d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x69c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
sub esp, 0x14
mov esi, eax
mov edi, esp
mov ecx, ebx
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 - 0x1dc]
mov edx, esi
call fcn.0053268b
add esp, 0x14
mov dword [ebx + 0x69c], eax
mov ecx, ebx
call fcn.005129de
mov dword [ebx + 0x110], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
xor eax, eax
lea edi, [ebp - 0x114]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x114], esi
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], 0xd
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
mov word [ebp - 0x102], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1dc]
jmp 0x512144
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x511531
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], edx
test eax, eax
jne 0x511509
mov eax, dword [ebx + 0xfc]
jmp 0x511517
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov edi, dword [ebp - 0x1d0]
mov byte [ebx + 0x3e0], 1
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
movsx esi, ax
mov al, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x1dc], eax
cmp dword [ebx + 0x11c], ecx
jne 0x51156d
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x120], esi
cmove eax, edx
mov dword [ebp - 0x1dc], eax
push esi
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], esi
call fcn.00513fa8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x511598
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
cmp byte [ebp - 0x1dc], 0
je 0x51181d
cmp byte [ebx + 0x698], 0
je 0x51181d
cmp edi, 1
jne 0x51181d
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.006206b8
mov esi, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x6c], esi
push esi
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
call fcn.0051496d
push 0x24
call fcn.006206b8
mov edx, eax
xor eax, eax
pop ecx
push 9
pop ecx
mov edi, edx
mov dword [ebp - 0x1d4], edx
rep stosd dword es:[edi], eax
mov dword [edx], vtable.DuiLib::CIDataObject.0
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [edx]
push edx
call dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x140]
stosd dword es:[edi], eax
push 2
pop ecx
push 0x10
stosd dword es:[edi], eax
pop edx
mov dword [ebp - 0x12c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
or dword [ebp - 0x138], 0xffffffff
push eax
push ecx
push dword [ebx + 0x69c]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x13c], 1
mov word [ebp - 0x144], cx
mov dword [ebp - 0x134], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x1d4]
push 0
push edx
mov dword [ebp - 0x128], esi
lea edx, [ebp - 0x144]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x4c], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x68]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], eax
push 0xe
mov dword [ebp - 0x2c], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov word [ebp - 0x144], ax
mov dword [ebp - 0x134], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x1e0]
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 - 0x1dc], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1dc]
push dword [ebp - 0x14]
push dword [ebp - 0x11c]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1dc]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x128], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x12c]
push 1
push ecx
mov dword [ebp - 0x12c], 0x40
lea ecx, [ebp - 0x144]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.DuiLib::CDragSourceHelper.0
push eax
push 0x6b59bc
push 1
xor ebx, ebx
push ebx
push 0x6b599c
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x24], ecx
push 3
pop esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x60]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.0051497e
lea eax, [ebp - 0x20]
push eax
push esi
mov esi, dword [ebp - 0x6c]
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x20], ebx
je 0x5117f4
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.006206aa
mov eax, dword [edi]
pop ecx
pop ecx
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x28]
mov byte [eax + 0x698], bl
call fcn.00514a0a
jmp 0x512159
and dword [ebp - 0x118], 0
lea edi, [ebp - 0x114]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x108], esi
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x5119e6
push dword [ebp - 0x11c]
mov ecx, ebx
push edi
call fcn.00513fa8
mov esi, eax
test esi, esi
je 0x5118a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x512159
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x5119b1
test eax, eax
je 0x5119b1
mov ecx, dword [ebx + 0x47c]
lea edi, [ebp - 0x12c]
mov dword [ebp - 0x114], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
test ecx, ecx
jle 0x5118fc
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0050d806
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push dword [ebx + 0x47c]
call fcn.0050d849
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x12c]
call fcn.00638910
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x128], edi
jle 0x51195d
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x134]
inc edi
cmp edi, dword [ebp - 0x128]
jl 0x51193c
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov edx, dword [ebx + 0xc8]
xor ecx, ecx
mov dword [ebx + 0x10c], ecx
test edx, edx
je 0x511998
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x12c], 0
je 0x5119b1
push dword [ebp - 0x12c]
call fcn.0063e378
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x5119e9
test esi, esi
je 0x5119e9
mov dword [ebp - 0x118], 0xb
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x10c], esi
jmp 0x5119e9
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x511a08
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], ecx
jmp 0x51214a
test esi, esi
je 0x512159
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x512153
test edx, edx
je 0x512159
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x510dd1
cmp byte [ebx + 0x100], 0
jne 0x511a5c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x512159
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.005129de
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x11
jmp 0x5111f2
sub esi, 0x208
je 0x5120a9
push 2
pop eax
sub esi, eax
je 0x511f8f
sub esi, 0x97
je 0x511d7a
sub esi, eax
je 0x511c8a
sub esi, 0x75
je 0x511bb2
sub esi, 0x7ce9
jne 0x512159
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x511b36
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x511b2d
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x511b1a
lea ecx, [ebx + 0x448]
call fcn.0050d82d
xor ecx, ecx
mov byte [ebx + 0x3e4], cl
lea edx, [ebx + 0x454]
cmp dword [edx + 4], ecx
jle 0x512159
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
je 0x512159
push ecx
mov ecx, edx
call fcn.0050d997
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x511b85
cmp dword [ecx + 0x3c], 0
jle 0x511b85
push esi
add ecx, 0x38
call fcn.00532a6c
xor edi, edi
cmp dword [ebx + 0x3ec], edi
jle 0x511ba6
mov eax, dword [ebx + 0x3e8]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
inc edi
cmp edi, dword [ebx + 0x3ec]
jl 0x511b8f
push ecx
mov ecx, esi
call fcn.0050f491
xor ecx, ecx
jmp 0x511b49
cmp dword [ebx + 0x104], ecx
je 0x512159
lea eax, [ebp - 0x140]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x140]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x144]
mov eax, dword [ebp - 0x1cc]
test al, 0x10
je 0x511c7b
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x511c7b
push 2
pop eax
or dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x34]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x38]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1cc]
push edi
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x511c1a
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x512159
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x511caa
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x511d6e
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
movups xmmword [ebp - 0x140], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x140]
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 0x511d5d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x511d5d
push dword [ebp - 0x14]
lea eax, [ebp - 0x140]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x511d5d
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x511d5d
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x511d5f
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x512159
mov eax, edx
mov byte [ebx + 0x3e0], cl
shr eax, 0x10
cwde
movsx ecx, dx
push eax
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x512159
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x511e32
mov esi, dword [ebp - 0x1d0]
lea edi, [ebp - 0x114]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x118], 0xc
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov ecx, dword [ebx + 0x10c]
lea edx, [ebp - 0x118]
mov word [ebp - 0x102], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov esi, dword [ebp - 0x1dc]
push 0x84
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.00639410
mov eax, dword [esi]
lea ecx, [ebp - 0xf8]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 0xbc]
push 2
pop eax
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 0xf8]
cmp word [eax], cx
jne 0x511e7c
lea ecx, [ebp - 0xf8]
call fcn.0041b502
jmp 0x50fc9c
push 0x30
push ecx
lea edi, [ebx + 0xcc]
push edi
call fcn.00639410
mov eax, dword [ebx + 0xa8]
add esp, 0xc
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov dword [ebx + 0xd8], eax
mov eax, dword [0x716b38]
mov dword [ebx + 0xec], eax
mov eax, dword [ebp - 0xf8]
mov dword [edi], 0x30
mov dword [ebx + 0xd0], 1
mov dword [ebx + 0xf0], eax
mov eax, dword [esi]
call dword [eax + 0x50]
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 esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xc8], eax
jne 0x511f51
push eax
push dword [0x716b38]
mov ecx, closesocket
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 edi, [ebx + 0xcc]
mov dword [ebx + 0xc8], eax
push edi
xor esi, esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x432
push eax
call esi
mov ecx, dword [ebp - 0x1dc]
mov eax, dword [ecx]
call dword [eax + 0xc8]
push eax
push 0
push 0x418
push dword [ebx + 0xc8]
call esi
jmp 0x511f57
lea edi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x511e6c
push edi
push eax
push 0x436
push dword [ebx + 0xc8]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0xc8]
call esi
jmp 0x511e6c
cmp dword [ebx + 0x104], ecx
je 0x512159
movsx eax, dx
mov dword [ebp - 0x120], eax
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
push eax
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x512159
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x512159
xor eax, eax
lea edi, [ebp - 0x114]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x114], esi
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x120]
shr esi, 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
shr esi, 0xf
mov dword [ebp - 0x118], 0x15
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
call fcn.0050e47c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x118]
mov dword [ebp - 0x110], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
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 0x512159
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x11c], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x11c], eax
mov dword [ebx + 0x120], eax
call fcn.00513fa8
mov dword [ebx + 0x110], eax
test eax, eax
je 0x512159
mov ecx, ebx
call fcn.005129f6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x12
mov eax, dword [ebx + 0x110]
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x108], eax
mov word [ebp - 0x102], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x110]
mov dword [ebp - 0x110], eax
lea edx, [ebp - 0x118]
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor al, al
call fcn.00621813
ret 0x10