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

Disassembly:
push 0x1d4
mov eax, 0x676336
call fcn.00626519
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 0x51a896
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x41c], ecx
jle 0x518329
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 0x51837d
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 0x5182e5
mov eax, dword [ebp - 0x1d8]
cmp byte [ebx + 0x16d], 0
je 0x5183f9
mov dword [ebp - 0x24], esi
sub dword [ebp - 0x24], 0x83
je 0x5183f5
sub dword [ebp - 0x24], 2
je 0x5183f5
sub dword [ebp - 0x24], 1
jne 0x5183f9
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x5193fa
test edi, edi
sete al
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
jmp 0x5183d9
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x5183a2
cmp esi, 0x1ff
jbe 0x5183d9
cmp esi, 0x203
jbe 0x5183e0
cmp esi, 0x20a
jne 0x5183d9
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 0x51a898
mov eax, dword [ebp - 0x1cc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x11c], ecx
jmp 0x5183d3
mov dword [eax], ecx
jmp 0x5183d9
mov eax, 0x133
cmp esi, eax
ja 0x5197ff
je 0x51a16d
cmp esi, 0x24
ja 0x5193fa
je 0x519332
sub esi, 5
je 0x5192d2
dec esi
sub esi, 1
je 0x519272
sub esi, 1
je 0x519259
sub esi, 7
je 0x51862e
sub esi, 1
je 0x51854b
sub esi, 4
je 0x51853b
sub esi, 0xc
jne 0x51a896
cmp dword [ebx + 0x104], ecx
je 0x51a896
xor eax, eax
inc eax
cmp dx, ax
jne 0x51a896
cmp byte [ebx + 0x3e1], 0
jne 0x51a898
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.0051c6e5
mov ebx, eax
test ebx, ebx
je 0x51a896
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x51a896
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.00516bb9
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 0x5183d9
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x51a898
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.00516bb9
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 0x5185b7
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 0x5185e0
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.0051acc8
mov edi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x51860e
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x51860e
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x51a896
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xc8], esi
jmp 0x51a896
cmp dword [ebx + 0x104], ecx
jne 0x51868a
push 0x40
push ecx
lea eax, [ebp - 0x188]
push eax
call fcn.0063e100
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.005341a8
pop ecx
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x5183d9
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 0x5183d9
cmp byte [ebx + 0x16a], 0
je 0x5186d5
push 1
mov ecx, ebx
call fcn.0051b14c
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 0x5188f5
lea eax, [ebp - 0x60]
mov byte [ebx + 0x169], cl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x518967
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x518967
mov eax, dword [ebx + 0x104]
mov al, byte [eax + 0x154]
test al, al
je 0x5187f7
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 0x518760
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x518771
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x518782
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x518793
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 0x5187d9
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 0x51888b
lea edi, [ebx + 0x460]
mov ecx, edi
call fcn.00515ecd
mov ecx, dword [ebx + 0x104]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push 0x51c86e
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 0x51888d
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 0x518850
call dword [ebx + 0x50]
jmp 0x51885a
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 0x51882e
xor ecx, ecx
cmp byte [ebx + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x518967
push ecx
push ecx
push ecx
push str.windowinit
push dword [ebx + 0x104]
mov byte [ebx + 0x168], cl
mov ecx, ebx
call fcn.0051b371
cmp byte [ebx + 0x16d], 0
je 0x5188de
cmp byte [ebx + 0x180], 0
je 0x5188de
mov ecx, ebx
call fcn.0051a8a0
mov byte [ebx + 0x3e2], 0
jmp 0x5183d9
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x5c8]
call fcn.00539635
mov byte [ebp - 0x19], 1
jmp 0x518967
cmp byte [ebx + 0x16d], cl
je 0x518967
cmp byte [ebx + 0x180], cl
je 0x518967
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 0x51892a
imul eax, edx
shl eax, 2
push eax
push ecx
push esi
call fcn.0063e100
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 0x5189d9
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x518999
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.0063e100
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x16b], 0
je 0x518a24
cmp dword [ebx + 0xb8], esi
jne 0x518a24
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.00537638
pop ecx
pop ecx
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.0063e100
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 0x51919d
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 0x518af4
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 0x518af4
mov ecx, dword [ebp - 0x48]
mov eax, edx
imul eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x40]
jge 0x518ad8
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 0x518ab7
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 0x518aac
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 0x518d34
cmp dword [ebx + 0x434], 0
mov edi, esi
jle 0x518d34
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 0x518b64
test edi, edi
js 0x518d20
push edi
lea ecx, [ebx + 0x430]
call fcn.00516037
push edi
lea ecx, [ebx + 0x43c]
call fcn.00516037
jmp 0x518d20
inc edi
push esi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x518d20
push esi
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0051b305
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 0x518d20
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.00537638
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.0063e100
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 0x518cdc
mov ebx, eax
mov eax, ecx
mov edi, edx
sub eax, esi
test eax, eax
jle 0x518cae
imul eax, dword [ebp - 0x1d8]
mov ebx, dword [ebp - 0x20]
add eax, edi
mov ebx, dword [ebx + eax*4]
test ebx, ebx
je 0x518c9f
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 0x518c74
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 0x518c6a
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 0x518b2f
xor esi, esi
cmp dword [ebx + 0x428], 0
jle 0x518d61
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 0x518d3d
push dword [ebp - 0x11c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x16d], 0
je 0x5190fd
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 0x518ffc
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 0x518e6b
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.00537638
imul edi, dword [ebp - 0x24]
mov dword [ebx + 0xc0], eax
shl edi, 2
push edi
push 0
push dword [esi]
call fcn.0063e100
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 0x518e9c
cmp byte [ebx + 0x180], cl
je 0x518ee3
imul edx, dword [ebp - 0x24]
shl edx, 2
push edx
push ecx
push dword [ebx + 0xc4]
call fcn.0063e100
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.00531739
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.0053405a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
add esp, 0x20
call fcn.00531716
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 0x51908a
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 0x518fd8
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 0x518f29
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 0x518f20
jmp 0x51908a
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 0x51908a
mov eax, dword [ebp - 0x1d0]
mov edi, ecx
mov edx, dword [ebp - 0x48]
imul edi, eax
cmp edx, dword [ebp - 0x40]
jge 0x519072
mov ecx, dword [ebp - 0x40]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [esi + eax + 3], 0
jne 0x519058
cmp byte [esi + eax], 0
jne 0x519050
cmp byte [esi + eax + 1], 0
jne 0x519050
cmp byte [esi + eax + 2], 0
je 0x519058
mov byte [esi + eax + 3], 0xff
mov ecx, dword [ebp - 0x40]
inc edx
add eax, 4
cmp edx, ecx
jl 0x51902f
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 0x519021
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 [0x71cd3c]
jmp 0x51912e
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 0x519202
cmp byte [ebx + 0x16d], 0
jne 0x519202
push dword [0x71cd38]
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 0x519202
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 0x5191f5
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 0x5191d1
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 0x519234
mov ecx, ebx
call fcn.0051a8a0
xor eax, eax
cmp byte [ebp - 0x19], 0
je 0x5183d9
push 1
push eax
push eax
push str.windowsize
push dword [ebx + 0x104]
mov ecx, ebx
call fcn.0051b371
jmp 0x5183d9
cmp byte [ebx + 0x3e1], 0
je 0x51a896
mov ecx, ebx
call fcn.0051b133
jmp 0x51a896
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x51a896
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 0x51a88d
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51931a
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 0x5183d9
call fcn.00513cb2
jmp 0x5183d9
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 0x51939d
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 0x5193b0
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x128]
test ecx, ecx
jle 0x5193bd
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x5193ca
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x5193d7
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x12c]
test ecx, ecx
jle 0x5193e4
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x130]
test ecx, ecx
jle 0x51a896
mov dword [eax + 0xc], ecx
jmp 0x51a896
sub esi, 0x4e
je 0x5197dd
sub esi, 0x2d
je 0x51970a
sub esi, 0x85
je 0x51965d
sub esi, 1
je 0x5195b5
sub esi, 1
je 0x519529
sub esi, 0xf
je 0x5194f8
dec esi
sub esi, 1
jne 0x51a896
mov edx, dword [ebx + 0x3f8]
test edx, edx
jle 0x51a896
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 0x51947a
movzx eax, di
cmp dword [esi + 0xc], eax
jne 0x519474
cmp byte [esi + 0x10], 0
je 0x51948d
mov eax, dword [ebp - 0x1d4]
inc eax
add ecx, 4
mov dword [ebp - 0x1d4], eax
cmp eax, edx
jl 0x519453
jmp 0x51a896
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.00516bb9
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 0x51a887
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x51a896
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 0x51a896
jmp 0x5183d9
cmp dword [ebx + 0x104], 0
je 0x51a896
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51a896
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.00516bb9
mov word [ebp - 0x102], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
jmp 0x51a881
cmp dword [ebx + 0x104], 0
je 0x51a896
mov edx, dword [ebx + 0x114]
test edx, edx
je 0x51a896
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.00516bb9
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 0x51a896
cmp dword [ebx + 0x104], 0
je 0x51a896
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x51a896
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.00516bb9
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 0x51a896
cmp dword [ebx + 0x104], 0
je 0x51a896
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 0x51a896
mov ecx, ebx
call fcn.0051b133
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 0x51a896
mov eax, dword [ebp - 0x1cc]
test eax, eax
je 0x51a896
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x518373
mov eax, 0x207
cmp esi, eax
ja 0x51a20d
je 0x51a184
mov eax, esi
sub eax, 0x138
je 0x51a16d
sub eax, 0xc8
je 0x519c0d
sub eax, 1
je 0x519ad4
sub eax, 1
je 0x519a34
sub eax, 1
je 0x519955
sub eax, 1
je 0x5198ab
sub eax, 1
jne 0x51a896
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.0051c6e5
mov dword [ebx + 0x110], eax
test eax, eax
je 0x51a896
mov ecx, ebx
call fcn.0051b133
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x10
jmp 0x51a835
cmp byte [ebx + 0x100], 0
jne 0x5198c0
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51a896
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051b11b
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 0x5199f0
cmp byte [ebx + 0x100], 0
jne 0x51996a
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51a896
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
mov ecx, ebx
call fcn.0051b11b
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 0x51a896
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 0x51a896
mov ecx, ebx
call fcn.0051b133
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 0x51a881
cmp byte [ebx + 0x100], 0
jne 0x519ae9
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x104], 0
je 0x51a896
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x51a896
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x519b94
mov eax, dword [ebx + 0x69c]
mov byte [ebx + 0x698], 1
test eax, eax
je 0x519b6a
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.00537452
add esp, 0x14
mov dword [ebx + 0x69c], eax
mov ecx, ebx
call fcn.0051b11b
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 0x51a881
cmp byte [ebx + 0x3e0], 0
push 3
pop edx
jne 0x519c6e
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 0x519c46
mov eax, dword [ebx + 0xfc]
jmp 0x519c54
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 0x519caa
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.0051c6e5
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x519cd5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
cmp byte [ebp - 0x1dc], 0
je 0x519f5a
cmp byte [ebx + 0x698], 0
je 0x519f5a
cmp edi, 1
jne 0x519f5a
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00625367
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.0051d0aa
push 0x24
call fcn.00625367
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.0051d0bb
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 0x519f31
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.00625359
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.0051d147
jmp 0x51a896
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.00516bb9
mov word [ebp - 0x102], ax
mov al, byte [ebx + 0x3e1]
test al, al
jne 0x51a123
push dword [ebp - 0x11c]
mov ecx, ebx
push edi
call fcn.0051c6e5
mov esi, eax
test esi, esi
je 0x519fde
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x51a896
mov eax, dword [ebx + 0x10c]
cmp esi, eax
je 0x51a0ee
test eax, eax
je 0x51a0ee
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 0x51a039
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00515ea6
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x12c]
push dword [ebx + 0x47c]
call fcn.00515ee9
mov eax, dword [ebx + 0x47c]
shl eax, 2
push eax
push dword [ebx + 0x478]
push dword [ebp - 0x12c]
call fcn.0063d600
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x128], edi
jle 0x51a09a
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 0x51a079
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 0x51a0d5
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 0x51a0ee
push dword [ebp - 0x12c]
call fcn.00643083
pop ecx
cmp esi, dword [ebx + 0x10c]
je 0x51a126
test esi, esi
je 0x51a126
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 0x51a126
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x51a145
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], ecx
jmp 0x51a887
test esi, esi
je 0x51a896
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 9
mov dword [ebp - 0x114], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x51a890
test edx, edx
je 0x51a896
push edx
push edi
lea eax, [esi + 0x2000]
push eax
push edx
jmp 0x51950e
cmp byte [ebx + 0x100], 0
jne 0x51a199
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x51a896
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0051b11b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x118], 0x11
jmp 0x51992f
sub esi, 0x208
je 0x51a7e6
push 2
pop eax
sub esi, eax
je 0x51a6cc
sub esi, 0x97
je 0x51a4b7
sub esi, eax
je 0x51a3c7
sub esi, 0x75
je 0x51a2ef
sub esi, 0x7ce9
jne 0x51a896
mov esi, ecx
cmp dword [ebx + 0x44c], ecx
jle 0x51a273
mov eax, dword [ebx + 0x448]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x51a26a
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0x44c]
jl 0x51a257
lea ecx, [ebx + 0x448]
call fcn.00515ecd
xor ecx, ecx
mov byte [ebx + 0x3e4], cl
lea edx, [ebx + 0x454]
cmp dword [edx + 4], ecx
jle 0x51a896
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
je 0x51a896
push ecx
mov ecx, edx
call fcn.00516037
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51a2c2
cmp dword [ecx + 0x3c], 0
jle 0x51a2c2
push esi
add ecx, 0x38
call fcn.00537833
xor edi, edi
cmp dword [ebx + 0x3ec], edi
jle 0x51a2e3
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 0x51a2cc
push ecx
mov ecx, esi
call fcn.00517bce
xor ecx, ecx
jmp 0x51a286
cmp dword [ebx + 0x104], ecx
je 0x51a896
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 0x51a3b8
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x51a3b8
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 0x51a357
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x51a896
mov edx, dword [ebx + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x51a3e7
lea eax, [ebx + 0xcc]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x3e0], 0
je 0x51a4ab
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 0x51a49a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x51a49a
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 0x51a49a
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 0x51a49a
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 0x51a49c
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x3e0], 0
jmp 0x51a896
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x1dc], esi
test esi, esi
je 0x51a896
mov edx, dword [ebx + 0x10c]
test edx, edx
je 0x51a56f
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.00516bb9
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.0063e100
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 0x51a5b9
lea ecx, [ebp - 0xf8]
call fcn.0041b542
jmp 0x5183d9
push 0x30
push ecx
lea edi, [ebx + 0xcc]
push edi
call fcn.0063e100
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 0x51a68e
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 0x51a694
lea edi, [ebx + 0xcc]
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x51a5a9
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 0x51a5a9
cmp dword [ebx + 0x104], ecx
je 0x51a896
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.0051c6e5
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x51a896
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x51a896
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.00516bb9
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 0x51a896
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.0051c6e5
mov dword [ebx + 0x110], eax
test eax, eax
je 0x51a896
mov ecx, ebx
call fcn.0051b133
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.006264c3
ret 0x10