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

Disassembly:
push 0x1d4
mov eax, 0x670382
call fcn.00621369
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 0x511cc9
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x50f75c
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 0x50f7b0
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 0x50f718
mov eax, dword [ebp - 0x1d8]
cmp byte [ebx + 0x16d], 0
je 0x50f82c
mov dword [ebp - 0x24], esi
sub dword [ebp - 0x24], 0x83
je 0x50f828
sub dword [ebp - 0x24], 2
je 0x50f828
sub dword [ebp - 0x24], 1
jne 0x50f82c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51082d
test edi, edi
sete al
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
jmp 0x50f80c
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x50f7d5
cmp esi, 0x1ff
jbe 0x50f80c
cmp esi, 0x203
jbe 0x50f813
cmp esi, 0x20a
jne 0x50f80c
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 0x511ccb
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x50f806
mov dword [eax], ecx
jmp 0x50f80c
mov eax, 0x133
cmp esi, eax
ja 0x510c32
je 0x5115a0
cmp esi, 0x24
ja 0x51082d
je 0x510765
sub esi, 5
je 0x510705
dec esi
sub esi, 1
je 0x5106a5
sub esi, 1
je 0x51068c
sub esi, 7
je 0x50fa61
sub esi, 1
je 0x50f97e
sub esi, 4
je 0x50f96e
sub esi, 0xc
jne 0x511cc9
cmp dword [ebx + 0x104], ecx
je 0x511cc9
xor eax, eax
inc eax
cmp dx, ax
jne 0x511cc9
cmp byte [ebx + 0x3e1], 0
jne 0x511ccb
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.00513b15
mov ebx, eax
test ebx, ebx
je 0x511cc9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x511cc9
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.0050dfec
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 0x50f80c
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x511ccb
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.0050dfec
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 0x50f9ea
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 0x50fa13
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.005120fb
mov edi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x50fa41
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x50fa41
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x511cc9
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xc8], esi
jmp 0x511cc9
cmp dword [ebx + 0x104], ecx
jne 0x50fabd
push 0x40
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.00638f20
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.0052ef51
pop ecx
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x50f80c
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 0x50f80c
cmp byte [ebx + 0x16a], 0
je 0x50fb08
push 1
mov ecx, ebx
call fcn.0051257f
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 0x50fd28
lea eax, [ebp - 0x60]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x50fd9a
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x50fd9a
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x50fc2a
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 0x50fb93
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x50fba4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x50fbb5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x50fbc6
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 0x50fc0c
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 0x50fcbe
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.0050d39d
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x513c9e
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 0x50fcc0
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 0x50fc83
call dword [ebx + 0x50]
jmp 0x50fc8d
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 0x50fc61
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x50fd9a
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
mov ecx, ebx
call fcn.005127a4
cmp byte [ebx + 0x16d], 0
je 0x50fd11
cmp byte [ebx + 0x180], 0
je 0x50fd11
mov ecx, ebx
call fcn.00511cd3
mov byte [ebx + 0x3e2], 0
jmp 0x50f80c
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.005343da
mov byte [ebp - 0x19], 1
jmp 0x50fd9a
cmp byte [ebx + 0x16d], cl
je 0x50fd9a
cmp byte [ebx + 0x180], cl
je 0x50fd9a
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 0x50fd5d
imul eax, edx
shl eax, 2
push eax
push ecx
push esi
call fcn.00638f20
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 0x50fe0c
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x50fdcc
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.00638f20
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x50fe57
cmp dword [ebx + 0xb8], esi
jne 0x50fe57
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.005323e1
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.00638f20
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 0x5105d0
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 0x50ff27
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 0x50ff27
mov ecx, dword [ebp - 0x48]
mov eax, edx
imul eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x40]
jge 0x50ff0b
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 0x50feea
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 0x50fedf
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 0x510167
cmp dword [ebx + 0x434], 0
mov edi, esi
jle 0x510167
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 0x50ff97
test edi, edi
js 0x510153
push edi
lea ecx, [ebx + 0x430]
call fcn.0050d507
push edi
lea ecx, [ebx + 0x43c]
call fcn.0050d507
jmp 0x510153
inc edi
push esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x510153
push esi
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.00512738
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 0x510153
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.005323e1
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.00638f20
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 0x51010f
mov ebx, eax
mov eax, ecx
mov edi, edx
sub eax, esi
test eax, eax
jle 0x5100e1
imul eax, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x20]
add eax, edi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x5100d2
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 0x5100a7
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 0x51009d
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 0x50ff62
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x510194
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 0x510170
push dword [ebp - 0x11c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x510530
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 0x51042f
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 0x51029e
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.005323e1
imul edi, dword [ebp - 0x24]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.00638f20
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 0x5102cf
cmp byte [ebx + 0x180], cl
je 0x510316
imul edx, dword [ebp - 0x24]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.00638f20
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.0052c4eb
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.0052ee03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
add esp, 0x20
call fcn.0052c4c8
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 0x5104bd
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 0x51040b
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 0x51035c
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 0x510353
jmp 0x5104bd
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 0x5104bd
mov eax, dword [ebp - 0x1d0]
mov edi, ecx
mov edx, dword [ebp - 0x48]
imul edi, eax
cmp edx, dword [ebp - 0x40]
jge 0x5104a5
mov ecx, dword [ebp - 0x40]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [esi + eax + 3], 0
jne 0x51048b
cmp byte [esi + eax], 0
jne 0x510483
cmp byte [esi + eax + 1], 0
jne 0x510483
cmp byte [esi + eax + 2], 0
je 0x51048b
mov byte [esi + eax + 3], 0xff
mov ecx, dword [ebp - 0x40]
inc edx
add eax, 4
cmp edx, ecx
jl 0x510462
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 0x510454
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 [0x715b48]
jmp 0x510561
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 0x510635
cmp byte [ebx + 0x16d], 0
jne 0x510635
push dword [0x715b44]
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 0x510635
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 0x510628
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 0x510604
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 0x510667
mov ecx, ebx
call fcn.00511cd3
xor eax, eax
cmp byte [ebp - 0x19], 0
je 0x50f80c
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.005127a4
jmp 0x50f80c
cmp byte [ebx + 0x3e1], 0
je 0x511cc9
mov ecx, ebx
call fcn.00512566
jmp 0x511cc9
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x511cc9
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 0x511cc0
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51074d
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 0x50f80c
call fcn.0050b182
jmp 0x50f80c
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 0x5107d0
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 0x5107e3
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x5107f0
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x5107fd
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x51080a
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x510817
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x511cc9
mov dword [eax + 0xc], ecx
jmp 0x511cc9
sub esi, 0x4e
je 0x510c10
sub esi, 0x2d
je 0x510b3d
sub esi, 0x85
je 0x510a90
sub esi, 1
je 0x5109e8
sub esi, 1
je 0x51095c
sub esi, 0xf
je 0x51092b
dec esi
sub esi, 1
jne 0x511cc9
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x511cc9
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 0x5108ad
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x5108a7
cmp byte [esi + 0x10], 0
je 0x5108c0
mov eax, dword [ebp - 0x1d4]
inc eax
add ecx, 4
mov dword [ebp - 0x1d4], eax
cmp eax, edx
jl 0x510886
jmp 0x511cc9
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.0050dfec
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 0x511cba
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x511cc9
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 0x511cc9
jmp 0x50f80c
cmp dword [ebx + 0x104], 0
je 0x511cc9
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x511cc9
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.0050dfec
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x511cb4
cmp dword [ebx + 0x104], 0
je 0x511cc9
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x511cc9
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.0050dfec
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 0x511cc9
cmp dword [ebx + 0x104], 0
je 0x511cc9
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x511cc9
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.0050dfec
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 0x511cc9
cmp dword [ebx + 0x104], 0
je 0x511cc9
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 0x511cc9
mov ecx, ebx
call fcn.00512566
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 0x511cc9
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x511cc9
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x50f7a6
mov eax, 0x207
cmp esi, eax
ja 0x511640
je 0x5115b7
mov eax, esi
sub eax, 0x138
je 0x5115a0
sub eax, 0xc8
je 0x511040
sub eax, 1
je 0x510f07
sub eax, 1
je 0x510e67
sub eax, 1
je 0x510d88
sub eax, 1
je 0x510cde
sub eax, 1
jne 0x511cc9
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.00513b15
mov dword [ebx + 0x110], eax
test eax, eax
je 0x511cc9
mov ecx, ebx
call fcn.00512566
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x10
jmp 0x511c68
cmp byte [ebx + 0x100], 0
jne 0x510cf3
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.00513b15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x511cc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051254e
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 0x510e23
cmp byte [ebx + 0x100], 0
jne 0x510d9d
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.00513b15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x511cc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
mov ecx, ebx
call fcn.0051254e
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 0x511cc9
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 0x511cc9
mov ecx, ebx
call fcn.00512566
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 0x511cb4
cmp byte [ebx + 0x100], 0
jne 0x510f1c
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x511cc9
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.00513b15
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x511cc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x510fc7
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x510f9d
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.005321fb
add esp, 0x14
mov dword [ebx + 0x69c], eax
mov ecx, ebx
call fcn.0051254e
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 0x511cb4
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x5110a1
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 0x511079
mov eax, dword [ebx + 0xfc]
jmp 0x511087
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 0x5110dd
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.00513b15
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x511108
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
cmp byte [ebp - 0x1dc], 0
je 0x51138d
cmp byte [ebx + 0x698], 0
je 0x51138d
cmp edi, 1
jne 0x51138d
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.006201c3
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.005144da
push 0x24
call fcn.006201c3
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 0x6b49bc
push 1
xor ebx, ebx
push ebx
push 0x6b499c
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.005144eb
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 0x511364
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.006201b5
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.00514577
jmp 0x511cc9
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.0050dfec
mov word [ebp - 0x102], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x511556
push dword [ebp - 0x11c]
mov ecx, ebx
push edi
call fcn.00513b15
mov esi, eax
test esi, esi
je 0x511411
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x511cc9
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x511521
test eax, eax
je 0x511521
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 0x51146c
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0050d376
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push dword [ebx + 0x47c]
call fcn.0050d3b9
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x12c]
call fcn.00638420
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x128], edi
jle 0x5114cd
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 0x5114ac
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 0x511508
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 0x511521
push dword [ebp - 0x12c]
call fcn.0063de88
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x511559
test esi, esi
je 0x511559
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 0x511559
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x511578
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], ecx
jmp 0x511cba
test esi, esi
je 0x511cc9
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x511cc3
test edx, edx
je 0x511cc9
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x510941
cmp byte [ebx + 0x100], 0
jne 0x5115cc
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.00513b15
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x511cc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051254e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x11
jmp 0x510d62
sub esi, 0x208
je 0x511c19
push 2
pop eax
sub esi, eax
je 0x511aff
sub esi, 0x97
je 0x5118ea
sub esi, eax
je 0x5117fa
sub esi, 0x75
je 0x511722
sub esi, 0x7ce9
jne 0x511cc9
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x5116a6
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x51169d
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x51168a
lea ecx, [ebx + 0x448]
call fcn.0050d39d
xor ecx, ecx
mov byte [ebx + 0x3e4], cl
lea edx, [ebx + 0x454]
cmp dword [edx + 4], ecx
jle 0x511cc9
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
je 0x511cc9
push ecx
mov ecx, edx
call fcn.0050d507
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x5116f5
cmp dword [ecx + 0x3c], 0
jle 0x5116f5
push esi
add ecx, 0x38
call fcn.005325dc
xor edi, edi
cmp dword [ebx + 0x3ec], edi
jle 0x511716
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 0x5116ff
push ecx
mov ecx, esi
call fcn.0050f001
xor ecx, ecx
jmp 0x5116b9
cmp dword [ebx + 0x104], ecx
je 0x511cc9
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 0x5117eb
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x5117eb
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 0x51178a
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x511cc9
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x51181a
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x5118de
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 0x5118cd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x5118cd
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 0x5118cd
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 0x5118cd
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 0x5118cf
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x511cc9
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.00513b15
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x511cc9
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x5119a2
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.0050dfec
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.00638f20
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 0x5119ec
lea ecx, [ebp - 0xf8]
call fcn.0041b502
jmp 0x50f80c
push 0x30
push ecx
lea edi, [ebx + 0xcc]
push edi
call fcn.00638f20
mov eax, dword [ebx + 0xa8]
add esp, 0xc
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov dword [ebx + 0xd8], eax
mov eax, dword [0x715b38]
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 0x511ac1
push eax
push dword [0x715b38]
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 0x511ac7
lea edi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x5119dc
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 0x5119dc
cmp dword [ebx + 0x104], ecx
je 0x511cc9
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.00513b15
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x511cc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x511cc9
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.0050dfec
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 0x511cc9
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.00513b15
mov dword [ebx + 0x110], eax
test eax, eax
je 0x511cc9
mov ecx, ebx
call fcn.00512566
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.00621313
ret 0x10