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

Disassembly:
push 0x1d4
mov eax, 0x6727f2
call fcn.006233d9
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 0x513dc9
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x51185c
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 0x5118b0
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 0x511818
mov eax, dword [ebp - 0x1d8]
cmp byte [ebx + 0x16d], 0
je 0x51192c
mov dword [ebp - 0x24], esi
sub dword [ebp - 0x24], 0x83
je 0x511928
sub dword [ebp - 0x24], 2
je 0x511928
sub dword [ebp - 0x24], 1
jne 0x51192c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51292d
test edi, edi
sete al
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
jmp 0x51190c
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x5118d5
cmp esi, 0x1ff
jbe 0x51190c
cmp esi, 0x203
jbe 0x511913
cmp esi, 0x20a
jne 0x51190c
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 0x513dcb
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x511906
mov dword [eax], ecx
jmp 0x51190c
mov eax, 0x133
cmp esi, eax
ja 0x512d32
je 0x5136a0
cmp esi, 0x24
ja 0x51292d
je 0x512865
sub esi, 5
je 0x512805
dec esi
sub esi, 1
je 0x5127a5
sub esi, 1
je 0x51278c
sub esi, 7
je 0x511b61
sub esi, 1
je 0x511a7e
sub esi, 4
je 0x511a6e
sub esi, 0xc
jne 0x513dc9
cmp dword [ebx + 0x104], ecx
je 0x513dc9
xor eax, eax
inc eax
cmp dx, ax
jne 0x513dc9
cmp byte [ebx + 0x3e1], 0
jne 0x513dcb
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.00515c15
mov ebx, eax
test ebx, ebx
je 0x513dc9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x513dc9
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.005100ec
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 0x51190c
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x513dcb
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.005100ec
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 0x511aea
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 0x511b13
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.005141fb
mov edi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x511b41
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x511b41
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x513dc9
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xc8], esi
jmp 0x513dc9
cmp dword [ebx + 0x104], ecx
jne 0x511bbd
push 0x40
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.0063af90
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.00531051
pop ecx
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x51190c
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 0x51190c
cmp byte [ebx + 0x16a], 0
je 0x511c08
push 1
mov ecx, ebx
call fcn.0051467f
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 0x511e28
lea eax, [ebp - 0x60]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x511e9a
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x511e9a
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x511d2a
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 0x511c93
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x511ca4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x511cb5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x511cc6
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 0x511d0c
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 0x511dbe
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.0050f49d
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x515d9e
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 0x511dc0
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 0x511d83
call dword [ebx + 0x50]
jmp 0x511d8d
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 0x511d61
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x511e9a
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
mov ecx, ebx
call fcn.005148a4
cmp byte [ebx + 0x16d], 0
je 0x511e11
cmp byte [ebx + 0x180], 0
je 0x511e11
mov ecx, ebx
call fcn.00513dd3
mov byte [ebx + 0x3e2], 0
jmp 0x51190c
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.005364da
mov byte [ebp - 0x19], 1
jmp 0x511e9a
cmp byte [ebx + 0x16d], cl
je 0x511e9a
cmp byte [ebx + 0x180], cl
je 0x511e9a
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 0x511e5d
imul eax, edx
shl eax, 2
push eax
push ecx
push esi
call fcn.0063af90
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 0x511f0c
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x511ecc
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.0063af90
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x511f57
cmp dword [ebx + 0xb8], esi
jne 0x511f57
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.005344e1
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.0063af90
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 0x5126d0
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 0x512027
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 0x512027
mov ecx, dword [ebp - 0x48]
mov eax, edx
imul eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x40]
jge 0x51200b
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 0x511fea
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 0x511fdf
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 0x512267
cmp dword [ebx + 0x434], 0
mov edi, esi
jle 0x512267
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 0x512097
test edi, edi
js 0x512253
push edi
lea ecx, [ebx + 0x430]
call fcn.0050f607
push edi
lea ecx, [ebx + 0x43c]
call fcn.0050f607
jmp 0x512253
inc edi
push esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x512253
push esi
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.00514838
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 0x512253
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.005344e1
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.0063af90
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 0x51220f
mov ebx, eax
mov eax, ecx
mov edi, edx
sub eax, esi
test eax, eax
jle 0x5121e1
imul eax, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x20]
add eax, edi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x5121d2
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 0x5121a7
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 0x51219d
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 0x512062
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x512294
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 0x512270
push dword [ebp - 0x11c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x512630
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 0x51252f
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 0x51239e
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.005344e1
imul edi, dword [ebp - 0x24]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.0063af90
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 0x5123cf
cmp byte [ebx + 0x180], cl
je 0x512416
imul edx, dword [ebp - 0x24]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.0063af90
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.0052e5eb
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.00530f03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
add esp, 0x20
call fcn.0052e5c8
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 0x5125bd
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 0x51250b
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 0x51245c
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 0x512453
jmp 0x5125bd
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 0x5125bd
mov eax, dword [ebp - 0x1d0]
mov edi, ecx
mov edx, dword [ebp - 0x48]
imul edi, eax
cmp edx, dword [ebp - 0x40]
jge 0x5125a5
mov ecx, dword [ebp - 0x40]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [esi + eax + 3], 0
jne 0x51258b
cmp byte [esi + eax], 0
jne 0x512583
cmp byte [esi + eax + 1], 0
jne 0x512583
cmp byte [esi + eax + 2], 0
je 0x51258b
mov byte [esi + eax + 3], 0xff
mov ecx, dword [ebp - 0x40]
inc edx
add eax, 4
cmp edx, ecx
jl 0x512562
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 0x512554
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 [0x718b68]
jmp 0x512661
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 0x512735
cmp byte [ebx + 0x16d], 0
jne 0x512735
push dword [0x718b64]
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 0x512735
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 0x512728
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 0x512704
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 0x512767
mov ecx, ebx
call fcn.00513dd3
xor eax, eax
cmp byte [ebp - 0x19], 0
je 0x51190c
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.005148a4
jmp 0x51190c
cmp byte [ebx + 0x3e1], 0
je 0x513dc9
mov ecx, ebx
call fcn.00514666
jmp 0x513dc9
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x513dc9
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 0x513dc0
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51284d
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 0x51190c
call fcn.0050d282
jmp 0x51190c
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 0x5128d0
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 0x5128e3
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x5128f0
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x5128fd
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x51290a
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x512917
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x513dc9
mov dword [eax + 0xc], ecx
jmp 0x513dc9
sub esi, 0x4e
je 0x512d10
sub esi, 0x2d
je 0x512c3d
sub esi, 0x85
je 0x512b90
sub esi, 1
je 0x512ae8
sub esi, 1
je 0x512a5c
sub esi, 0xf
je 0x512a2b
dec esi
sub esi, 1
jne 0x513dc9
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x513dc9
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 0x5129ad
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x5129a7
cmp byte [esi + 0x10], 0
je 0x5129c0
mov eax, dword [ebp - 0x1d4]
inc eax
add ecx, 4
mov dword [ebp - 0x1d4], eax
cmp eax, edx
jl 0x512986
jmp 0x513dc9
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.005100ec
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 0x513dba
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x513dc9
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 0x513dc9
jmp 0x51190c
cmp dword [ebx + 0x104], 0
je 0x513dc9
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x513dc9
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.005100ec
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x513db4
cmp dword [ebx + 0x104], 0
je 0x513dc9
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x513dc9
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.005100ec
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 0x513dc9
cmp dword [ebx + 0x104], 0
je 0x513dc9
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x513dc9
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.005100ec
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 0x513dc9
cmp dword [ebx + 0x104], 0
je 0x513dc9
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 0x513dc9
mov ecx, ebx
call fcn.00514666
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 0x513dc9
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x513dc9
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5118a6
mov eax, 0x207
cmp esi, eax
ja 0x513740
je 0x5136b7
mov eax, esi
sub eax, 0x138
je 0x5136a0
sub eax, 0xc8
je 0x513140
sub eax, 1
je 0x513007
sub eax, 1
je 0x512f67
sub eax, 1
je 0x512e88
sub eax, 1
je 0x512dde
sub eax, 1
jne 0x513dc9
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.00515c15
mov dword [ebx + 0x110], eax
test eax, eax
je 0x513dc9
mov ecx, ebx
call fcn.00514666
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x10
jmp 0x513d68
cmp byte [ebx + 0x100], 0
jne 0x512df3
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.00515c15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x513dc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051464e
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 0x512f23
cmp byte [ebx + 0x100], 0
jne 0x512e9d
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.00515c15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x513dc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
mov ecx, ebx
call fcn.0051464e
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 0x513dc9
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 0x513dc9
mov ecx, ebx
call fcn.00514666
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 0x513db4
cmp byte [ebx + 0x100], 0
jne 0x51301c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x513dc9
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.00515c15
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x513dc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x5130c7
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x51309d
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.005342fb
add esp, 0x14
mov dword [ebx + 0x69c], eax
mov ecx, ebx
call fcn.0051464e
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 0x513db4
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x5131a1
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 0x513179
mov eax, dword [ebx + 0xfc]
jmp 0x513187
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 0x5131dd
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.00515c15
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x513208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
cmp byte [ebp - 0x1dc], 0
je 0x51348d
cmp byte [ebx + 0x698], 0
je 0x51348d
cmp edi, 1
jne 0x51348d
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00622230
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.005165da
push 0x24
call fcn.00622230
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 0x6b79b4
push 1
xor ebx, ebx
push ebx
push 0x6b7994
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.005165eb
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 0x513464
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.00622222
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.00516677
jmp 0x513dc9
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.005100ec
mov word [ebp - 0x102], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x513656
push dword [ebp - 0x11c]
mov ecx, ebx
push edi
call fcn.00515c15
mov esi, eax
test esi, esi
je 0x513511
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x513dc9
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x513621
test eax, eax
je 0x513621
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 0x51356c
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0050f476
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push dword [ebx + 0x47c]
call fcn.0050f4b9
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x12c]
call fcn.0063a490
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x128], edi
jle 0x5135cd
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 0x5135ac
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 0x513608
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 0x513621
push dword [ebp - 0x12c]
call fcn.0063fef8
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x513659
test esi, esi
je 0x513659
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 0x513659
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x513678
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], ecx
jmp 0x513dba
test esi, esi
je 0x513dc9
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x513dc3
test edx, edx
je 0x513dc9
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x512a41
cmp byte [ebx + 0x100], 0
jne 0x5136cc
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.00515c15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x513dc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051464e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x11
jmp 0x512e62
sub esi, 0x208
je 0x513d19
push 2
pop eax
sub esi, eax
je 0x513bff
sub esi, 0x97
je 0x5139ea
sub esi, eax
je 0x5138fa
sub esi, 0x75
je 0x513822
sub esi, 0x7ce9
jne 0x513dc9
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x5137a6
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x51379d
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x51378a
lea ecx, [ebx + 0x448]
call fcn.0050f49d
xor ecx, ecx
mov byte [ebx + 0x3e4], cl
lea edx, [ebx + 0x454]
cmp dword [edx + 4], ecx
jle 0x513dc9
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
je 0x513dc9
push ecx
mov ecx, edx
call fcn.0050f607
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x5137f5
cmp dword [ecx + 0x3c], 0
jle 0x5137f5
push esi
add ecx, 0x38
call fcn.005346dc
xor edi, edi
cmp dword [ebx + 0x3ec], edi
jle 0x513816
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 0x5137ff
push ecx
mov ecx, esi
call fcn.00511101
xor ecx, ecx
jmp 0x5137b9
cmp dword [ebx + 0x104], ecx
je 0x513dc9
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 0x5138eb
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x5138eb
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 0x51388a
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x513dc9
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x51391a
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x5139de
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 0x5139cd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x5139cd
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 0x5139cd
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 0x5139cd
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 0x5139cf
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x513dc9
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.00515c15
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x513dc9
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x513aa2
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.005100ec
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.0063af90
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 0x513aec
lea ecx, [ebp - 0xf8]
call fcn.0041b502
jmp 0x51190c
push 0x30
push ecx
lea edi, [ebx + 0xcc]
push edi
call fcn.0063af90
mov eax, dword [ebx + 0xa8]
add esp, 0xc
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov dword [ebx + 0xd8], eax
mov eax, dword [0x718b58]
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 0x513bc1
push eax
push dword [0x718b58]
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 0x513bc7
lea edi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x513adc
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 0x513adc
cmp dword [ebx + 0x104], ecx
je 0x513dc9
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.00515c15
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x513dc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x513dc9
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.005100ec
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 0x513dc9
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.00515c15
mov dword [ebx + 0x110], eax
test eax, eax
je 0x513dc9
mov ecx, ebx
call fcn.00514666
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.00623383
ret 0x10