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

Disassembly:
push 0x1a0
mov eax, 0x474600
call fcn.004585cc
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 0x418bfb
lea ecx, [ebx + 0x2a4]
mov dword [ebp - 0x178], eax
call fcn.0041ede0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x164]
test eax, eax
jle 0x416c0e
mov ecx, dword [ebp - 0x178]
push ecx
lea ecx, [ebx + 0x2a4]
mov byte [ebp - 0x171], 0
call fcn.0040d512
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 0x416cc9
inc dword [ebp - 0x178]
lea ecx, [ebx + 0x2a4]
call fcn.0041ede0
mov ecx, dword [ebp - 0x178]
cmp ecx, eax
jl 0x416bbe
mov eax, 0x133
cmp edi, eax
ja 0x417c4a
je 0x41847e
cmp edi, 0x4e
ja 0x41784f
je 0x417828
sub edi, 5
je 0x4177c8
dec edi
sub edi, 1
je 0x41776e
sub edi, 8
je 0x416eb4
sub edi, 1
je 0x416dd0
sub edi, 4
je 0x416dc0
sub edi, 0xc
je 0x416cd8
sub edi, 4
jne 0x418bfb
mov ecx, dword [ebx + 0x200]
mov eax, dword [ebp - 0x164]
test ecx, ecx
jle 0x416c7f
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x204]
test ecx, ecx
jle 0x416c8c
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x416c99
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x416ca6
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x208]
test ecx, ecx
jle 0x416cb3
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x418bfb
mov dword [eax + 0xc], ecx
jmp 0x418bfb
mov ecx, dword [ebp - 0x180]
mov dword [ecx], eax
mov al, 1
jmp 0x418bfd
xor eax, eax
inc eax
cmp si, ax
jne 0x418bfb
cmp byte [ebx + 0x271], 0
jne 0x418bfd
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.00415e46
mov ebx, eax
test ebx, ebx
je 0x418bfb
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
test al, 2
je 0x418bfb
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.00416b08
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 0x416cd1
mov ecx, dword [ebp - 0x180]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x418bfd
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.00416b08
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 0x416e3d
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 0x416e66
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.0041a6af
mov esi, dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x416e93
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x416e93
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x418bfb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xdc], 0
jmp 0x418bfb
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 0x416cd1
xor eax, eax
cmp dword [ebx + 0x1e4], eax
jne 0x416f1c
push 0x40
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00459940
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 0x416cd1
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.0041ab05
cmp byte [ebx + 0x245], 0
je 0x4170dc
lea eax, [ebp - 0x30]
mov byte [ebx + 0x245], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4170dc
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4170dc
mov ecx, dword [ebx + 0x1e4]
call fcn.0040ef6d
test al, al
je 0x416ff8
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x416fb4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x416fc5
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 0x41709f
lea edi, [ebx + 0x2e0]
mov ecx, edi
mov dword [ebp - 0x180], edi
call fcn.0040d774
mov ecx, dword [ebx + 0x1e4]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x41b30e
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, edi
mov dword [ebp - 0x178], esi
call fcn.0041ede0
test eax, eax
jle 0x41709f
push esi
mov ecx, edi
call fcn.0040d512
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 0x41705e
call dword [ebx + 0x50]
jmp 0x417065
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.0041ede0
cmp esi, eax
jl 0x417037
mov ebx, dword [ebp - 0x18c]
cmp byte [ebx + 0x244], 0
je 0x4170d6
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.0041a26e
push dword [ebx + 0xa8]
lea ecx, [ebx + 0x128]
call fcn.004359fa
mov edi, dword [ebp - 0x168]
cmp byte [ebx + 0x246], 0
je 0x4170ee
push 1
mov ecx, ebx
call fcn.0041a9b4
cmp byte [ebx + 0x249], 0
je 0x417160
push 0xffffffffffffffec
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x417120
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.00459940
add esp, 0xc
xor esi, esi
cmp byte [ebx + 0x247], 0
je 0x4171a7
cmp dword [ebx + 0xb8], esi
jne 0x4171a7
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.0041f7e9
add esp, 0x10
mov dword [ebx + 0xb8], eax
push 0x40
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.00459940
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 0x4176a1
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 0x417286
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 0x417286
mov ecx, dword [ebp - 0x20]
mov eax, edx
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x17c], eax
cmp ecx, dword [ebp - 0x18]
jge 0x417264
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 0x417240
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 0x417235
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.00415d49
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.0041ede0
test eax, eax
jle 0x4172ea
push esi
mov ecx, edi
call fcn.0040d512
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.0041ede0
cmp esi, eax
jl 0x4172c2
cmp byte [ebx + 0x249], 0
je 0x417571
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 0x417385
mov eax, dword [ebp - 0x168]
mov edi, ecx
mov edx, dword [ebp - 0x20]
imul edi, eax
cmp edx, dword [ebp - 0x18]
jge 0x41736d
mov ecx, dword [ebp - 0x18]
lea eax, [edi + edx]
shl eax, 2
mov esi, dword [ebx + 0xbc]
cmp byte [eax + esi + 3], 0
jne 0x417353
cmp byte [eax + esi], 0
jne 0x41734b
cmp byte [eax + esi + 1], 0
jne 0x41734b
cmp byte [eax + esi + 2], 0
je 0x417353
mov byte [eax + esi + 3], 0xff
mov ecx, dword [ebp - 0x18]
inc edx
add eax, 4
cmp edx, ecx
jl 0x41732a
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 0x41731c
lea ecx, [ebx + 0x2bc]
xor edi, edi
call fcn.0041ede0
test eax, eax
jle 0x417571
push edi
lea ecx, [ebx + 0x2bc]
call fcn.0040d512
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4173c4
push edi
lea ecx, [ebx + 0x2bc]
call fcn.0040dc11
jmp 0x41755e
inc edi
push esi
mov dword [ebp - 0x194], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41755e
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebx + 0xa8]
call fcn.00415e6d
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 0x41755e
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.0041f7e9
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.00459940
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 0x417511
mov ebx, edx
mov eax, ecx
sub eax, esi
test eax, eax
jle 0x4174f8
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 0x4174e6
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 0x4174b7
mov edi, dword [ebp - 0x34]
mov eax, edi
inc ebx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x178], ebx
cmp ebx, eax
jl 0x4174ad
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.0041ede0
cmp edi, eax
jl 0x41739a
push dword [ebp - 0x184]
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x249], 0
je 0x417634
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 [0x49f538]
jmp 0x417665
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 0x417718
push 0
push 0xffff0000
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xac]
call fcn.0042367e
add esp, 0x14
jmp 0x417718
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.0041ede0
test eax, eax
jle 0x417706
push esi
mov ecx, edi
call fcn.0040d512
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.0041ede0
cmp esi, eax
jl 0x4176de
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 0x41773b
mov ecx, ebx
call fcn.00416983
push 0
mov ecx, ebx
call fcn.0041ab05
cmp byte [ebp - 0x171], 0
je 0x416cd1
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push str.windowsize
push dword [ebx + 0x1e4]
call fcn.0041a26e
jmp 0x416cd1
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x418bfb
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 0x418bf2
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x417810
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 0x416cd1
call fcn.0040efe7
jmp 0x416cd1
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x418bfb
push eax
push dword [ebp - 0x168]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x416cc9
sub edi, 0x7b
je 0x417b6f
sub edi, 0x85
je 0x417ad5
sub edi, 1
je 0x417a40
sub edi, 1
je 0x4179c7
sub edi, 0xf
je 0x417991
dec edi
sub edi, 1
jne 0x418bfb
mov esi, dword [ebp - 0x168]
mov eax, 0x1999
cmp ax, si
jne 0x4178bc
lea eax, [ebx + 0x110]
mov ecx, ebx
push eax
call fcn.0041692f
cmp byte [ebx + 0x120], 0
sete al
mov byte [ebx + 0x120], al
jmp 0x418bfb
lea edi, [ebx + 0x280]
mov ecx, edi
call fcn.0041ede0
test eax, eax
jle 0x418bfb
push dword [ebp - 0x17c]
mov ecx, edi
call fcn.0040d512
mov edx, eax
mov dword [ebp - 0x16c], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [ebx + 0xa8]
jne 0x4178ff
movzx ecx, si
cmp dword [edx + 0xc], ecx
jne 0x4178ff
cmp byte [edx + 0x10], 0
je 0x417920
inc dword [ebp - 0x17c]
mov ecx, edi
call fcn.0041ede0
cmp dword [ebp - 0x17c], eax
jge 0x418bfb
mov esi, dword [ebp - 0x168]
jmp 0x4178d1
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.00416b08
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 0x418bec
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x418bfb
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 0x418bfb
jmp 0x416cd1
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x418bfb
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.00416b08
mov word [ebp - 0xea], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1e8]
jmp 0x418be6
mov edx, dword [ebx + 0x1f4]
test edx, edx
je 0x418bfb
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.00416b08
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 0x418bfb
mov edx, dword [ebx + 0x1e8]
test edx, edx
je 0x418bfb
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.00416b08
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 0x418bfb
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 0x418bfb
mov ecx, ebx
call fcn.00419965
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 0x418bfb
mov eax, 0x207
cmp edi, eax
ja 0x418520
je 0x4184a0
mov eax, edi
sub eax, 0x138
je 0x41847e
sub eax, 0xc8
je 0x418041
sub eax, 1
je 0x417f0f
sub eax, 1
je 0x417e73
sub eax, 1
je 0x417d9d
sub eax, 1
je 0x417cf9
sub eax, 1
jne 0x418bfb
mov ecx, ebx
call fcn.00419965
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.00415e46
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x418bfb
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x10
jmp 0x418ba3
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.00415e46
mov esi, eax
test esi, esi
je 0x418bfb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0041a2f6
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 0x417e32
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0041a2f6
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.00415e46
mov esi, eax
test esi, esi
je 0x418bfb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
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 0x418bfb
mov ecx, ebx
call fcn.00419965
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 0x418bfb
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 0x418be6
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.00415e46
mov esi, eax
mov dword [ebp - 0x16c], esi
test esi, esi
je 0x418bfb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, al
je 0x417fba
mov eax, dword [ebx + 0x440]
mov byte [ebx + 0x43c], 1
test eax, eax
je 0x417f92
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x440], 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.00423c12
add esp, 0x18
mov dword [ebx + 0x440], eax
mov ecx, ebx
call fcn.0041a2f6
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 0x418bf5
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
xor ecx, ecx
push 3
pop edx
mov byte [ebx + 0x270], cl
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], edx
test eax, eax
jne 0x41807a
mov dword [ebp - 0x24], 0x190
jmp 0x41808b
push ecx
push edx
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 eax, dword [ebp - 0x164]
movsx edx, ax
shr eax, 0x10
movsx ecx, ax
mov al, 1
mov byte [ebx + 0x270], 1
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x190], eax
cmp dword [ebx + 0x1f8], edx
jne 0x4180db
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.00415e46
mov esi, eax
test esi, esi
je 0x418105
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
cmp byte [ebp - 0x190], 0
je 0x41836c
cmp byte [ebx + 0x43c], 0
je 0x41836c
cmp dword [ebp - 0x168], 1
jne 0x41836c
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00457ddd
mov esi, eax
mov dword [ebp - 0x178], eax
pop ecx
test esi, esi
je 0x418156
xor eax, eax
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], eax
mov byte [esi + 8], al
jmp 0x41815e
xor esi, esi
mov dword [ebp - 0x178], esi
test esi, esi
je 0x418bfb
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x24
call fcn.00457ddd
pop ecx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x418197
push esi
mov ecx, eax
call fcn.004361c9
mov ecx, eax
mov dword [ebp - 0x17c], eax
jmp 0x41819f
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x418bfb
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 + 0x440]
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.00414cbc
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.004168c5
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 + 0x43c], bl
call fcn.004151b6
jmp 0x418bfb
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 0x41840f
test ecx, ecx
je 0x41840f
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 0x41840f
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 0x418442
test esi, esi
je 0x418442
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 0x418461
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], ecx
jmp 0x418bec
test esi, esi
je 0x418bfb
mov dword [ebp - 0x100], 9
mov dword [ebp - 0xfc], esi
jmp 0x418031
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x418bfb
push ecx
push dword [ebp - 0x168]
lea eax, [edi + 0x2000]
push eax
push ecx
jmp 0x4179ac
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.00415e46
mov esi, eax
test esi, esi
je 0x418bfb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.0041a2f6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xfc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x100], 0x11
jmp 0x417d74
sub edi, 0x208
je 0x418b51
push 2
pop eax
sub edi, eax
je 0x418a41
sub edi, 0x97
je 0x418837
sub edi, eax
je 0x418731
sub edi, 0x75
je 0x418659
sub edi, 0x7ce9
jne 0x418bfb
lea edi, [ebx + 0x2c8]
xor esi, esi
mov ecx, edi
call fcn.0041ede0
test eax, eax
jle 0x418593
push esi
mov ecx, edi
call fcn.0040d512
test eax, eax
je 0x418587
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.0041ede0
cmp esi, eax
jl 0x418573
mov ecx, edi
call fcn.0040d774
lea edi, [ebx + 0x2d4]
push 0
mov ecx, edi
mov dword [ebp - 0x16c], edi
call fcn.0040d8ef
mov esi, eax
test esi, esi
je 0x418bfb
lea eax, [ebx + 0x274]
xor ebx, ebx
mov dword [ebp - 0x18c], eax
push ebx
mov ecx, edi
call fcn.0040dc11
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4185f4
add ecx, 0x38
call fcn.0041ecf3
test al, al
je 0x4185f4
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.0041ed09
mov ecx, dword [ebp - 0x18c]
mov edi, ebx
call fcn.0041ede0
test eax, eax
jle 0x418628
mov ecx, dword [ebp - 0x18c]
push edi
call fcn.0040d512
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x18c]
inc edi
call fcn.0041ede0
cmp edi, eax
jl 0x418605
mov ecx, esi
call fcn.00415347
push 0x120
push esi
call fcn.00457e10
mov edi, dword [ebp - 0x16c]
pop ecx
pop ecx
push ebx
mov ecx, edi
call fcn.0040d8ef
mov esi, eax
test esi, esi
jne 0x4185c7
jmp 0x418bfb
cmp dword [ebx + 0x1e4], 0
je 0x418bfb
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 0x41871f
push 5
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x41871f
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 0x4186c2
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x418bfb
mov ecx, dword [ebx + 0xdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x418752
lea eax, [ebx + 0xe0]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [ebx + 0x270], 0
je 0x41882b
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 0x41881a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xa8]
jne 0x41881a
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 0x41881a
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 0x41881a
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 0x41881c
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0xa8]
call esi
mov byte [ebx + 0x270], 0
jmp 0x418bfb
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.00415e46
mov esi, eax
mov dword [ebp - 0x194], esi
test esi, esi
je 0x418bfb
mov edx, dword [ebx + 0x1ec]
test edx, edx
je 0x4188f4
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.00416b08
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.0040db13
test al, al
je 0x418928
lea ecx, [ebp - 0xe0]
call fcn.0040d417
jmp 0x416cd1
push 0x30
lea edi, [ebx + 0xe0]
push 0
push edi
call fcn.00459940
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 [0x49f528]
mov dword [ebx + 0x100], eax
call fcn.004048a0
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 0x418a03
push eax
push dword [0x49f528]
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 0x418a09
lea edi, [ebx + 0xe0]
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x418918
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 0x418918
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.00415e46
mov esi, eax
test esi, esi
je 0x418bfb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x418bfb
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.00416b08
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 0x418bfb
mov ecx, ebx
call fcn.00419965
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.00415e46
mov edx, eax
mov dword [ebx + 0x1f0], edx
test edx, edx
je 0x418bfb
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.00458587
ret 0x10