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

Disassembly:
push 0x1a0
mov eax, 0x474fa5
call fcn.00458b1c
mov ebx, ecx
mov dword [ebp - 0x18c], 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 - 0x180], eax
xor eax, eax
mov dword [ebp - 0x17c], eax
cmp dword [ebx + 0xa8], eax
je 0x419955
lea ecx, [ebx + 0x2a4]
mov dword [ebp - 0x178], eax
call fcn.0041c2af
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x164]
test eax, eax
jle 0x417966
mov ecx, dword [ebp - 0x178]
push ecx
lea ecx, [ebx + 0x2a4]
mov byte [ebp - 0x171], 0
call fcn.0040e376
lea ecx, [ebp - 0x171]
push ecx
push esi
push dword [ebp - 0x168]
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x417a21
inc dword [ebp - 0x178]
lea ecx, [ebx + 0x2a4]
call fcn.0041c2af
mov ecx, dword [ebp - 0x178]
cmp ecx, eax
jl 0x417916
mov eax, 0x133
cmp edi, eax
ja 0x4189a2
je 0x4191d8
cmp edi, 0x4e
ja 0x4185a7
je 0x418580
sub edi, 5
je 0x418520
dec edi
sub edi, 1
je 0x4184c6
sub edi, 8
je 0x417c0c
sub edi, 1
je 0x417b28
sub edi, 4
je 0x417b18
sub edi, 0xc
je 0x417a30
sub edi, 4
jne 0x419955
mov ecx, dword [ebx + 0x200]
mov eax, dword [ebp - 0x164]
test ecx, ecx
jle 0x4179d7
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x204]
test ecx, ecx
jle 0x4179e4
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x4179f1
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x4179fe
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x417a0b
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x419955
mov dword [eax + 0xc], ecx
jmp 0x419955
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
mov al, 1
jmp 0x419957
xor eax, eax
inc eax
cmp si, ax
jne 0x419955
cmp byte [ebx + 0x271], 0
jne 0x419957
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
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.00416bd4
mov ebx, eax
test ebx, ebx
je 0x419955
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x1a
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x134]
jmp 0x417a29
mov ecx, dword [ebp - 0x180]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x419957
and dword [ebp - 0x100], 0
lea edi, [ebp - 0xfc]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
mov dword [ebp - 0xf8], eax
test ecx, ecx
je 0x417b95
mov dword [ebp - 0x100], 0xa
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1f0]
test ecx, ecx
je 0x417bbe
mov dword [ebp - 0x100], 0xe
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, ebx
call fcn.0041b2f5
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x417beb
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x417beb
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x419955
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xdc], 0
jmp 0x419955
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x417a29
xor eax, eax
cmp dword [ebx + 0x1e4], eax
jne 0x417c74
push 0x40
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00459eb0
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x160]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x417a29
mov byte [ebp - 0x171], al
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x28]
mov ecx, ebx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x30]
push 1
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x190], eax
call fcn.0041b740
cmp byte [ebx + 0x245], 0
je 0x417e34
lea eax, [ebp - 0x30]
mov byte [ebx + 0x245], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x417e34
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x417e34
mov ecx, dword [ebx + 0x1e4]
call fcn.0040fdf0
test al, al
je 0x417d50
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x417d0c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x417d1d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x1e4]
lea esi, [ebp - 0x30]
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 0x417df7
lea edi, [ebx + 0x2e0]
mov ecx, edi
mov dword [ebp - 0x180], edi
call fcn.0040e5d8
mov ecx, dword [ebx + 0x1e4]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x41bf42
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, edi
mov dword [ebp - 0x178], esi
call fcn.0041c2af
test eax, eax
jle 0x417df7
push esi
mov ecx, edi
call fcn.0040e376
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x17c], esi
mov edx, dword [esi]
call dword [edx + 0x120]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x417db6
call dword [ebx + 0x50]
jmp 0x417dbd
lea eax, [ebp - 0x58]
push eax
call dword [ebx + 0x48]
mov ecx, dword [ebp - 0x17c]
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 - 0x178]
mov edi, dword [ebp - 0x180]
inc esi
mov ecx, edi
mov dword [ebp - 0x178], esi
call fcn.0041c2af
cmp esi, eax
jl 0x417d8f
mov ebx, dword [ebp - 0x18c]
cmp byte [ebx + 0x244], 0
je 0x417e2e
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x1e4]
mov byte [ebx + 0x244], al
call fcn.0041aea8
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x128]
call fcn.00435e11
mov edi, dword [ebp - 0x168]
cmp byte [ebx + 0x246], 0
je 0x417e46
push 1
mov ecx, ebx
call fcn.0041b5fa
cmp byte [ebx + 0x249], 0
je 0x417eb8
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x417e78
push ecx
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x260]
mov byte [ebx + 0x247], 1
push esi
lea eax, [ebp - 0x20]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
push 0x10
cmovg eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
push 0
cmovg eax, dword [ebp - 0x24]
push esi
mov dword [ebp - 0x14], eax
call fcn.00459eb0
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x247], 0
je 0x417eff
cmp dword [ebx + 0xb8], esi
jne 0x417eff
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 - 0x190]
push edi
push dword [ebx + 0xac]
call fcn.0041fc90
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.00459eb0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x247], 0
je 0x4183f9
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 + 0x249], 0
mov dword [ebp - 0x184], eax
je 0x417fde
mov edi, dword [ebp - 0x24]
mov edx, edi
sub edx, dword [ebp - 0x14]
mov ecx, edi
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x178], edx
cmp edx, ecx
jge 0x417fde
mov ecx, dword [ebp - 0x20]
mov eax, edx
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x17c], eax
cmp ecx, dword [ebp - 0x18]
jge 0x417fbc
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 - 0x18]
jl 0x417f98
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
add eax, dword [ebp - 0x168]
inc edx
mov dword [ebp - 0x17c], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x17c]
jl 0x417f8d
mov ecx, dword [ebx + 0x1e4]
lea edx, [ebp - 0x20]
push edx
push dword [ebx + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebx + 0xb0]
call fcn.00416ad7
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.0041c2af
test eax, eax
jle 0x418042
push esi
mov ecx, edi
call fcn.0040e376
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.0041c2af
cmp esi, eax
jl 0x41801a
cmp byte [ebx + 0x249], 0
je 0x4182c9
mov esi, dword [ebp - 0x24]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x17c], ecx
cmp ecx, eax
jge 0x4180dd
mov eax, dword [ebp - 0x168]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x4180c5
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x4180ab
cmp byte [eax + esi], 0
jne 0x4180a3
cmp byte [eax + esi + 1], 0
jne 0x4180a3
cmp byte [eax + esi + 2], 0
je 0x4180ab
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x418082
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x168]
add edi, eax
inc ecx
mov eax, esi
mov dword [ebp - 0x17c], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x168]
jl 0x418074
lea ecx, [ebx + 0x2bc]
xor edi, edi
call fcn.0041c2af
test eax, eax
jle 0x4182c9
push edi
lea ecx, [ebx + 0x2bc]
call fcn.0040e376
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41811c
push edi
lea ecx, [ebx + 0x2bc]
call fcn.0040ea85
jmp 0x4182b6
inc edi
push esi
mov dword [ebp - 0x194], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4182b6
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebx + 0xa8]
call fcn.00416bfb
add esp, 0xc
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4182b6
push dword [ebx + 0xb0]
and dword [ebp - 0x17c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x34]
mov edi, eax
sub ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x17c]
push eax
push ecx
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x40]
push ecx
push edi
mov dword [ebp - 0x180], edi
call fcn.0041fc90
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x3c]
imul edx, ecx
mov dword [ebp - 0x164], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x17c]
call fcn.00459eb0
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 - 0x1a0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov ecx, edi
mov esi, dword [ebp - 0x40]
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x178], edx
mov ecx, dword [ebp - 0x38]
jle 0x418269
mov ebx, edx
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x418250
mov edi, edx
imul eax, ebx
mov ebx, dword [ebp - 0x17c]
add eax, edi
mov ebx, dword [ebx + eax*4]
mov dword [ebp - 0x19c], ebx
test ebx, ebx
je 0x41823e
mov esi, dword [ebp - 0x17c]
mov ecx, ebx
or ecx, 0xff000000
mov dword [esi + eax*4], ecx
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x178]
mov eax, ecx
inc edi
sub eax, esi
cmp edi, eax
jl 0x41820f
mov edi, dword [ebp - 0x34]
mov eax, edi
inc ebx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x178], ebx
cmp ebx, eax
jl 0x418205
mov ebx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x3c]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x180]
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 - 0x1a0]
mov esi, dword [ebp - 0x180]
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 - 0x194]
lea ecx, [ebx + 0x2bc]
call fcn.0041c2af
cmp edi, eax
jl 0x4180f2
push dword [ebp - 0x184]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x249], 0
je 0x41838c
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xa8]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov al, byte [ebx + 0x248]
xor ecx, ecx
mov byte [ebp - 0x176], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x168]
push 2
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
pop eax
push eax
lea eax, [ebp - 0x178]
mov word [ebp - 0x178], cx
push eax
push ecx
lea eax, [ebp - 0x188]
mov byte [ebp - 0x175], 1
push eax
push dword [ebx + 0xb0]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x188], ecx
push eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x184], ecx
push eax
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
call dword [0x4a0468]
jmp 0x4183bd
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0xb0]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
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 0x418470
push 0
push 0xffff0000
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xac]
call fcn.00423aa9
add esp, 0x14
jmp 0x418470
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1e4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xac]
mov edx, dword [ecx]
call dword [edx + 0x144]
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.0041c2af
test eax, eax
jle 0x41845e
push esi
mov ecx, edi
call fcn.0040e376
lea ecx, [ebp - 0x20]
push ecx
push dword [ebx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x164]
mov ecx, edi
inc esi
call fcn.0041c2af
cmp esi, eax
jl 0x418436
push dword [ebp - 0x16c]
push dword [ebx + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x245], 0
je 0x418493
mov ecx, ebx
call fcn.004176db
push 0
mov ecx, ebx
call fcn.0041b740
cmp byte [ebp - 0x171], 0
je 0x417a29
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push str.windowsize
push dword [ebx + 0x1e4]
call fcn.0041aea8
jmp 0x417a29
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x419955
push 7
xor eax, eax
lea edi, [ebp - 0x13c]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x140], 0x18
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x13c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x140]
mov dword [ebp - 0x138], eax
jmp 0x41994c
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x418568
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x19
mov dword [ebp - 0xfc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [ebx + 0x1e4]
test ecx, ecx
je 0x417a29
call fcn.0040fe6a
jmp 0x417a29
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x419955
push eax
push dword [ebp - 0x168]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x417a21
sub edi, 0x7b
je 0x4188c7
sub edi, 0x85
je 0x41882d
sub edi, 1
je 0x418798
sub edi, 1
je 0x41871f
sub edi, 0xf
je 0x4186e9
dec edi
sub edi, 1
jne 0x419955
mov esi, dword [ebp - 0x168]
mov eax, 0x1999
cmp ax, si
jne 0x418614
lea eax, [ebx + 0x110]
mov ecx, ebx
push eax
call fcn.00417687
cmp byte [ebx + 0x120], 0
sete al
mov byte [ebx + 0x120], al
jmp 0x419955
lea edi, [ebx + 0x280]
mov ecx, edi
call fcn.0041c2af
test eax, eax
jle 0x419955
push dword [ebp - 0x17c]
mov ecx, edi
call fcn.0040e376
mov edx, eax
mov dword [ebp - 0x16c], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x418657
movzx ecx, si
cmp dword [edx + 0xc], ecx
jne 0x418657
cmp byte [edx + 0x10], 0
je 0x418678
inc dword [ebp - 0x17c]
mov ecx, edi
call fcn.0041c2af
cmp dword [ebp - 0x17c], eax
jge 0x419955
mov esi, dword [ebp - 0x168]
jmp 0x418629
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [edx]
mov dword [ebp - 0x100], 0x1b
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov ecx, dword [ebp - 0x16c]
mov word [ebp - 0xea], ax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
jmp 0x419946
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x419955
push eax
push dword [ebp - 0x168]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
test eax, eax
je 0x419955
jmp 0x417a29
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 5
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
jmp 0x419940
mov edx, dword [ebx + 0x1f4]
test edx, edx
je 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 4
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f4], 0
jmp 0x419955
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov word [ebp - 0xec], ax
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [ebp - 0x100], 3
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [ebx + 0x1e8]
mov dword [ebx + 0x1f4], eax
jmp 0x419955
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 + 0x1f0], 0
mov eax, dword [ebp - 0x170]
mov dword [ebx + 0x1f8], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebx + 0x1fc], eax
je 0x419955
mov ecx, ebx
call fcn.0041a671
mov edx, dword [ebp - 0x168]
lea edi, [ebp - 0xfc]
push 7
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x14
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], dx
mov dword [ebp - 0xe4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
lea edx, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
and dword [ebx + 0x1f0], 0
jmp 0x419955
mov eax, 0x207
cmp edi, eax
ja 0x41927a
je 0x4191fa
mov eax, edi
sub eax, 0x138
je 0x4191d8
sub eax, 0xc8
je 0x418d99
sub eax, 1
je 0x418c67
sub eax, 1
je 0x418bcb
sub eax, 1
je 0x418af5
sub eax, 1
je 0x418a51
sub eax, 1
jne 0x419955
mov ecx, ebx
call fcn.0041a671
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 + 0x1f8], esi
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x419955
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x10
jmp 0x4198fd
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 + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov esi, eax
test esi, esi
je 0x419955
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0041af30
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0xf
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
jmp 0x418b8a
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0041af30
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov esi, eax
test esi, esi
je 0x419955
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x100], 0x13
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe8], ecx
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1f0], esi
jmp 0x419955
mov ecx, ebx
call fcn.0041a671
mov edx, dword [ebp - 0x164]
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x1fc], eax
mov eax, dword [ebx + 0x1f0]
movsx esi, dx
mov dword [ebx + 0x1f8], esi
test eax, eax
je 0x419955
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1f0]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x100], 0xe
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], ecx
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
and dword [ebx + 0x1f0], 0
jmp 0x419940
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 - 0x184], ecx
mov dword [ebx + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x194], eax
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov esi, eax
mov dword [ebp - 0x16c], esi
test esi, esi
je 0x419955
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x418d12
mov eax, dword [ebx + 0x434]
mov byte [ebx + 0x430], 1
test eax, eax
je 0x418cea
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x434], 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.0042403f
add esp, 0x18
mov dword [ebx + 0x434], eax
mov ecx, ebx
call fcn.0041af30
mov dword [ebx + 0x1f0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x100], 0xd
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x100]
push ecx
mov ecx, esi
jmp 0x41994f
cmp byte [ebx + 0x270], 0
push 3
pop ecx
jne 0x418df6
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xdc]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x418dd3
mov dword [ebp - 0x24], 0x190
jmp 0x418de5
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x270], 1
mov eax, dword [ebp - 0x164]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov al, 1
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x190], eax
cmp dword [ebx + 0x1f8], edx
jne 0x418e35
xor esi, esi
movzx eax, al
cmp dword [ebx + 0x1fc], ecx
cmove eax, esi
mov dword [ebp - 0x190], eax
push ecx
mov dword [ebx + 0x1fc], ecx
mov ecx, ebx
push edx
mov dword [ebx + 0x1f8], edx
call fcn.00416bd4
mov esi, eax
test esi, esi
je 0x418e5f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
cmp byte [ebp - 0x190], 0
je 0x4190c6
cmp byte [ebx + 0x430], 0
je 0x4190c6
cmp dword [ebp - 0x168], 1
jne 0x4190c6
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.0045832d
mov esi, eax
mov dword [ebp - 0x178], eax
pop ecx
test esi, esi
je 0x418eb0
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x418eb8
xor esi, esi
mov dword [ebp - 0x178], esi
test esi, esi
je 0x419955
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.0045832d
pop ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x418ef1
push esi
mov ecx, eax
call fcn.00436556
mov ecx, eax
mov dword [ebp - 0x17c], eax
jmp 0x418ef9
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x419955
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
push 2
pop ecx
push 0x10
stosd dword es:[edi], eax
pop edx
mov dword [ebp - 0x1c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
or dword [ebp - 0x50], 0xffffffff
push eax
push ecx
push dword [ebx + 0x434]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 1
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x4c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x17c]
push 0
push edx
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x194], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x48]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x24], eax
pop eax
push ecx
push ecx
push ecx
push dword [ebx + 0xac]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov ebx, eax
mov eax, dword [ebp - 0x18c]
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 - 0x190], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x190]
push dword [ebp - 0x16c]
push dword [ebp - 0x184]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x190]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x5c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1ac]
call fcn.00415b17
push 2
pop eax
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x40]
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 - 0x30]
push eax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x194]
lea ecx, [ebp - 0x1ac]
call fcn.0041761d
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x1a0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x1ac]
mov byte [eax + 0x430], bl
call fcn.00416001
jmp 0x419955
and dword [ebp - 0x100], 0
lea edi, [ebp - 0xfc]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
mov dword [ebp - 0xf8], eax
cmp esi, ecx
je 0x419169
test ecx, ecx
je 0x419169
mov dword [ebp - 0x100], 0xa
lea edx, [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov edx, dword [ebx + 0xdc]
xor ecx, ecx
mov dword [ebx + 0x1ec], ecx
test edx, edx
je 0x419169
lea eax, [ebx + 0xe0]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x1ec]
je 0x41919c
test esi, esi
je 0x41919c
mov dword [ebp - 0x100], 0xb
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xfc], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [ebx + 0x1ec], esi
mov ecx, dword [ebx + 0x1f0]
test ecx, ecx
je 0x4191bb
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], ecx
jmp 0x419946
test esi, esi
je 0x419955
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], esi
jmp 0x418d89
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x419955
push ecx
push dword [ebp - 0x168]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x418704
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 + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov esi, eax
test esi, esi
je 0x419955
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0041af30
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x11
jmp 0x418acc
sub edi, 0x208
je 0x4198ab
push 2
pop eax
sub edi, eax
je 0x41979b
sub edi, 0x97
je 0x419591
sub edi, eax
je 0x41948b
sub edi, 0x75
je 0x4193b3
sub edi, 0x7ce9
jne 0x419955
lea edi, [ebx + 0x2c8]
xor esi, esi
mov ecx, edi
call fcn.0041c2af
test eax, eax
jle 0x4192ed
push esi
mov ecx, edi
call fcn.0040e376
test eax, eax
je 0x4192e1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.0041c2af
cmp esi, eax
jl 0x4192cd
mov ecx, edi
call fcn.0040e5d8
lea edi, [ebx + 0x2d4]
push 0
mov ecx, edi
mov dword [ebp - 0x16c], edi
call fcn.0040e763
mov esi, eax
test esi, esi
je 0x419955
lea eax, [ebx + 0x274]
xor ebx, ebx
mov dword [ebp - 0x18c], eax
push ebx
mov ecx, edi
call fcn.0040ea85
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x41934e
add ecx, 0x38
call fcn.0041f19e
test al, al
je 0x41934e
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.0041f1b4
mov ecx, dword [ebp - 0x18c]
mov edi, ebx
call fcn.0041c2af
test eax, eax
jle 0x419382
mov ecx, dword [ebp - 0x18c]
push edi
call fcn.0040e376
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x18c]
inc edi
call fcn.0041c2af
cmp edi, eax
jl 0x41935f
mov ecx, esi
call fcn.0041bff1
push 0x120
push esi
call fcn.00458360
mov edi, dword [ebp - 0x16c]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.0040e763
mov esi, eax
test esi, esi
jne 0x419321
jmp 0x419955
cmp dword [ebx + 0x1e4], 0
je 0x419955
lea eax, [ebp - 0x58]
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 + 0x1e4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x58]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x144]
test byte [ebp - 0x164], 0x10
je 0x419479
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x419479
push 2
pop eax
or dword [ebp - 0x164], eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x2c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x164]
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 edi, eax
test edi, edi
jne 0x41941c
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x419955
mov ecx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4194ac
lea eax, [ebx + 0xe0]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x270], 0
je 0x419585
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
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 0x419574
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x419574
push dword [ebp - 0x16c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x419574
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 0x419574
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 0x419576
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x270], 0
jmp 0x419955
mov eax, dword [ebp - 0x164]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x16c], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0x270], 0
mov dword [ebp - 0x184], eax
call fcn.00416bd4
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
je 0x419955
mov edx, dword [ebx + 0x1ec]
test edx, edx
je 0x41964e
push 7
xor eax, eax
lea edi, [ebp - 0xfc]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x100], 0xc
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x100]
mov word [ebp - 0xea], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 0xbc]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.0040e987
test al, al
je 0x419682
lea ecx, [ebp - 0xe0]
call fcn.0040e28b
jmp 0x417a29
push 0x30
lea edi, [ebx + 0xe0]
push 0
push edi
call fcn.00459eb0
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0xe0]
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 [0x4a0458]
mov dword [ebx + 0x100], eax
call fcn.00406820
mov dword [ebx + 0x104], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x50]
mov esi, eax
lea edi, [ebx + 0xf0]
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 + 0xdc], eax
jne 0x41975d
push eax
push dword [0x4a0458]
mov ecx, SysReAllocString
push eax
push dword [ebx + 0xa8]
push ecx
push ecx
push ecx
push ecx
push SysStringLen
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edi, [ebx + 0xe0]
mov dword [ebx + 0xdc], 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 - 0x194]
mov eax, dword [ecx]
call dword [eax + 0xc8]
push eax
push 0
push 0x418
push dword [ebx + 0xdc]
call esi
jmp 0x419763
lea edi, [ebx + 0xe0]
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x419672
push edi
push eax
push 0x436
push dword [ebx + 0xdc]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0xdc]
call esi
jmp 0x419672
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 + 0x1f8], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov esi, eax
test esi, esi
je 0x419955
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x419955
xor eax, eax
lea edi, [ebp - 0xfc]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x168]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x100], 0x15
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf0], eax
call fcn.00417860
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x100]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
movzx ecx, word [ebx + 0x1fc]
movzx eax, word [ebx + 0x1f8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x419955
mov ecx, ebx
call fcn.0041a671
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 + 0x1f8], esi
mov dword [ebx + 0x1fc], eax
call fcn.00416bd4
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x419955
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x12
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], eax
mov word [ebp - 0xea], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0x100]
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
xor al, al
call fcn.00458ad7
ret 0x10