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

Disassembly:
push 0x1a0
mov eax, 0x4e758c
call fcn.004bb727
mov ebx, ecx
mov dword [ebp - 0x188], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x184], eax
xor eax, eax
mov dword [ebp - 0x178], eax
cmp dword [ebx + 0xa8], eax
je 0x459d5a
lea ecx, [ebx + 0x2a8]
mov dword [ebp - 0x17c], eax
call fcn.004551f7
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x164]
test eax, eax
jle 0x457f39
mov ecx, dword [ebp - 0x17c]
push ecx
lea ecx, [ebx + 0x2a8]
mov byte [ebp - 0x171], 0
call fcn.00454db0
lea ecx, [ebp - 0x171]
push ecx
push edi
push dword [ebp - 0x168]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x457ff4
inc dword [ebp - 0x17c]
lea ecx, [ebx + 0x2a8]
call fcn.004551f7
mov ecx, dword [ebp - 0x17c]
cmp ecx, eax
jl 0x457ee9
mov eax, 0x133
cmp esi, eax
ja 0x458eaa
je 0x459645
cmp esi, 0x4e
ja 0x458b3c
je 0x458b15
sub esi, 5
je 0x458abc
dec esi
sub esi, 1
je 0x458a5c
sub esi, 8
je 0x45819d
sub esi, 1
je 0x4580d8
sub esi, 4
je 0x4580c8
sub esi, 0xc
je 0x458003
sub esi, 4
jne 0x459d5a
mov ecx, dword [ebx + 0x204]
mov eax, dword [ebp - 0x164]
test ecx, ecx
jle 0x457faa
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x457fb7
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x457fc4
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x210]
test ecx, ecx
jle 0x457fd1
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x457fde
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x210]
test ecx, ecx
jle 0x459d5a
mov dword [eax + 0xc], ecx
jmp 0x459d5a
mov ecx, dword [ebp - 0x184]
mov dword [ecx], eax
mov al, 1
jmp 0x459d5c
xor eax, eax
inc eax
cmp di, ax
jne 0x459d5a
cmp byte [ebx + 0x275], 0
jne 0x459d5c
lea eax, [ebp - 0x170]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x170], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x16c]
mov ecx, ebx
push dword [ebp - 0x170]
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x459d5a
xor eax, eax
mov dword [ebp - 0x30], 0x1a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
jmp 0x457ffc
mov ecx, dword [ebp - 0x184]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x459d5c
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x200]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x45812f
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je 0x45814f
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, ebx
call fcn.0045b6d0
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x45817c
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x45817c
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x459d5a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xdc], 0
jmp 0x459d5a
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x457ffc
xor eax, eax
cmp dword [ebx + 0x1e8], eax
jne 0x458207
push 0x40
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004bd150
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xdc]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x457ffc
mov byte [ebp - 0x171], al
lea edi, [ebp - 0x70]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x68]
mov ecx, ebx
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
sub edi, dword [ebp - 0x70]
push 1
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x180], eax
call fcn.0045bb43
cmp byte [ebx + 0x249], 0
je 0x4583cc
lea eax, [ebp - 0x70]
mov byte [ebx + 0x249], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4583cc
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4583cc
mov ecx, dword [ebx + 0x1e8]
call fcn.004659f5
test al, al
je 0x4582e5
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x4582a1
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4582b2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x1e8]
lea esi, [ebp - 0x70]
push 1
sub esp, 0x10
xor eax, eax
mov edi, esp
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb8], eax
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]
mov byte [ebp - 0x171], 1
jmp 0x45838f
lea edi, [ebx + 0x2e4]
mov ecx, edi
mov dword [ebp - 0x18c], edi
call fcn.00455004
mov ecx, dword [ebx + 0x1e8]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x45c0f4
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, edi
mov dword [ebp - 0x17c], esi
call fcn.004551f7
test eax, eax
jle 0x45838f
push esi
mov ecx, edi
call fcn.00454db0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x178], esi
mov edx, dword [esi]
call dword [edx + 0x120]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x45834b
call dword [ebx + 0x50]
jmp 0x458355
lea eax, [ebp - 0x98]
push eax
call dword [ebx + 0x48]
mov ecx, dword [ebp - 0x178]
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 esi, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x18c]
inc esi
mov ecx, edi
mov dword [ebp - 0x17c], esi
call fcn.004551f7
cmp esi, eax
jl 0x458324
mov ebx, dword [ebp - 0x188]
cmp byte [ebx + 0x248], 0
je 0x4583c6
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x1e8]
mov byte [ebx + 0x248], al
call fcn.0045b287
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x12c]
call fcn.00463587
mov edi, dword [ebp - 0x168]
cmp byte [ebx + 0x24a], 0
je 0x4583de
push 1
mov ecx, ebx
call fcn.0045b9fb
cmp byte [ebx + 0x24d], 0
je 0x458450
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x458410
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x264]
mov byte [ebx + 0x24b], 1
push esi
lea eax, [ebp - 0x60]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x68]
push 0x10
cmovg eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x64]
push 0
cmovg eax, dword [ebp - 0x64]
push esi
mov dword [ebp - 0x54], eax
call fcn.004bd150
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x24b], 0
je 0x458497
cmp dword [ebx + 0xb8], esi
jne 0x458497
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebp - 0x180]
push edi
push dword [ebx + 0xac]
call fcn.00467e89
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.004bd150
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x24b], 0
je 0x458992
push dword [ebx + 0xb8]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xb0]
mov dword [ebp - 0x16c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x24d], 0
mov dword [ebp - 0x190], eax
je 0x45856d
mov edi, dword [ebp - 0x64]
mov edx, edi
sub edx, dword [ebp - 0x54]
mov ecx, edi
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x17c], edx
cmp edx, ecx
jge 0x45856d
mov eax, edx
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x58]
jge 0x45854b
lea edi, [ecx + eax]
shl edi, 2
mov eax, dword [ebx + 0xbc]
inc ecx
mov dword [edi + eax], esi
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x58]
jl 0x45852a
mov edi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x168]
inc edx
mov dword [ebp - 0x178], eax
mov eax, edi
sub eax, dword [ebp - 0x5c]
cmp edx, eax
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x178]
jl 0x45851c
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x60]
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
push dword [ebx + 0xb0]
call fcn.004570b2
lea edi, [ebx + 0x2b4]
xor esi, esi
mov ecx, edi
call fcn.004551f7
test eax, eax
jle 0x4585d1
push esi
mov ecx, edi
call fcn.00454db0
lea ecx, [ebp - 0x60]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.004551f7
cmp esi, eax
jl 0x4585a9
cmp byte [ebx + 0x24d], 0
je 0x458860
mov edx, dword [ebp - 0x64]
mov ecx, edx
sub ecx, dword [ebp - 0x54]
mov eax, edx
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x178], ecx
cmp ecx, eax
jge 0x458669
mov eax, dword [ebp - 0x168]
mov edi, ecx
imul edi, eax
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x58]
jge 0x458651
mov ecx, dword [ebp - 0x58]
lea eax, [esi + edi]
shl eax, 2
mov edx, dword [ebx + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x45863a
cmp byte [eax + edx], 0
jne 0x458632
cmp byte [eax + edx + 1], 0
jne 0x458632
cmp byte [eax + edx + 2], 0
je 0x45863a
mov byte [eax + edx + 3], 0xff
mov ecx, dword [ebp - 0x58]
inc esi
add eax, 4
cmp esi, ecx
jl 0x458611
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x168]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x178], ecx
sub eax, dword [ebp - 0x5c]
cmp ecx, eax
mov eax, dword [ebp - 0x168]
jl 0x458600
lea ecx, [ebx + 0x2c0]
xor edi, edi
call fcn.004551f7
test eax, eax
jle 0x458860
push edi
lea ecx, [ebx + 0x2c0]
call fcn.00454db0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4586a8
push edi
lea ecx, [ebx + 0x2c0]
call fcn.00455494
jmp 0x45884d
inc edi
push esi
mov dword [ebp - 0x18c], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45884d
lea eax, [ebp - 0x80]
push eax
push esi
push dword [ebx + 0xa8]
call fcn.004571d4
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x458847
push dword [ebx + 0xb0]
and dword [ebp - 0x178], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x74]
mov edi, eax
sub ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x178]
push eax
push ecx
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 0x80]
push ecx
push edi
mov dword [ebp - 0x184], edi
call fcn.00467e89
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x7c]
imul edx, ecx
mov dword [ebp - 0x164], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x178]
call fcn.004bd150
add esp, 0x1c
push dword [ebp - 0x164]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push esi
mov dword [ebp - 0x198], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x74]
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov ecx, edi
mov esi, dword [ebp - 0x80]
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x17c], edx
mov ecx, dword [ebp - 0x78]
jle 0x458800
mov ebx, eax
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x4587e5
mov edi, edx
imul eax, dword [ebp - 0x17c]
mov ebx, dword [ebp - 0x178]
add eax, edi
mov ebx, dword [ebx + eax*4]
mov dword [ebp - 0x1a0], ebx
test ebx, ebx
je 0x4587d6
mov esi, dword [ebp - 0x178]
mov ecx, ebx
or ecx, 0xff000000
mov dword [esi + eax*4], ecx
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x80]
mov eax, ecx
inc edi
sub eax, esi
cmp edi, eax
jl 0x4587a3
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x7c]
inc dword [ebp - 0x17c]
mov eax, edi
sub eax, ebx
cmp dword [ebp - 0x17c], eax
jl 0x458799
mov ebx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x7c]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x184]
sub edi, eax
sub ecx, esi
push edi
push ecx
push eax
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x198]
mov esi, dword [ebp - 0x184]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x18c]
lea ecx, [ebx + 0x2c0]
call fcn.004551f7
cmp edi, eax
jl 0x45867e
push dword [ebp - 0x190]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x24d], 0
je 0x458925
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov al, byte [ebx + 0x24c]
xor ecx, ecx
mov byte [ebp - 0x17a], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x168]
push 2
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x198], eax
pop eax
push eax
lea eax, [ebp - 0x17c]
mov word [ebp - 0x17c], cx
push eax
push ecx
lea eax, [ebp - 0x194]
mov byte [ebp - 0x179], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], ecx
push eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x190], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x671aa0]
jmp 0x458956
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0xcc0020
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x16c]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebx + 0xcc], 0
je 0x458a09
push 0
push 0xffff0000
push 1
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xac]
call fcn.0046bb30
add esp, 0x14
jmp 0x458a09
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1e8]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xac]
mov edx, dword [ecx]
call dword [edx + 0x144]
lea edi, [ebx + 0x2b4]
xor esi, esi
mov ecx, edi
call fcn.004551f7
test eax, eax
jle 0x4589f7
push esi
mov ecx, edi
call fcn.00454db0
lea ecx, [ebp - 0x60]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.004551f7
cmp esi, eax
jl 0x4589cf
push dword [ebp - 0x16c]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x249], 0
je 0x458a29
mov ecx, ebx
call fcn.00457cb1
push 0
mov ecx, ebx
call fcn.0045bb43
cmp byte [ebp - 0x171], 0
je 0x457ffc
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push str.windowsize
push dword [ebx + 0x1e8]
call fcn.0045b287
jmp 0x457ffc
mov ecx, dword [ebx + 0x1ec]
test ecx, ecx
je 0x459d5a
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
jmp 0x459d51
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x458afd
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x19
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1e8]
test ecx, ecx
je 0x457ffc
call fcn.00465a6e
jmp 0x457ffc
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x459d5a
push eax
push dword [ebp - 0x168]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x457ff4
sub esi, 0x7b
je 0x458ded
sub esi, 0x85
je 0x458d74
sub esi, 1
je 0x458d00
sub esi, 1
je 0x458ca2
sub esi, 0xf
je 0x458c6c
dec esi
sub esi, 1
jne 0x459d5a
mov eax, dword [ebp - 0x168]
mov ecx, 0x1999
movzx eax, ax
mov dword [ebp - 0x16c], eax
cmp cx, ax
jne 0x458bb2
lea eax, [ebx + 0x114]
mov ecx, ebx
push eax
call fcn.00457c5b
cmp byte [ebx + 0x124], 0
sete al
mov byte [ebx + 0x124], al
jmp 0x459d5a
lea esi, [ebx + 0x284]
mov ecx, esi
call fcn.004551f7
test eax, eax
jle 0x459d5a
push dword [ebp - 0x178]
mov ecx, esi
call fcn.00454db0
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x458bf5
mov eax, dword [ebp - 0x16c]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x458bf5
cmp byte [esi + 0x10], 0
je 0x458c1a
inc dword [ebp - 0x178]
lea ecx, [ebx + 0x284]
call fcn.004551f7
cmp dword [ebp - 0x178], eax
jge 0x459d5a
lea esi, [ebx + 0x284]
jmp 0x458bc7
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 0x1b
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x200]
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov ecx, dword [esi]
mov word [ebp - 0x1a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
jmp 0x459d4e
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x459d5a
push eax
push dword [ebp - 0x168]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x184]
mov dword [ecx], eax
test eax, eax
je 0x459d5a
jmp 0x457ffc
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x459d5a
and dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x200]
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
jmp 0x459d4b
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x459d5a
and dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x200]
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f8]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f8], 0
jmp 0x459d5a
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x459d5a
and dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x200]
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [ebx + 0x1ec]
mov dword [ebx + 0x1f8], eax
jmp 0x459d5a
mov ecx, dword [ebp - 0x164]
movsx eax, cx
mov dword [ebp - 0x170], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x1f4], 0
mov eax, dword [ebp - 0x170]
mov dword [ebx + 0x1fc], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebx + 0x200], eax
je 0x459d5a
mov ecx, ebx
call fcn.0045aa56
mov ecx, dword [ebx + 0x1f4]
xor eax, eax
mov edx, dword [ebp - 0x168]
and dword [ebp - 0x28], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1a], dx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f4], 0
jmp 0x459d5a
mov eax, 0x207
cmp esi, eax
ja 0x4596d7
je 0x459667
mov eax, esi
sub eax, 0x138
je 0x459645
sub eax, 0xc8
je 0x45922b
sub eax, 1
je 0x459117
sub eax, 1
je 0x4590a4
sub eax, 1
je 0x458ff8
sub eax, 1
je 0x458f6f
sub eax, 1
jne 0x459d5a
mov ecx, ebx
call fcn.0045aa56
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1fc], esi
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov dword [ebx + 0x1f4], eax
test eax, eax
je 0x459d5a
mov edi, dword [ebp - 0x164]
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
jmp 0x459d38
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1fc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x190], eax
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0045b30f
mov dword [ebp - 0x30], 0xf
mov ecx, dword [ebp - 0x16c]
and dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x190]
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x20], ecx
jmp 0x459069
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0045b30f
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1fc], edi
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
and dword [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0x13
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x168]
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1f4], esi
jmp 0x459d5a
mov ecx, ebx
call fcn.0045aa56
mov ecx, dword [ebp - 0x164]
mov eax, ecx
shr eax, 0x10
movsx esi, ax
mov eax, dword [ebx + 0x1f4]
movsx edx, cx
mov dword [ebx + 0x1fc], edx
mov dword [ebx + 0x200], esi
test eax, eax
je 0x459d5a
and dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x168]
mov word [ebp - 0x1c], di
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
and dword [ebx + 0x1f4], edi
jmp 0x459d4b
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x190], ecx
mov dword [ebx + 0x1fc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x198], eax
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov esi, eax
mov dword [ebp - 0x16c], esi
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x4591c2
mov eax, dword [ebx + 0x444]
mov byte [ebx + 0x440], 1
test eax, eax
je 0x45919a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x444], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
sub esp, 0x10
mov esi, eax
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]
mov esi, dword [ebp - 0x16c]
push esi
push ebx
call fcn.0046c6f4
add esp, 0x18
mov dword [ebx + 0x444], eax
mov ecx, ebx
call fcn.0045b30f
mov dword [ebx + 0x1f4], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
mov ecx, dword [ebp - 0x190]
xor eax, eax
mov edi, dword [ebp - 0x164]
and dword [ebp - 0x28], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
jmp 0x459d54
cmp byte [ebx + 0x274], 0
push 3
pop ecx
jne 0x45927f
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0xdc]
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x6c], ecx
test eax, eax
jne 0x45925c
mov eax, dword [ebx + 0x110]
jmp 0x45926b
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x274], 1
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
movsx edi, ax
mov al, 1
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x180], eax
cmp dword [ebx + 0x1fc], ecx
jne 0x4592b8
xor edx, edx
movzx eax, al
cmp dword [ebx + 0x200], edi
cmove eax, edx
mov dword [ebp - 0x180], eax
push edi
mov dword [ebx + 0x1fc], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x200], edi
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x4592e2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
cmp byte [ebp - 0x180], 0
mov eax, dword [ebp - 0x168]
je 0x459576
cmp byte [ebx + 0x440], 0
je 0x459576
cmp eax, 1
jne 0x459576
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004ba581
mov esi, eax
mov dword [ebp - 0x178], eax
pop ecx
test esi, esi
je 0x459335
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x45933d
xor esi, esi
mov dword [ebp - 0x178], esi
test esi, esi
je 0x459d5a
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.004ba581
pop ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x459376
push esi
mov ecx, eax
call fcn.00463e39
mov edi, eax
mov dword [ebp - 0x18c], eax
jmp 0x45937e
xor edi, edi
mov dword [ebp - 0x18c], edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x459d5a
mov eax, dword [edi]
push edi
call dword [eax + 4]
or dword [ebp - 0x90], 0xffffffff
xor ecx, ecx
push 2
mov word [ebp - 0x96], cx
xor eax, eax
pop ecx
push 0x10
pop edx
push eax
push ecx
push dword [ebx + 0x444]
xorps xmm0, xmm0
mov dword [ebp - 0x9a], eax
movlpd qword [ebp - 0x58], xmm0
mov dword [ebp - 0x94], 1
mov word [ebp - 0x9c], cx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x5c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x9c]
mov ecx, dword [edi]
push eax
push edi
mov dword [ebp - 0x198], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x88]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x84]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x64], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x8c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x188]
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 - 0x180], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x180]
push dword [ebp - 0x16c]
push dword [ebp - 0x190]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x180]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x5c]
push 1
push ecx
mov dword [ebp - 0x5c], 0x40
lea ecx, [ebp - 0x9c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.00455bb8
push 2
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x84]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x80]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x16c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x198]
lea ecx, [ebp - 0x1a4]
call fcn.00457bf3
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x1a8]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1a8], 0
je 0x459553
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x1a4]
mov byte [eax + 0x440], 0
call fcn.004560c2
jmp 0x459d5a
mov ecx, dword [ebp - 0x16c]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0x28], eax
mov eax, ecx
cmp esi, ecx
je 0x4595ef
test ecx, ecx
je 0x4595ef
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov edx, dword [ebx + 0xdc]
xor ecx, ecx
mov dword [ebx + 0x1f0], ecx
mov eax, ecx
test edx, edx
je 0x4595ef
lea eax, [ebx + 0xe0]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x1f0]
cmp esi, eax
je 0x459615
test esi, esi
je 0x459615
mov dword [ebp - 0x30], 0xb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1f0], esi
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je 0x45962e
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
jmp 0x459d4e
test esi, esi
je 0x459d5a
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], esi
jmp 0x45921e
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x459d5a
push ecx
push dword [ebp - 0x168]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x458c87
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1fc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x190], eax
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0045b30f
mov dword [ebp - 0x30], 0x11
jmp 0x458fda
sub esi, 0x208
je 0x459cda
push 2
pop edi
sub esi, edi
je 0x459be7
sub esi, 0x97
je 0x459a08
sub esi, edi
je 0x459903
sub esi, 0x75
je 0x45980e
sub esi, 0x7ce9
jne 0x459d5a
lea edi, [ebx + 0x2cc]
mov ecx, edi
call fcn.004551f7
test eax, eax
jle 0x459748
push esi
mov ecx, edi
call fcn.00454db0
test eax, eax
je 0x45973c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.004551f7
cmp esi, eax
jl 0x459728
mov ecx, edi
call fcn.00455004
lea edi, [ebx + 0x2d8]
push 0
mov ecx, edi
mov dword [ebp - 0x16c], edi
call fcn.0045517e
mov esi, eax
test esi, esi
je 0x459d5a
lea eax, [ebx + 0x278]
xor ebx, ebx
mov dword [ebp - 0x188], eax
push ebx
mov ecx, edi
call fcn.00455494
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4597a9
add ecx, 0x38
call fcn.004559d1
test al, al
je 0x4597a9
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004559e5
mov ecx, dword [ebp - 0x188]
mov edi, ebx
call fcn.004551f7
test eax, eax
jle 0x4597dd
mov ecx, dword [ebp - 0x188]
push edi
call fcn.00454db0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x188]
inc edi
call fcn.004551f7
cmp edi, eax
jl 0x4597ba
mov ecx, esi
call fcn.00456422
push 0x120
push esi
call fcn.004ba5b1
mov edi, dword [ebp - 0x16c]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.0045517e
mov esi, eax
test esi, esi
jne 0x45977c
jmp 0x459d5a
cmp dword [ebx + 0x1e8], 0
je 0x459d5a
lea eax, [ebp - 0x98]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x168]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1e8]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x98]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x144]
test byte [ebp - 0x164], 0x10
je 0x4598f1
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x180], ecx
test ecx, ecx
je 0x4598f1
or dword [ebp - 0x164], edi
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x6c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x164]
mov edi, dword [ebp - 0x180]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x180], eax
test ecx, ecx
jne 0x459884
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x459d5a
mov ecx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x459924
lea eax, [ebx + 0xe0]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x274], 0
je 0x4599fc
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x170], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x70]
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 0x4599eb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x4599eb
push dword [ebp - 0x16c]
lea eax, [ebp - 0x70]
push dword [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4599eb
movzx ecx, word [ebp - 0x16c]
movzx eax, word [ebp - 0x170]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0xa8]
call esi
cmp eax, 1
jne 0x4599eb
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x16c]
movzx eax, word [ebp - 0x170]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x4599ed
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x274], 0
jmp 0x459d5a
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov byte [ebx + 0x274], 0
mov dword [ebp - 0x16c], eax
call fcn.004571ad
mov esi, eax
mov dword [ebp - 0x190], esi
test esi, esi
je 0x459d5a
mov eax, dword [ebx + 0x1f0]
test eax, eax
je 0x459a9e
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x164]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov ecx, dword [ebx + 0x1f0]
lea edx, [ebp - 0x30]
mov word [ebp - 0x1a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi]
lea ecx, [ebp - 0x160]
push ecx
mov ecx, esi
call dword [eax + 0xbc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.004553a4
test al, al
je 0x459ad2
lea ecx, [ebp - 0x160]
call fcn.00454cb1
jmp 0x457ffc
push 0x30
lea edi, [ebx + 0xe0]
push 0
push edi
call fcn.004bd150
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0x160]
add esp, 0xc
mov dword [edi], 0x30
mov dword [ebx + 0xe4], 1
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], eax
mov eax, dword [0x671aa8]
mov dword [ebx + 0x100], eax
call fcn.00454dbf
mov dword [ebx + 0x104], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x50]
mov esi, eax
lea edi, [ebx + 0xf0]
mov eax, dword [ebx + 0xdc]
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 edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x459bae
xor eax, eax
mov ecx, connect
push eax
push dword [0x671aa8]
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 esi, [ebx + 0xe0]
mov dword [ebx + 0xdc], eax
push esi
push 0
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x190]
mov eax, dword [ecx]
call dword [eax + 0xc8]
push eax
push 0
push 0x418
push dword [ebx + 0xdc]
call edi
mov eax, dword [ebx + 0xdc]
jmp 0x459bb4
lea esi, [ebx + 0xe0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x459ac2
push esi
push eax
push 0x436
push dword [ebx + 0xdc]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xdc]
call edi
jmp 0x459ac2
mov ecx, dword [ebp - 0x164]
movsx eax, cx
mov dword [ebp - 0x170], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
push eax
mov dword [ebx + 0x1fc], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x200], eax
call fcn.004571ad
mov esi, eax
test esi, esi
je 0x459d5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x459d5a
xor eax, eax
mov dword [ebp - 0x30], 0x15
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x168]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], eax
call fcn.00457e32
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
movzx ecx, word [ebx + 0x200]
movzx eax, word [ebx + 0x1fc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x459d5a
mov ecx, ebx
call fcn.0045aa56
mov eax, dword [ebp - 0x164]
mov ecx, ebx
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push edi
push esi
mov dword [ebx + 0x1fc], esi
mov dword [ebx + 0x200], edi
call fcn.004571ad
mov dword [ebx + 0x1f4], eax
test eax, eax
je 0x459d5a
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x164]
mov word [ebp - 0x1c], cx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
mov word [ebp - 0x1a], cx
and dword [ebp - 0x28], 0
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor al, al
call fcn.004bb6d1
ret 0x10