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

Disassembly:
push 0x1d4
mov eax, 0x676645
call fcn.006267e9
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 0x51ab09
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x51859c
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 0x5185f0
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 0x518558
mov eax, dword [ebp - 0x1d8]
cmp byte [ebx + 0x16d], 0
je 0x51866c
mov dword [ebp - 0x24], esi
sub dword [ebp - 0x24], 0x83
je 0x518668
sub dword [ebp - 0x24], 2
je 0x518668
sub dword [ebp - 0x24], 1
jne 0x51866c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51966d
test edi, edi
sete al
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
jmp 0x51864c
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x518615
cmp esi, 0x1ff
jbe 0x51864c
cmp esi, 0x203
jbe 0x518653
cmp esi, 0x20a
jne 0x51864c
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 0x51ab0b
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x518646
mov dword [eax], ecx
jmp 0x51864c
mov eax, 0x133
cmp esi, eax
ja 0x519a72
je 0x51a3e0
cmp esi, 0x24
ja 0x51966d
je 0x5195a5
sub esi, 5
je 0x519545
dec esi
sub esi, 1
je 0x5194e5
sub esi, 1
je 0x5194cc
sub esi, 7
je 0x5188a1
sub esi, 1
je 0x5187be
sub esi, 4
je 0x5187ae
sub esi, 0xc
jne 0x51ab09
cmp dword [ebx + 0x104], ecx
je 0x51ab09
xor eax, eax
inc eax
cmp dx, ax
jne 0x51ab09
cmp byte [ebx + 0x3e1], 0
jne 0x51ab0b
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.0051c958
mov ebx, eax
test ebx, ebx
je 0x51ab09
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x51ab09
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.00516e2c
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 0x51864c
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x51ab0b
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.00516e2c
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 0x51882a
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 0x518853
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.0051af3b
mov edi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x518881
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x518881
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x51ab09
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xc8], esi
jmp 0x51ab09
cmp dword [ebx + 0x104], ecx
jne 0x5188fd
push 0x40
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.0063e3a0
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.00534425
pop ecx
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x51864c
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 0x51864c
cmp byte [ebx + 0x16a], 0
je 0x518948
push 1
mov ecx, ebx
call fcn.0051b3bf
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 0x518b68
lea eax, [ebp - 0x60]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x518bda
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x518bda
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x518a6a
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 0x5189d3
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x5189e4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x5189f5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x518a06
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 0x518a4c
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 0x518afe
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.00516140
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x51cae1
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 0x518b00
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 0x518ac3
call dword [ebx + 0x50]
jmp 0x518acd
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 0x518aa1
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x518bda
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
mov ecx, ebx
call fcn.0051b5e4
cmp byte [ebx + 0x16d], 0
je 0x518b51
cmp byte [ebx + 0x180], 0
je 0x518b51
mov ecx, ebx
call fcn.0051ab13
mov byte [ebx + 0x3e2], 0
jmp 0x51864c
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.005398b1
mov byte [ebp - 0x19], 1
jmp 0x518bda
cmp byte [ebx + 0x16d], cl
je 0x518bda
cmp byte [ebx + 0x180], cl
je 0x518bda
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 0x518b9d
imul eax, edx
shl eax, 2
push eax
push ecx
push esi
call fcn.0063e3a0
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 0x518c4c
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x518c0c
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.0063e3a0
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x518c97
cmp dword [ebx + 0xb8], esi
jne 0x518c97
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.005378b5
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.0063e3a0
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 0x519410
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 0x518d67
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 0x518d67
mov ecx, dword [ebp - 0x48]
mov eax, edx
imul eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x40]
jge 0x518d4b
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 0x518d2a
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 0x518d1f
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 0x518fa7
cmp dword [ebx + 0x434], 0
mov edi, esi
jle 0x518fa7
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 0x518dd7
test edi, edi
js 0x518f93
push edi
lea ecx, [ebx + 0x430]
call fcn.005162aa
push edi
lea ecx, [ebx + 0x43c]
call fcn.005162aa
jmp 0x518f93
inc edi
push esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x518f93
push esi
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0051b578
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 0x518f93
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.005378b5
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.0063e3a0
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 0x518f4f
mov ebx, eax
mov eax, ecx
mov edi, edx
sub eax, esi
test eax, eax
jle 0x518f21
imul eax, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x20]
add eax, edi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x518f12
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 0x518ee7
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 0x518edd
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 0x518da2
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x518fd4
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 0x518fb0
push dword [ebp - 0x11c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x519370
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 0x51926f
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 0x5190de
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.005378b5
imul edi, dword [ebp - 0x24]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.0063e3a0
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 0x51910f
cmp byte [ebx + 0x180], cl
je 0x519156
imul edx, dword [ebp - 0x24]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.0063e3a0
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.005319b9
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.005342d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
add esp, 0x20
call fcn.00531996
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 0x5192fd
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 0x51924b
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 0x51919c
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 0x519193
jmp 0x5192fd
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 0x5192fd
mov eax, dword [ebp - 0x1d0]
mov edi, ecx
mov edx, dword [ebp - 0x48]
imul edi, eax
cmp edx, dword [ebp - 0x40]
jge 0x5192e5
mov ecx, dword [ebp - 0x40]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [esi + eax + 3], 0
jne 0x5192cb
cmp byte [esi + eax], 0
jne 0x5192c3
cmp byte [esi + eax + 1], 0
jne 0x5192c3
cmp byte [esi + eax + 2], 0
je 0x5192cb
mov byte [esi + eax + 3], 0xff
mov ecx, dword [ebp - 0x40]
inc edx
add eax, 4
cmp edx, ecx
jl 0x5192a2
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 0x519294
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 [0x71cd40]
jmp 0x5193a1
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 0x519475
cmp byte [ebx + 0x16d], 0
jne 0x519475
push dword [0x71cd3c]
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 0x519475
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 0x519468
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 0x519444
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 0x5194a7
mov ecx, ebx
call fcn.0051ab13
xor eax, eax
cmp byte [ebp - 0x19], 0
je 0x51864c
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.0051b5e4
jmp 0x51864c
cmp byte [ebx + 0x3e1], 0
je 0x51ab09
mov ecx, ebx
call fcn.0051b3a6
jmp 0x51ab09
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x51ab09
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 0x51ab00
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51958d
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 0x51864c
call fcn.00513f22
jmp 0x51864c
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 0x519610
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 0x519623
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x519630
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x51963d
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x51964a
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x519657
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x51ab09
mov dword [eax + 0xc], ecx
jmp 0x51ab09
sub esi, 0x4e
je 0x519a50
sub esi, 0x2d
je 0x51997d
sub esi, 0x85
je 0x5198d0
sub esi, 1
je 0x519828
sub esi, 1
je 0x51979c
sub esi, 0xf
je 0x51976b
dec esi
sub esi, 1
jne 0x51ab09
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x51ab09
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 0x5196ed
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x5196e7
cmp byte [esi + 0x10], 0
je 0x519700
mov eax, dword [ebp - 0x1d4]
inc eax
add ecx, 4
mov dword [ebp - 0x1d4], eax
cmp eax, edx
jl 0x5196c6
jmp 0x51ab09
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.00516e2c
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 0x51aafa
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x51ab09
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 0x51ab09
jmp 0x51864c
cmp dword [ebx + 0x104], 0
je 0x51ab09
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51ab09
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.00516e2c
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x51aaf4
cmp dword [ebx + 0x104], 0
je 0x51ab09
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x51ab09
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.00516e2c
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 0x51ab09
cmp dword [ebx + 0x104], 0
je 0x51ab09
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51ab09
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.00516e2c
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 0x51ab09
cmp dword [ebx + 0x104], 0
je 0x51ab09
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 0x51ab09
mov ecx, ebx
call fcn.0051b3a6
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 0x51ab09
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x51ab09
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5185e6
mov eax, 0x207
cmp esi, eax
ja 0x51a480
je 0x51a3f7
mov eax, esi
sub eax, 0x138
je 0x51a3e0
sub eax, 0xc8
je 0x519e80
sub eax, 1
je 0x519d47
sub eax, 1
je 0x519ca7
sub eax, 1
je 0x519bc8
sub eax, 1
je 0x519b1e
sub eax, 1
jne 0x51ab09
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.0051c958
mov dword [ebx + 0x110], eax
test eax, eax
je 0x51ab09
mov ecx, ebx
call fcn.0051b3a6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x10
jmp 0x51aaa8
cmp byte [ebx + 0x100], 0
jne 0x519b33
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.0051c958
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51ab09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051b38e
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 0x519c63
cmp byte [ebx + 0x100], 0
jne 0x519bdd
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.0051c958
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51ab09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
mov ecx, ebx
call fcn.0051b38e
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 0x51ab09
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 0x51ab09
mov ecx, ebx
call fcn.0051b3a6
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 0x51aaf4
cmp byte [ebx + 0x100], 0
jne 0x519d5c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x51ab09
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.0051c958
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x51ab09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x519e07
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x519ddd
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.005376cf
add esp, 0x14
mov dword [ebx + 0x69c], eax
mov ecx, ebx
call fcn.0051b38e
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 0x51aaf4
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x519ee1
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 0x519eb9
mov eax, dword [ebx + 0xfc]
jmp 0x519ec7
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 0x519f1d
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.0051c958
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x519f48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
cmp byte [ebp - 0x1dc], 0
je 0x51a1cd
cmp byte [ebx + 0x698], 0
je 0x51a1cd
cmp edi, 1
jne 0x51a1cd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00625640
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.0051d31e
push 0x24
call fcn.00625640
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 0x6ba9a4
push 1
xor ebx, ebx
push ebx
push 0x6ba984
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.0051d32f
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 0x51a1a4
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.00625632
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.0051d3bb
jmp 0x51ab09
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.00516e2c
mov word [ebp - 0x102], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x51a396
push dword [ebp - 0x11c]
mov ecx, ebx
push edi
call fcn.0051c958
mov esi, eax
test esi, esi
je 0x51a251
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x51ab09
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x51a361
test eax, eax
je 0x51a361
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 0x51a2ac
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00516119
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push dword [ebx + 0x47c]
call fcn.0051615c
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x12c]
call fcn.0063d8a0
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x128], edi
jle 0x51a30d
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 0x51a2ec
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 0x51a348
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 0x51a361
push dword [ebp - 0x12c]
call fcn.00643308
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x51a399
test esi, esi
je 0x51a399
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 0x51a399
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x51a3b8
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], ecx
jmp 0x51aafa
test esi, esi
je 0x51ab09
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x51ab03
test edx, edx
je 0x51ab09
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x519781
cmp byte [ebx + 0x100], 0
jne 0x51a40c
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.0051c958
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51ab09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051b38e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x11
jmp 0x519ba2
sub esi, 0x208
je 0x51aa59
push 2
pop eax
sub esi, eax
je 0x51a93f
sub esi, 0x97
je 0x51a72a
sub esi, eax
je 0x51a63a
sub esi, 0x75
je 0x51a562
sub esi, 0x7ce9
jne 0x51ab09
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x51a4e6
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x51a4dd
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x51a4ca
lea ecx, [ebx + 0x448]
call fcn.00516140
xor ecx, ecx
mov byte [ebx + 0x3e4], cl
lea edx, [ebx + 0x454]
cmp dword [edx + 4], ecx
jle 0x51ab09
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
je 0x51ab09
push ecx
mov ecx, edx
call fcn.005162aa
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51a535
cmp dword [ecx + 0x3c], 0
jle 0x51a535
push esi
add ecx, 0x38
call fcn.00537ab0
xor edi, edi
cmp dword [ebx + 0x3ec], edi
jle 0x51a556
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 0x51a53f
push ecx
mov ecx, esi
call fcn.00517e41
xor ecx, ecx
jmp 0x51a4f9
cmp dword [ebx + 0x104], ecx
je 0x51ab09
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 0x51a62b
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x51a62b
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 0x51a5ca
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x51ab09
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x51a65a
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x51a71e
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 0x51a70d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x51a70d
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 0x51a70d
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 0x51a70d
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 0x51a70f
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x51ab09
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.0051c958
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x51ab09
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x51a7e2
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.00516e2c
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.0063e3a0
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 0x51a82c
lea ecx, [ebp - 0xf8]
call fcn.0041b542
jmp 0x51864c
push 0x30
push ecx
lea edi, [ebx + 0xcc]
push edi
call fcn.0063e3a0
mov eax, dword [ebx + 0xa8]
add esp, 0xc
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov dword [ebx + 0xd8], eax
mov eax, dword [0x71cd30]
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 0x51a901
push eax
push dword [0x71cd30]
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 0x51a907
lea edi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x51a81c
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 0x51a81c
cmp dword [ebx + 0x104], ecx
je 0x51ab09
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.0051c958
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x51ab09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51ab09
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.00516e2c
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 0x51ab09
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.0051c958
mov dword [ebx + 0x110], eax
test eax, eax
je 0x51ab09
mov ecx, ebx
call fcn.0051b3a6
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.00626793
ret 0x10