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

Disassembly:
push 0x1e4
mov eax, 0x4a0bd9
call fcn.00482ae5
mov esi, ecx
mov dword [ebp - 0x18c], esi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x17c], eax
xor eax, eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x1b4], ecx
cmp dword [esi + 0xa8], eax
je 0x417e8e
mov edi, dword [ebp + 8]
mov ecx, eax
lea eax, [esi + 0x46c]
mov dword [ebp - 0x1b0], ecx
test eax, eax
je 0x415655
mov eax, dword [eax + 4]
mov dword [ebp - 0x178], eax
xor eax, eax
inc eax
cmp ecx, dword [ebp - 0x178]
jge 0x41573e
xor eax, eax
lea edx, [ebp - 0x185]
mov byte [ebp - 0x185], al
mov eax, dword [esi + 0x46c]
push edx
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [eax + ecx*4]
push dword [ebp - 0x17c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [ebp - 0x185], 0
jne 0x4156ae
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x174]
inc ecx
jmp 0x415642
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
sub edi, 0x7b
je 0x4156db
sub edi, 0x185
je 0x415723
sub edi, 1
je 0x415723
sub edi, 1
je 0x415723
sub edi, 1
je 0x415723
sub edi, 7
jne 0x415784
mov ecx, dword [ebp - 0x174]
movsx eax, cx
mov dword [ebp - 0x184], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x180]
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], ecx
jmp 0x415784
mov eax, dword [ebp - 0x174]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x120], ecx
mov dword [esi + 0x124], eax
jmp 0x415784
cmp byte [esi + 0x172], 0
push 2
pop ecx
je 0x415792
mov ecx, edi
sub ecx, 0x83
je 0x41578b
dec ecx
sub ecx, 1
je 0x41578b
sub ecx, 1
jne 0x41578f
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x417e8e
cmp dword [ebp - 0x17c], eax
sete al
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
mov al, 1
jmp 0x417e90
xor eax, eax
jmp 0x41577c
push 2
pop ecx
cmp edi, 0x133
ja 0x416ccf
je 0x4169e8
cmp edi, 0x24
ja 0x4168fd
je 0x41683f
sub edi, 5
je 0x4167d1
sub edi, ecx
je 0x416789
sub edi, 1
je 0x416763
sub edi, 7
je 0x4159e0
sub edi, 1
je 0x4158f2
sub edi, 4
je 0x4158e2
sub edi, 0xc
jne 0x417e8e
xor ecx, ecx
cmp dword [esi + 0x104], ecx
je 0x417e8e
cmp dx, ax
jne 0x417e8e
cmp byte [esi + 0x405], cl
jne 0x415784
lea eax, [ebp - 0x184]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x184], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x180]
mov ecx, esi
push dword [ebp - 0x184]
call fcn.0041a038
mov esi, eax
test esi, esi
je 0x417e8e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test al, 2
je 0x417e8e
mov ecx, dword [ebp - 0x180]
xor eax, eax
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1ac], 0x1a
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0x1ac]
push eax
call dword [edx + 0x1c0]
jmp 0x415784
mov ecx, dword [ebp - 0x1b4]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x417e90
mov ecx, dword [esi + 0x124]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x198], ax
mov eax, dword [esi + 0x120]
movlpd qword [ebp - 0x1ac], xmm0
movlpd qword [ebp - 0x194], xmm0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
mov dword [ebp - 0x1a4], eax
test ecx, ecx
je 0x415967
mov dword [ebp - 0x1ac], 0xa
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c0]
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x415990
mov dword [ebp - 0x1ac], 0xe
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, esi
push eax
call fcn.004184ac
mov edi, dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4159be
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4159be
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x417e8e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [esi + 0xc8], eax
jmp 0x417e8e
xor eax, eax
cmp dword [esi + 0x104], eax
jne 0x415a4c
push 0x40
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00484a20
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esi + 0xac]
lea edi, [ebp - 0x40]
xor eax, eax
lea edx, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 0xff000000
call fcn.0043f008
pop ecx
pop ecx
lea eax, [ebp - 0x9c]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x415784
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x415784
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
mov byte [ebp - 0x185], dl
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x1d0], eax
mov byte [esi + 0x406], 1
cmp byte [esi + 0x16d], dl
je 0x415cf0
cmp byte [esi + 0x16e], dl
jne 0x415cf0
lea eax, [ebp - 0x54]
mov byte [esi + 0x16d], dl
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x415d73
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x415d73
mov eax, dword [esi + 0x104]
cmp byte [eax + 0x1ac], 0
je 0x415c22
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x30]
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 - 0x18c]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x415b28
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x415b39
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x415b4a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x415b5b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc0], eax
cmp byte [esi + 0x172], al
je 0x415ba1
mov eax, dword [esi + 0x174]
add dword [ebp - 0x30], eax
mov eax, dword [esi + 0x178]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x28], eax
mov eax, dword [esi + 0x180]
sub dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x104]
lea esi, [ebp - 0x30]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
xor edx, edx
mov esi, dword [ebp - 0x18c]
mov byte [ebp - 0x185], 1
cmp byte [esi + 0x16c], 0
je 0x415d73
push edx
push edx
push edx
push str.windowinit
push dword [esi + 0x104]
mov ecx, esi
mov byte [esi + 0x16c], dl
call fcn.00418aca
cmp byte [esi + 0x172], 0
je 0x415cda
cmp byte [esi + 0x184], 0
je 0x415cda
mov ecx, esi
call fcn.00417e98
xor eax, eax
mov byte [esi + 0x406], al
jmp 0x415784
lea edi, [esi + 0x514]
mov ecx, edi
mov dword [ebp - 0x1b8], edi
call fcn.00426d2b
mov ecx, dword [esi + 0x104]
xor edx, edx
push reloc.OLEAUT32.dll_VariantCopy
push edx
push 0x41a215
mov eax, dword [ecx]
call dword [eax + 0x1b4]
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x1bc], edx
mov eax, edx
test edi, edi
je 0x415c63
mov eax, dword [edi + 4]
cmp ecx, eax
jge 0x415bbf
mov eax, dword [edi]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp - 0x178], esi
mov eax, dword [esi]
call dword [eax + 0x1a4]
mov edx, dword [esi]
mov ecx, dword [edx + 0xa0]
mov dword [ebp - 0x1b0], ecx
test al, al
jne 0x415c9c
mov ecx, esi
call dword [edx + 0x9c]
jmp 0x415caa
mov eax, dword [edx + 0x94]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call eax
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 [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x1b8]
inc ecx
mov dword [ebp - 0x1bc], ecx
xor edx, edx
jmp 0x415c5a
push dword [esi + 0xa8]
lea ecx, [esi + 0x6c4]
call fcn.00443ac2
jmp 0x415d73
cmp byte [esi + 0x172], dl
je 0x415d73
cmp byte [esi + 0x184], dl
je 0x415d73
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x30]
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 - 0x18c]
mov edx, dword [esi + 0xbc]
test edx, edx
je 0x415d2d
imul eax, ecx
shl eax, 2
push eax
xor eax, eax
push eax
push edx
call fcn.00484a20
add esp, 0xc
mov eax, dword [esi + 0x174]
add dword [ebp - 0x30], eax
mov eax, dword [esi + 0x178]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x28], eax
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x104]
lea esi, [ebp - 0x30]
sub dword [ebp - 0x24], eax
push 1
sub esp, 0x10
mov eax, dword [ecx]
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 [eax + 0xa0]
mov esi, dword [ebp - 0x18c]
cmp byte [esi + 0x172], 0
je 0x415dde
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x415da5
push ecx
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esi + 0x188]
mov byte [esi + 0x170], 1
push edi
lea eax, [ebp - 0x20]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x4c]
cmovg eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x48]
cmovg eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [esi + 0x170], 0
je 0x415e53
xor eax, eax
cmp dword [esi + 0xb8], eax
jne 0x415e53
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x415e2d
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esi + 0xac], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x415e2d
inc edi
cmp edi, 0x64
jl 0x415e09
mov edx, dword [ebp - 0x17c]
lea eax, [esi + 0xbc]
mov ecx, dword [esi + 0xac]
push eax
push dword [ebp - 0x1d0]
call fcn.0044288e
pop ecx
pop ecx
mov dword [esi + 0xb8], eax
push 0x40
xor edi, edi
lea eax, [ebp - 0xdc]
push edi
push eax
call fcn.00484a20
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x170], 0
je 0x41669d
push dword [esi + 0xb8]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
mov dword [ebp - 0x180], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x172], 0
mov dword [ebp - 0x1c0], eax
je 0x415f33
mov edi, dword [ebp - 0x48]
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 0x415f33
mov eax, edx
imul eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x18]
jge 0x415f11
lea edi, [ecx + eax]
shl edi, 2
xor edx, edx
mov eax, dword [esi + 0xbc]
inc ecx
mov dword [edi + eax], edx
lea edi, [edi + 4]
cmp ecx, dword [ebp - 0x18]
jl 0x415ef0
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x17c]
inc edx
mov dword [ebp - 0x1b0], eax
mov eax, edi
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x1b0]
jl 0x415ee0
mov ecx, dword [esi + 0x104]
xor edx, edx
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ecx]
push dword [esi + 0xb0]
call dword [eax + 0x1d0]
xor edx, edx
cmp byte [esi + 0x172], dl
je 0x4161b8
mov edi, edx
lea ecx, [esi + 0x49c]
mov eax, edx
test ecx, ecx
je 0x415f6d
mov eax, dword [ecx + 4]
cmp edi, eax
jge 0x4161b8
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
push eax
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x415fa7
push edi
lea ecx, [esi + 0x49c]
call fcn.00426f58
push edi
lea ecx, [esi + 0x4b4]
call fcn.00426f58
xor edx, edx
jmp 0x415f5e
push dword [ebp - 0x1b0]
inc edi
mov dword [ebp - 0x174], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea ecx, [esi + 0x49c]
push 0
pop edx
test eax, eax
je 0x415f64
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x170]
mov ecx, esi
push eax
call fcn.00418a5e
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [ebp - 0x174]
lea ecx, [esi + 0x49c]
push 0
pop edx
test eax, eax
je 0x415f64
push dword [esi + 0xb0]
xor eax, eax
mov dword [ebp - 0x1bc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x164]
mov edi, eax
sub ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x1bc]
mov edx, dword [ebp - 0x168]
sub edx, dword [ebp - 0x170]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x178], edi
call fcn.0044288e
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
sub edx, dword [ebp - 0x170]
sub ecx, dword [ebp - 0x16c]
imul edx, ecx
mov dword [ebp - 0x1b4], eax
xor eax, eax
shl edx, 2
push edx
push eax
push dword [ebp - 0x1bc]
call fcn.00484a20
add esp, 0x14
push dword [ebp - 0x1b4]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x1b0]
mov dword [ebp - 0x1d4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x164]
xor eax, eax
mov edx, dword [ebp - 0x170]
mov ecx, edi
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x16c]
sub ecx, eax
test ecx, ecx
mov ecx, dword [ebp - 0x168]
jle 0x416164
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1b8], eax
mov eax, ecx
sub eax, edx
test eax, eax
jle 0x416146
mov edi, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1bc]
mov eax, ecx
sub eax, edx
imul eax, dword [ebp - 0x1c8]
add eax, edi
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x1b8], esi
test esi, esi
je 0x416131
mov edx, dword [ebp - 0x1bc]
mov ecx, esi
or ecx, 0xff000000
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x170]
mov eax, ecx
inc edi
sub eax, edx
cmp edi, eax
jl 0x4160f4
mov edi, dword [ebp - 0x164]
mov esi, dword [ebp - 0x16c]
inc dword [ebp - 0x1c8]
mov eax, edi
sub eax, esi
cmp dword [ebp - 0x1c8], eax
jl 0x4160de
mov esi, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x16c]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x178]
sub edi, eax
sub ecx, edx
push edi
push ecx
push eax
push edx
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x178]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1b4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x174]
jmp 0x415fa3
mov edi, edx
lea eax, [esi + 0x484]
mov ecx, edx
test eax, eax
je 0x4161c9
mov ecx, dword [eax + 4]
cmp edi, ecx
jge 0x4161e9
mov eax, dword [eax]
lea edx, [ebp - 0x20]
push edx
push dword [esi + 0xb0]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x1f4]
inc edi
xor edx, edx
jmp 0x4161ba
push dword [ebp - 0x1c0]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x172], 0
je 0x4165ea
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x48]
cmp word [eax], cx
mov ecx, edx
je 0x4164b9
mov eax, dword [ebp - 0x4c]
lea esi, [ebp - 0x54]
sub eax, dword [ebp - 0x54]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x178], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18c]
mov eax, dword [esi + 0x174]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x178]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x28], eax
mov eax, dword [esi + 0x180]
sub dword [ebp - 0x24], eax
xor eax, eax
cmp dword [esi + 0xc0], eax
jne 0x416305
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1b4]
mov dword [esi + 0xb4], eax
add esi, 0xc4
push esi
push dword [ebp - 0x178]
mov ecx, dword [edi + 0xac]
call fcn.0044288e
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x178]
imul eax, dword [ebp - 0x1b4]
shl eax, 2
push eax
xor eax, eax
push eax
push dword [esi]
call fcn.00484a20
add esp, 0x14
push dword [edi + 0xc0]
push dword [edi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 1
sub esp, 0x10
jmp 0x41632c
cmp byte [esi + 0x184], al
je 0x41637d
imul ecx, dword [ebp - 0x1b4]
shl ecx, 2
push ecx
push eax
push dword [esi + 0xc4]
call fcn.00484a20
mov dword [ebp - 4], 2
push ecx
mov edi, esp
lea esi, [ebp - 0x30]
lea edx, [ebp - 0x1a8]
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 - 0x18c]
mov ecx, dword [esi + 0xb4]
call fcn.0043c519
mov ecx, dword [esi + 0xb4]
xor eax, eax
push eax
lea eax, [esi + 0x198]
mov edx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push eax
call fcn.0043ed57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
add esp, 0x20
call fcn.0043c4f6
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov eax, edx
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jge 0x41655f
mov eax, dword [ebp - 0x1b4]
mov edi, ecx
imul edi, eax
mov dword [ebp - 0x1c8], 0xff
mov dword [ebp - 0x1bc], edi
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x18]
mov dword [ebp - 0x174], esi
mov esi, dword [ebp - 0x18c]
jge 0x41648c
mov eax, dword [ebp - 0x174]
lea ecx, [edi + eax]
mov eax, dword [esi + 0xc4]
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x174]
add eax, edi
mov dword [ebp - 0x178], edx
mov edi, dword [esi + 0xbc]
mov ecx, dword [eax + edi]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edx
xor edx, edx
shr ecx, 8
div dword [ebp - 0x1c8]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x174]
add ecx, dword [ebp - 0x1bc]
shl esi, 8
div dword [ebp - 0x1c8]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ecx + edi]
imul eax, dword [ebp - 0x178]
shl esi, 8
div dword [ebp - 0x1c8]
movzx eax, al
or esi, eax
mov eax, dword [ebp - 0x178]
shl eax, 0x18
add esi, eax
mov eax, dword [ebp - 0x174]
mov dword [ecx + edi], esi
inc eax
mov esi, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x1bc]
mov dword [ebp - 0x174], eax
cmp eax, dword [ebp - 0x18]
jl 0x4163ce
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1b4]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1b8], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1bc], edi
mov eax, dword [ebp - 0x1b4]
jl 0x4163b0
mov esi, dword [ebp - 0x18c]
jmp 0x41655f
sub ecx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jge 0x41655f
mov eax, ecx
mov dword [ebp - 0x1c8], 0xff
imul eax, dword [ebp - 0x17c]
mov dword [ebp - 0x178], eax
mov edi, dword [ebp - 0x20]
cmp edi, dword [ebp - 0x18]
jge 0x41653d
mov ecx, dword [ebp - 0x18]
add eax, edi
shl eax, 2
mov edx, dword [esi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x416526
cmp byte [eax + edx], 0
jne 0x416519
cmp byte [eax + edx + 1], 0
jne 0x416519
cmp byte [eax + edx + 2], 0
je 0x416526
mov ecx, dword [ebp - 0x1c8]
mov byte [eax + edx + 3], cl
mov ecx, dword [ebp - 0x18]
inc edi
add eax, 4
cmp edi, ecx
jl 0x4164f8
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x17c]
inc ecx
mov dword [ebp - 0x178], eax
mov eax, edx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1b8], ecx
mov eax, dword [ebp - 0x178]
jl 0x4164e8
mov al, byte [esi + 0x171]
xor ecx, ecx
mov byte [ebp - 0x1ae], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d0]
push 2
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1b0]
push eax
push ecx
lea eax, [ebp - 0x1c4]
mov word [ebp - 0x1b0], cx
push eax
push dword [esi + 0xb0]
lea eax, [ebp - 0x1d8]
mov byte [ebp - 0x1ad], 1
push eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1c4], ecx
push eax
push dword [esi + 0xac]
mov dword [ebp - 0x1c0], ecx
push dword [esi + 0xa8]
call dword [0x4d6814]
jmp 0x41661b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [esi + 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 [esi + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x180]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
call edi
cmp byte [esi + 0x101], 0
je 0x416709
cmp byte [esi + 0x172], 0
jne 0x416709
push dword [0x4d6810]
push dword [esi + 0xac]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [ebp - 0x18c]
push eax
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
mov esi, edi
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x416709
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x180], eax
xor eax, eax
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ecx]
push eax
push dword [esi + 0xac]
call dword [edx + 0x1d0]
lea eax, [esi + 0x484]
xor ecx, ecx
test eax, eax
je 0x4166d9
mov ecx, dword [eax + 4]
cmp edi, ecx
jge 0x4166f7
mov eax, dword [eax]
lea edx, [ebp - 0x20]
push edx
push dword [esi + 0xac]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x1f4]
inc edi
jmp 0x4166ca
push dword [ebp - 0x180]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0xdc]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov byte [esi + 0x406], al
mov byte [esi + 0x184], al
cmp byte [esi + 0x16d], al
je 0x41673b
mov ecx, esi
call fcn.00417e98
xor eax, eax
cmp byte [ebp - 0x185], 0
je 0x415784
push 1
push eax
push eax
push str.windowsize
push dword [esi + 0x104]
mov ecx, esi
call fcn.00418aca
jmp 0x415784
cmp byte [esi + 0x405], 0
je 0x417e8e
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov byte [esi + 0x405], al
mov byte [esi + 0x794], al
jmp 0x417e8e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x417e8e
xor eax, eax
mov dword [ebp - 0x7c], 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x17c]
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x78], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
jmp 0x417e85
mov eax, dword [esi + 0x108]
test eax, eax
je 0x416827
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0x19
xor ecx, ecx
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x415784
call fcn.0041ffad
jmp 0x415784
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x28
push eax
xor eax, eax
inc eax
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x60], 1
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x41689a
mov eax, dword [ebp - 0x6c]
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x174]
mov edx, dword [eax + 0x128]
test edx, edx
jle 0x4168b3
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x12c]
test edx, edx
jle 0x4168c0
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x130]
test edx, edx
jle 0x4168cd
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x134]
test edx, edx
jle 0x4168da
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 0x130]
test edx, edx
jle 0x4168e7
mov dword [ecx + 8], edx
mov eax, dword [eax + 0x134]
test eax, eax
jle 0x417e8e
mov dword [ecx + 0xc], eax
jmp 0x417e8e
mov eax, edi
sub eax, 0x4e
je 0x416cac
sub eax, 0x2d
je 0x416bc0
sub eax, 0x85
je 0x416b25
sub eax, 1
je 0x416a94
sub eax, 1
je 0x416a1a
sub eax, 0xf
je 0x4169e8
sub eax, ecx
jne 0x417e8e
mov ecx, dword [ebp - 0x17c]
mov edx, eax
lea eax, [esi + 0x424]
test eax, eax
jne 0x416955
xor edi, edi
jmp 0x416958
mov edi, dword [eax + 4]
cmp edx, edi
jge 0x417e8e
mov eax, dword [eax]
mov edi, dword [eax + edx*4]
mov eax, dword [edi + 8]
cmp eax, dword [esi + 0xa8]
jne 0x41697e
movzx eax, cx
cmp dword [edi + 0xc], eax
jne 0x41697e
cmp byte [edi + 0x10], 0
je 0x416981
inc edx
jmp 0x416947
xor eax, eax
mov dword [ebp - 0x1ac], 0x1b
mov word [ebp - 0x198], ax
mov eax, dword [edi]
mov dword [ebp - 0x1a8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x124]
mov dword [ebp - 0x1a4], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov ecx, dword [edi]
mov word [ebp - 0x196], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
jmp 0x417e7f
test edx, edx
je 0x417e8e
push edx
push dword [ebp - 0x17c]
lea eax, [edi + 0x2000]
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
test eax, eax
jne 0x415784
jmp 0x417e8e
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
mov eax, dword [esi + 0x108]
test eax, eax
je 0x417e8e
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x194], ecx
mov word [ebp - 0x198], cx
mov ecx, dword [esi + 0x124]
mov dword [ebp - 0x1ac], 5
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
jmp 0x417e79
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
mov eax, dword [esi + 0x118]
test eax, eax
je 0x417e8e
mov ecx, dword [esi + 0x124]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x194], eax
mov word [ebp - 0x198], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x1ac], 4
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x118]
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
jmp 0x416bb5
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
mov eax, dword [esi + 0x108]
test eax, eax
je 0x417e8e
mov ecx, dword [esi + 0x124]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x194], eax
mov word [ebp - 0x198], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x1ac], 3
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov eax, dword [esi + 0x108]
mov dword [esi + 0x118], eax
jmp 0x417e8e
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
movsx eax, dx
mov dword [ebp - 0x184], eax
shr edx, 0x10
movsx eax, dx
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x180]
mov dword [esi + 0x120], eax
xor eax, eax
mov dword [esi + 0x124], ecx
cmp dword [esi + 0x114], eax
je 0x417e8e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [esi + 0x114]
xor eax, eax
mov edi, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
mov byte [esi + 0x405], al
mov byte [esi + 0x794], al
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1ac], 0x14
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
mov word [ebp - 0x196], di
mov dword [ebp - 0x190], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov dword [esi + 0x114], eax
jmp 0x417e8e
test edx, edx
je 0x417e8e
push edx
push dword [ebp - 0x17c]
lea eax, [edi + 0x2000]
push eax
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41577c
mov eax, 0x207
cmp edi, eax
ja 0x417704
je 0x417681
mov eax, edi
sub eax, 0x138
je 0x4169e8
sub eax, 0xc8
je 0x417128
sub eax, 1
je 0x416fc9
sub eax, 1
je 0x416f1f
sub eax, 1
je 0x416e36
sub eax, 1
je 0x416d86
sub eax, 1
jne 0x417e8e
cmp byte [esi + 0x405], al
je 0x416d45
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [ebp - 0x174]
xor eax, eax
mov byte [esi + 0x405], al
mov byte [esi + 0x794], al
mov eax, edx
movsx edi, dx
shr eax, 0x10
mov ecx, esi
cwde
push eax
push edi
mov dword [ebp - 0x180], eax
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], eax
call fcn.0041a038
mov dword [esi + 0x114], eax
test eax, eax
je 0x417e8e
mov dword [ebp - 0x1ac], 0x10
jmp 0x417e2d
cmp byte [esi + 0x100], 0
jne 0x416da1
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x174]
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x180], ecx
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x417e8e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x198]
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x1ac], 0xf
xor eax, eax
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x19c], eax
jmp 0x416ed7
cmp byte [esi + 0x100], 0
jne 0x416e51
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x174]
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x180], ecx
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x417e8e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov dword [ebp - 0x1ac], 0x13
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x17c]
mov byte [esi + 0x405], 1
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x194], ecx
mov word [ebp - 0x196], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x1ac]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c0]
mov dword [esi + 0x114], edi
jmp 0x417e8e
mov eax, edx
movsx edi, dx
shr eax, 0x10
cwde
mov dword [ebp - 0x180], eax
mov dword [esi + 0x124], eax
xor eax, eax
mov dword [esi + 0x120], edi
cmp dword [esi + 0x114], eax
je 0x417e8e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x17c]
xor eax, eax
mov byte [esi + 0x405], al
mov byte [esi + 0x794], al
mov word [ebp - 0x198], ax
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1ac], 0xe
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x19c], eax
mov word [ebp - 0x196], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
mov dword [ebp - 0x1a4], eax
xor eax, eax
mov dword [esi + 0x114], eax
jmp 0x417e7f
cmp byte [esi + 0x100], 0
jne 0x416fe4
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x174]
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c0], ecx
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1d4], eax
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
mov dword [ebp - 0x180], edi
test edi, edi
je 0x417e8e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
test al, al
je 0x417099
mov eax, dword [esi + 0x798]
mov byte [esi + 0x794], 1
test eax, eax
je 0x417066
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [esi + 0x798], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
sub esp, 0x14
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 edi, dword [ebp - 0x180]
mov edx, edi
mov esi, dword [ebp - 0x18c]
mov ecx, esi
call fcn.004426a0
add esp, 0x14
mov dword [esi + 0x798], eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x405], 1
mov ecx, edi
mov dword [esi + 0x114], edi
mov eax, dword [edi]
call dword [eax + 0x198]
mov ecx, dword [ebp - 0x17c]
xor eax, eax
mov word [ebp - 0x198], ax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1ac], 0xd
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x19c], eax
mov word [ebp - 0x196], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
jmp 0x417e88
cmp byte [esi + 0x404], 0
push 3
pop edi
jne 0x417183
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], edi
test eax, eax
jne 0x417159
mov eax, dword [esi + 0xfc]
jmp 0x417169
xor ecx, ecx
push ecx
push edi
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 edx, dword [ebp - 0x174]
mov byte [esi + 0x404], 1
mov eax, edx
movsx ecx, dx
shr eax, 0x10
mov dl, 1
cwde
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1d0], edx
cmp dword [esi + 0x120], ecx
jne 0x4171bc
xor edi, edi
movzx edx, dl
cmp dword [esi + 0x124], eax
cmove edx, edi
mov dword [ebp - 0x1d0], edx
push eax
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x4171e6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
cmp byte [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x17c]
je 0x417493
cmp byte [esi + 0x794], 0
je 0x417493
cmp eax, 1
jne 0x417493
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.00482304
mov edi, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x1b0], edi
push edi
mov dword [edi], vtable.DuiLib::CIDropSource.0
mov dword [edi + 4], eax
mov byte [edi + 8], al
call dword [0x4ad370]
push 0x24
call fcn.00482304
pop ecx
mov ecx, eax
xor eax, eax
push ecx
mov dword [ebp - 0x178], ecx
mov dword [ecx], vtable.DuiLib::CIDataObject.0
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ecx]
call dword [eax + 4]
or dword [ebp - 0x38], 0xffffffff
xor eax, eax
push 2
mov word [ebp - 0x3e], ax
xor ecx, ecx
pop eax
push 0x10
pop edx
push ecx
push eax
push dword [esi + 0x798]
mov dword [ebp - 0x42], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], edx
call dword [sym.imp.ole32.dll_OleDuplicateData]
xor edx, edx
mov esi, eax
mov eax, dword [ebp - 0x178]
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
mov dword [ebp - 0x1d4], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x5c]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x54]
push 0xe
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x24], eax
pop eax
push ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], 0x40
push ecx
mov edi, dword [ebp - 0x18c]
push ecx
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [edi + 0xac]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x1d0], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1d0]
push dword [ebp - 0x180]
push dword [ebp - 0x1c0]
push eax
push eax
push dword [ebp - 0x1b8]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1d0]
push esi
call edi
push dword [ebp - 0x1b8]
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 - 0x178]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x44]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
lea eax, [ebp - 0x1c8]
mov dword [ebp - method.DuiLib::CDragSourceHelper.virtual_0], vtable.DuiLib::CDragSourceHelper.0
push eax
push 0x4a4770
push 1
xor eax, eax
push eax
push 0x4a4700
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x1c8]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x58]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x54]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x164], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1cc]
call fcn.0041aa42
lea eax, [ebp - 0x1bc]
mov esi, dword [ebp - 0x1b0]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1bc], 0
je 0x41744b
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.00482334
mov eax, dword [edi]
pop ecx
pop ecx
push edi
call dword [eax + 8]
mov edi, dword [ebp - 0x18c]
xor eax, eax
mov byte [edi + 0x794], al
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - method.DuiLib::CDragSourceHelper.virtual_0], vtable.DuiLib::CDragSourceHelper.0
test ecx, ecx
je 0x417e8e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x417e8e
xor ecx, ecx
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov word [ebp - 0x198], cx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x1a0], ecx
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x190], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
call fcn.00413b98
cmp byte [esi + 0x405], 0
mov word [ebp - 0x196], ax
jne 0x417645
push dword [ebp - 0x1b8]
mov ecx, esi
push dword [ebp - 0x178]
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x417513
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
cmp eax, esi
jne 0x417e8e
mov eax, dword [esi + 0x110]
cmp edi, eax
je 0x417612
test eax, eax
je 0x417612
mov dword [ebp - 0x1a8], eax
lea eax, [esi + 0x544]
mov dword [ebp - 0x1ac], 0xa
test eax, eax
je 0x417546
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00426cd8
lea eax, [esi + 0x544]
mov dword [ebp - 4], 7
test eax, eax
je 0x417566
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00426d66
lea ecx, [esi + 0x544]
test ecx, ecx
jne 0x417580
xor eax, eax
jmp 0x417583
mov eax, dword [ecx + 4]
shl eax, 2
push eax
push dword [ecx]
push dword [ebp - 0x1f0]
call fcn.004844a0
add esp, 0xc
xor eax, eax
mov esi, eax
lea edx, [ebp - 0x1ac]
push edx
cmp esi, dword [ebp - 0x1ec]
jge 0x4175be
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x1c0]
inc esi
jmp 0x41759b
mov esi, dword [ebp - 0x18c]
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov ecx, dword [esi + 0xc8]
xor edx, edx
mov dword [esi + 0x110], edx
test ecx, ecx
je 0x4175f8
lea eax, [esi + 0xcc]
push eax
push edx
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.00426d2b
lea ecx, [ebp - 0x1e0]
call fcn.00427bcd
cmp edi, dword [esi + 0x110]
je 0x417645
test edi, edi
je 0x417645
mov dword [ebp - 0x1ac], 0xb
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1a8], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c0]
mov dword [esi + 0x110], edi
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x417664
mov dword [ebp - 0x1ac], 9
mov dword [ebp - 0x1a8], ecx
jmp 0x417e7f
test edi, edi
je 0x417e8e
mov dword [ebp - 0x1ac], 9
mov dword [ebp - 0x1a8], edi
jmp 0x417118
cmp byte [esi + 0x100], 0
jne 0x41769c
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x174]
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x180], ecx
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x417e8e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x198]
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x1ac], 0x11
jmp 0x416e04
sub edi, 0x208
je 0x417dd2
sub edi, ecx
je 0x417cb5
sub edi, 0x97
je 0x417aa3
sub edi, ecx
je 0x41797a
sub edi, 0x75
je 0x417871
sub edi, 0x7ce9
jne 0x417e8e
xor ecx, ecx
lea eax, [esi + 0x4cc]
mov edi, ecx
mov esi, eax
mov eax, ecx
test esi, esi
je 0x417756
mov eax, dword [esi + 4]
cmp edi, eax
jge 0x41776e
mov eax, dword [esi]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x417769
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
xor ecx, ecx
jmp 0x41774d
mov esi, dword [ebp - 0x18c]
lea ecx, [esi + 0x4cc]
call fcn.00426d2b
add esi, 0x4fc
push esi
mov dword [ebp - 0x1c0], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp - 0x18c]
xor edx, edx
mov dword [ebp - 4], edx
mov byte [edi + 0x408], dl
lea ecx, [edi + 0x4e4]
cmp dword [ecx + 4], edx
jle 0x41785f
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
test eax, eax
je 0x41785f
push edx
call fcn.00426f58
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x108]
test ecx, ecx
je 0x417808
add ecx, 0x6c
je 0x4177f1
cmp dword [ecx + 4], 0
jle 0x4177f1
push eax
call fcn.004484e3
mov eax, dword [ebp - 0x178]
mov edx, dword [eax + 0x108]
mov ecx, dword [edx + 0x684]
test ecx, ecx
je 0x417808
push eax
call fcn.0041a8bd
pop ecx
lea eax, [edi + 0x40c]
xor ecx, ecx
mov edi, dword [ebp - 0x178]
mov esi, ecx
mov dword [ebp - 0x180], eax
test eax, eax
je 0x417825
mov ecx, dword [eax + 4]
cmp esi, ecx
jge 0x41783e
mov eax, dword [eax]
push edi
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x180]
inc esi
xor ecx, ecx
jmp 0x41781e
mov ecx, edi
call fcn.00414f83
push 0x120
push edi
call fcn.00482334
mov edi, dword [ebp - 0x18c]
xor edx, edx
pop ecx
pop ecx
jmp 0x4177a3
mov esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x417e8e
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x17c]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x180], eax
xor eax, eax
push eax
lea eax, [ebp - 0x40]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x1d0]
mov eax, dword [ebp - 0x174]
test al, 0x10
je 0x417968
push 5
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x178], ecx
test ecx, ecx
je 0x417968
push 2
pop eax
or dword [ebp - 0x174], eax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0xa8]
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebp - 0x17c]
xor eax, eax
push eax
mov eax, dword [ebp - 0x2c]
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x174]
push edi
push 0x317
push dword [ebp - 0x178]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push dword [ebp - 0x178]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x178], eax
test ecx, ecx
jne 0x4178ed
push dword [ebp - 0x180]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x417e8e
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x41799a
lea eax, [esi + 0xcc]
push eax
xor eax, eax
push eax
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x404], 0
je 0x417a96
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x184], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x417a7e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0xa8]
jne 0x417a7e
push dword [ebp - 0x180]
lea eax, [ebp - 0x40]
push dword [ebp - 0x184]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x417a7e
movzx ecx, word [ebp - 0x180]
movzx eax, word [ebp - 0x184]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
xor eax, eax
push ecx
push eax
push 0x84
push dword [esi + 0xa8]
call edi
mov ecx, dword [esi + 0xa8]
cmp eax, 1
jne 0x417a71
lea eax, [ebp - 0x184]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x180]
movzx eax, word [ebp - 0x184]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x417a86
push 0xffffffffffffffff
xor eax, eax
push eax
push 0x200
push ecx
jmp 0x417a94
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
xor eax, eax
push eax
push 0x200
push dword [esi + 0xa8]
call edi
xor eax, eax
mov byte [esi + 0x404], al
jmp 0x417e8e
xor eax, eax
movsx ecx, dx
mov byte [esi + 0x404], al
mov eax, edx
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x180], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
call fcn.0041a038
mov edi, eax
mov dword [ebp - 0x1d4], edi
test edi, edi
je 0x417e8e
mov eax, dword [esi + 0x110]
test eax, eax
je 0x417b59
mov dword [ebp - 0x1a8], eax
xor ecx, ecx
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov word [ebp - 0x198], cx
mov dword [ebp - 0x1ac], 0xc
mov dword [ebp - 0x190], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x19c], eax
call fcn.00413b98
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x1ac]
mov word [ebp - 0x196], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov eax, dword [edi]
lea ecx, [ebp - 0x160]
push ecx
mov ecx, edi
call dword [eax + 0x138]
mov dword [ebp - 4], 3
xor eax, eax
mov edx, dword [ebp - 0x160]
xor ecx, ecx
inc eax
cmp word [edx], cx
je 0x417ca5
and dword [esi + 0xdc], ecx
and dword [esi + 0xe0], ecx
and dword [esi + 0xe4], ecx
and dword [esi + 0xe8], ecx
and dword [esi + 0xf4], ecx
and dword [esi + 0xf8], ecx
mov ecx, edi
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov eax, dword [0x4d6804]
mov dword [esi + 0xcc], 0x30
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], edx
mov eax, dword [edi]
call dword [eax + 0x9c]
lea edi, [esi + 0xdc]
xor ecx, ecx
mov esi, 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 [ebp - 0x18c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0xc8], ecx
jne 0x417c68
push ecx
push dword [0x4d6804]
mov eax, SysReAllocString
push ecx
push dword [esi + 0xa8]
push eax
push eax
push eax
push eax
push SysStringLen
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xcc]
mov dword [esi + 0xc8], eax
push ecx
xor ecx, ecx
push ecx
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ecx]
call dword [eax + 0x144]
push eax
xor eax, eax
push eax
push 0x418
push dword [esi + 0xc8]
call edi
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x417ca5
lea eax, [esi + 0xcc]
push eax
xor eax, eax
push eax
push 0x436
push dword [esi + 0xc8]
call edi
lea eax, [esi + 0xcc]
push eax
push 1
push 0x411
push dword [esi + 0xc8]
call edi
lea ecx, [ebp - 0x160]
call fcn.004270e8
jmp 0x415784
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x417e8e
movsx eax, dx
mov dword [ebp - 0x184], eax
mov eax, edx
shr eax, 0x10
cwde
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x184]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x184]
push eax
mov dword [esi + 0x120], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x124], eax
call fcn.0041a038
mov edi, eax
test edi, edi
je 0x417e8e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
cmp eax, esi
jne 0x417e8e
mov ecx, dword [ebp - 0x17c]
xor eax, eax
mov word [ebp - 0x198], ax
shr ecx, 0x10
movzx eax, cx
shr eax, 0xf
shl ecx, 0x10
or eax, ecx
mov dword [ebp - 0x1ac], 0x15
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
call fcn.00413b98
mov word [ebp - 0x196], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x1ac]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c0]
movzx ecx, word [esi + 0x124]
movzx eax, word [esi + 0x120]
shl ecx, 0x10
or ecx, eax
xor eax, eax
push ecx
push eax
push 0x200
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x417e8e
cmp byte [esi + 0x405], 0
je 0x417df5
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [ebp - 0x174]
xor eax, eax
mov byte [esi + 0x405], al
mov byte [esi + 0x794], al
mov eax, edx
movsx edi, dx
shr eax, 0x10
mov ecx, esi
cwde
push eax
push edi
mov dword [ebp - 0x180], eax
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], eax
call fcn.0041a038
mov dword [esi + 0x114], eax
test eax, eax
je 0x417e8e
mov dword [ebp - 0x1ac], 0x12
mov dword [ebp - 0x1a8], eax
xor ecx, ecx
mov eax, dword [ebp - 0x174]
mov word [ebp - 0x198], cx
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x19c], eax
mov word [ebp - 0x196], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
mov dword [ebp - 0x1a4], eax
lea edx, [ebp - 0x1ac]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c0]
xor al, al
call fcn.00482aa3
ret 0x10