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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47857d
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1ec], edi
cmp dword [edi + 0xa8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
je case.0x407ad1.276
lea ecx, [edi + 0x418]
mov dword [ebp - 0x2c], 0
call fcn.0040c6a0
mov esi, dword [ebp - 0x1dc]
test eax, eax
jle 0x4065d3
xor ecx, ecx
push ecx
lea ecx, [edi + 0x418]
mov byte [ebp - 0x19], 0
call fcn.0040bf20
lea ecx, [ebp - 0x19]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x24]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x19], 0
jne 0x406628
inc dword [ebp - 0x2c]
lea ecx, [edi + 0x418]
call fcn.0040c6a0
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
jl 0x406595
cmp byte [edi + 0x16d], 0
mov edx, dword [ebp + 8]
je 0x4066bf
mov eax, edx
sub eax, 0x83
je 0x4066af
sub eax, 2
je 0x4066af
sub eax, 1
jne 0x4066bf
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4066ff
cmp dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x408cf7
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x40666a
cmp eax, 0x200
jae 0x40664a
cmp eax, 0x7b
je 0x406671
mov al, 1
jmp 0x408cf7
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0x120], eax
mov al, 1
mov dword [edi + 0x11c], ecx
jmp 0x408cf7
cmp eax, 0x20a
jne 0x4066a8
mov ecx, dword [ebp - 0x1dc]
movsx eax, cx
mov dword [ebp - 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x120], eax
mov al, 1
jmp 0x408cf7
mov ecx, dword [ebp - 0x20]
mov al, 1
mov dword [ecx], 0
jmp 0x408cf7
cmp edx, 0x111
ja 0x407aa7
jne 0x406702
mov eax, dword [ebp - 0x1dc]
test eax, eax
je case.0x407ad1.276
push eax
push dword [ebp - 0x24]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
test eax, eax
je case.0x407ad1.276
mov al, 1
jmp 0x408cf7
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x407ad1.276
movzx eax, byte [eax + 0x408d48]
jmp dword [eax*4 + 0x408d14]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x40], ax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x120]
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x406775
mov dword [ebp - 0x54], 0xa
lea edx, [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x406795
mov dword [ebp - 0x54], 0xe
lea edx, [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, edi
call fcn.0040ad60
mov esi, dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4067c2
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4067c2
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xc8]
test eax, eax
je case.0x407ad1.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xc8], 0
jmp case.0x407ad1.276
mov ecx, dword [ebp - 0x20]
mov al, 1
mov dword [ecx], 1
jmp 0x408cf7
cmp dword [edi + 0x104], 0
jne 0x40684d
push 0x40
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00461a60
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x6c]
push eax
push dword [edi + 0xac]
call fcn.0041a880
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x408cf7
lea eax, [ebp - 0xa4]
xorps xmm0, xmm0
push eax
push dword [edi + 0xa8]
movups xmmword [ebp - 0xa4], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x8c]
xorps xmm0, xmm0
push eax
push dword [edi + 0xa8]
movups xmmword [ebp - 0x8c], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4066a8
cmp byte [edi + 0x16a], 0
je 0x4068a3
push 1
mov ecx, edi
call fcn.0040b1d0
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
sub edx, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa0]
cmp byte [edi + 0x169], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1e0], eax
mov byte [edi + 0x3e2], 1
je 0x406b11
lea eax, [ebp - 0xa4]
mov byte [edi + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x406b9d
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x406b9d
mov ecx, dword [edi + 0x104]
call fcn.00417e90
test al, al
je 0x4069ff
movups xmm0, xmmword [ebp - 0xa4]
mov eax, dword [edi + 0xb0]
movups xmmword [ebp - 0x1d4], xmm0
movups xmmword [ebp - 0x1bc], xmm0
test eax, eax
je 0x406947
push eax
call esi
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x406954
push eax
call esi
mov eax, dword [edi + 0xb8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x406967
push eax
call esi
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x406974
push eax
call esi
cmp byte [edi + 0x16d], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xc0], 0
je 0x4069de
mov eax, dword [edi + 0x170]
add dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x174]
add dword [ebp - 0x1b8], eax
mov eax, dword [edi + 0x178]
sub dword [ebp - 0x1b4], eax
mov eax, dword [edi + 0x17c]
sub dword [ebp - 0x1b0], eax
movups xmm0, xmmword [ebp - 0x1bc]
jmp 0x4069e5
movups xmm0, xmmword [ebp - 0x1d4]
mov ecx, dword [edi + 0x104]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x54]
jmp 0x406aa0
lea esi, [edi + 0x460]
mov ecx, esi
mov dword [ebp - 0x1e4], esi
call fcn.0040c2c0
mov ecx, dword [edi + 0x104]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x40b8c0
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, esi
call fcn.0040c6a0
test eax, eax
jle 0x406aa0
xor edi, edi
nop dword [eax]
push edi
mov ecx, esi
call fcn.0040bf20
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x20], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x120]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x20]
test al, al
jne 0x406a69
mov eax, dword [esi + 0x50]
call eax
jmp 0x406a75
lea eax, [ebp - 0x1d4]
push eax
mov eax, dword [esi + 0x48]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x20]
call dword [esi + 0x54]
mov esi, dword [ebp - 0x1e4]
inc edi
mov ecx, esi
call fcn.0040c6a0
cmp edi, eax
jl 0x406a40
mov edi, dword [ebp - 0x1ec]
cmp byte [edi + 0x168], 0
mov byte [ebp - 0x19], 1
je 0x406b9d
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x104]
mov ecx, edi
mov byte [edi + 0x168], 0
call fcn.0040a740
cmp byte [edi + 0x16d], 0
je 0x406af7
cmp byte [edi + 0x180], 0
je 0x406af7
mov ecx, edi
call fcn.00406380
mov byte [edi + 0x3e2], 0
mov al, 1
jmp 0x408cf7
push dword [edi + 0xa8]
lea ecx, [edi + 0x5c8]
call fcn.004139b0
mov byte [ebp - 0x19], 1
jmp 0x406b9d
cmp byte [edi + 0x16d], 0
je 0x406c1d
cmp byte [edi + 0x180], 0
je 0x406b9d
movups xmm0, xmmword [ebp - 0xa4]
mov ecx, dword [edi + 0xbc]
movups xmmword [ebp - 0x1bc], xmm0
test ecx, ecx
je 0x406b51
imul eax, edx
shl eax, 2
push eax
push 0
push ecx
call fcn.00461a60
add esp, 0xc
mov eax, dword [edi + 0x170]
add dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x174]
add dword [ebp - 0x1b8], eax
mov eax, dword [edi + 0x178]
sub dword [ebp - 0x1b4], eax
mov ecx, dword [edi + 0x104]
mov eax, dword [edi + 0x17c]
sub dword [ebp - 0x1b0], eax
movups xmm0, xmmword [ebp - 0x1bc]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x54]
cmp byte [edi + 0x16d], 0
je 0x406c1d
push 0xffffffffffffffec
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x406bcf
push ecx
push 0xffffffffffffffec
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [edi + 0x184]
mov byte [edi + 0x16b], 1
push esi
lea eax, [ebp - 0x8c]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x84]
xorps xmm0, xmm0
cmp ecx, dword [ebp - 0x9c]
movups xmmword [esi], xmm0
cmovg ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x98]
cmovg ecx, dword [ebp - 0x98]
mov dword [ebp - 0x80], ecx
cmp byte [edi + 0x16b], 0
je 0x406c68
cmp dword [edi + 0xb8], 0
jne 0x406c68
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp - 0x24]
mov dword [edi + 0xb0], eax
lea eax, [edi + 0xbc]
push eax
push dword [ebp - 0x1e0]
push esi
push dword [edi + 0xac]
call fcn.0041a800
add esp, 0x10
mov dword [edi + 0xb8], eax
jmp 0x406c6b
mov esi, dword [ebp - 0x24]
push 0x40
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00461a60
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x16b], 0
je 0x4074fe
push dword [edi + 0xb8]
push dword [edi + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xb0]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x98]
sub edx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x19c], edx
cmp edx, ecx
jge 0x406d45
mov eax, edx
imul eax, esi
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x2c], eax
nop
mov ecx, dword [ebp - 0x8c]
cmp ecx, esi
jge 0x406d25
lea edx, [ecx + eax]
shl edx, 2
mov eax, dword [edi + 0xbc]
lea edx, [edx + 4]
inc ecx
mov dword [edx + eax - 4], 0
mov esi, dword [ebp - 0x84]
cmp ecx, esi
jl 0x406d00
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x88]
cmp edx, eax
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x2c]
jl 0x406cf0
mov ecx, dword [edi + 0x104]
lea edx, [ebp - 0x8c]
push 0
push edx
push dword [edi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [edi + 0x16d], 0
je 0x406fb5
lea ecx, [edi + 0x430]
mov dword [ebp - 0x20], 0
call fcn.0040c6a0
test eax, eax
jle 0x406fb5
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0x430]
call fcn.0040bf20
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x406dca
push dword [ebp - 0x20]
lea ecx, [edi + 0x430]
call fcn.0040cb20
push dword [ebp - 0x20]
lea ecx, [edi + 0x43c]
call fcn.0040cb20
jmp 0x406f9f
inc dword [ebp - 0x20]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x406f9f
push esi
lea eax, [ebp - 0x1ac]
mov ecx, edi
push eax
call fcn.00405fa0
lea eax, [ebp - 0x1ac]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x1d4]
push eax
movups xmmword [ebp - 0x1d4], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x406f9f
push dword [edi + 0xb0]
mov dword [ebp - 0x19c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x2c], eax
push ecx
mov ecx, dword [ebp - 0x1a0]
sub ecx, dword [ebp - 0x1a8]
push ecx
mov ecx, dword [ebp - 0x1a4]
sub ecx, dword [ebp - 0x1ac]
push ecx
push eax
call fcn.0041a800
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a0]
sub edx, dword [ebp - 0x1ac]
sub ecx, dword [ebp - 0x1a8]
imul edx, ecx
mov dword [ebp - 0x1e4], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x19c]
call fcn.00461a60
add esp, 0x1c
push dword [ebp - 0x1e4]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x1a0]
mov ecx, edx
sub ecx, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1a4]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e8], edx
test ecx, ecx
jle 0x406f53
mov edi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1dc]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x406f34
nop
imul eax, ecx
mov ecx, dword [ebp - 0x19c]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x406f17
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1dc]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x406ef0
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1e8], edx
jmp 0x406f3a
mov edx, dword [ebp - 0x1e8]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1dc], ecx
cmp ecx, eax
jl 0x406ee4
mov edi, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1a8]
sub edx, ecx
mov eax, dword [ebp - 0x1ac]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x2c]
push edx
push esi
push ecx
push eax
push dword [edi + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x78]
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1e4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x430]
call fcn.0040c6a0
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jl 0x406d90
lea ecx, [edi + 0x424]
xor esi, esi
call fcn.0040c6a0
test eax, eax
jle 0x407003
nop word [eax + eax]
push esi
lea ecx, [edi + 0x424]
call fcn.0040bf20
lea ecx, [ebp - 0x8c]
push ecx
push dword [edi + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
lea ecx, [edi + 0x424]
inc esi
call fcn.0040c6a0
cmp esi, eax
jl 0x406fd0
push dword [ebp - 0x30]
push dword [edi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x16d], 0
je 0x407445
lea eax, [ebp - 0x1d4]
xorps xmm0, xmm0
push eax
push dword [edi + 0xa8]
movups xmmword [ebp - 0x1d4], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [edi + 0x194]
call fcn.0040c9f0
test al, al
jne 0x407312
mov eax, dword [ebp - 0x9c]
lea ecx, [edi + 0x194]
sub eax, dword [ebp - 0xa4]
movups xmm0, xmmword [ebp - 0xa4]
mov esi, dword [ebp - 0x98]
sub esi, dword [ebp - 0xa0]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x170]
add eax, dword [ebp - 0xa4]
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x174]
add dword [ebp - 0x1b8], eax
mov eax, dword [edi + 0x178]
sub dword [ebp - 0x1b4], eax
mov eax, dword [edi + 0x17c]
sub dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1e4], esi
call fcn.0040c9f0
test al, al
jne 0x4073cc
cmp dword [edi + 0xc0], 0
jne 0x40714b
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [edi + 0xc4]
mov dword [edi + 0xb4], eax
push esi
push dword [ebp - 0x1e4]
push dword [ebp - 0x20]
push dword [edi + 0xac]
call fcn.0041a800
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x1e4]
imul eax, dword [ebp - 0x20]
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.00461a60
add esp, 0x1c
push dword [edi + 0xc0]
push dword [edi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 4], 0
jmp 0x407186
cmp byte [edi + 0x180], 0
je 0x4071d3
imul esi, dword [ebp - 0x20]
shl esi, 2
push esi
push 0
push dword [edi + 0xc4]
call fcn.00461a60
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
add esp, 0xc
movq qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x1bc]
lea eax, [ebp - 0x50]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0xb4]
movups xmmword [eax], xmm0
call fcn.0041f8c0
push 0
lea eax, [edi + 0x194]
push eax
lea eax, [ebp - 0x1bc]
push eax
push eax
push edi
push dword [edi + 0xb4]
call fcn.0041e570
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041a0f0
mov eax, dword [ebp - 0x98]
mov edx, eax
sub edx, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x1e8], edx
cmp edx, eax
jge 0x4073cc
mov ecx, dword [ebp - 0x84]
mov eax, edx
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x1dc], eax
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x1e4], esi
cmp esi, ecx
jge 0x4072e3
nop dword [eax]
nop dword [eax + eax]
lea ecx, [eax + esi]
mov eax, dword [edi + 0xc4]
mov edi, dword [edi + 0xbc]
add edi, dword [ebp - 0x1dc]
add edi, esi
movzx edx, byte [eax + ecx*4 + 3]
mov dword [ebp - 0x19c], edx
mov eax, dword [edi]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edx
mul ecx
mov eax, dword [edi]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x19c]
shr edx, 7
movzx esi, dl
shl esi, 8
mul ecx
shr edx, 7
movzx eax, dl
or esi, eax
mov eax, dword [edi]
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x19c]
shl esi, 8
mul ecx
shr edx, 7
movzx eax, dl
or esi, eax
mov eax, dword [ebp - 0x19c]
shl eax, 0x18
add esi, eax
mov eax, dword [ebp - 0x1dc]
mov dword [edi], esi
mov esi, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x84]
inc esi
mov edi, dword [ebp - 0x1ec]
mov dword [ebp - 0x1e4], esi
cmp esi, ecx
jl 0x407230
mov edx, dword [ebp - 0x1e8]
add eax, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x88]
cmp edx, eax
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1dc]
jl 0x407210
jmp 0x4073cc
mov edx, dword [ebp - 0x98]
mov ecx, edx
sub ecx, dword [ebp - 0x80]
mov eax, edx
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x1e4], ecx
cmp ecx, eax
jge 0x4073cc
mov esi, dword [ebp - 0x84]
mov eax, ecx
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x8c]
cmp ecx, esi
jge 0x4073a0
lea edx, [eax + ecx]
shl edx, 2
nop word [eax + eax]
mov eax, dword [edi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x40738c
cmp byte [eax + edx], 0
jne 0x407381
cmp byte [eax + edx + 1], 0
jne 0x407381
cmp byte [eax + edx + 2], 0
je 0x40738c
mov byte [eax + edx + 3], 0xff
mov esi, dword [ebp - 0x84]
inc ecx
add edx, 4
cmp ecx, esi
jl 0x407360
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x19c], eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1e4], ecx
sub eax, dword [ebp - 0x88]
cmp ecx, eax
mov eax, dword [ebp - 0x19c]
jl 0x407345
mov al, byte [edi + 0x16c]
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1e0]
push 2
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x34]
mov word [ebp - 0x2c], 0
push eax
push dword [edi + 0xb0]
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x29], 1
push eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x34], 0
push eax
push dword [edi + 0xac]
mov dword [ebp - 0x30], 0
push dword [edi + 0xa8]
call dword [0xe31f20]
jmp 0x40747b
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
push 0xcc0020
push edx
push ecx
push dword [edi + 0xb0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x84]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xb0]
call esi
cmp byte [edi + 0x101], 0
je 0x407582
cmp byte [edi + 0x16d], 0
jne 0x407582
push dword [0xe31f24]
push dword [edi + 0xac]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x407582
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x104]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x8c]
push 0
push eax
mov edx, dword [ecx]
push dword [edi + 0xac]
call dword [edx + 0x144]
lea ecx, [edi + 0x424]
xor esi, esi
call fcn.0040c6a0
test eax, eax
jle 0x407573
nop dword [eax + eax]
push esi
lea ecx, [edi + 0x424]
call fcn.0040bf20
lea ecx, [ebp - 0x8c]
push ecx
push dword [edi + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
lea ecx, [edi + 0x424]
inc esi
call fcn.0040c6a0
cmp esi, eax
jl 0x407540
push dword [ebp - 0x14]
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0x169], 0
mov byte [edi + 0x3e2], 0
mov byte [edi + 0x180], 0
je 0x4075b3
mov ecx, edi
call fcn.00406380
cmp byte [ebp - 0x19], 0
je 0x4066a8
push 1
push 0
push 0
push str.windowsize
push dword [edi + 0x104]
mov ecx, edi
call fcn.0040a740
mov al, 1
jmp 0x408cf7
lea eax, [ebp - 0xd4]
xorps xmm0, xmm0
push eax
push 1
push dword [edi + 0xa8]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xd4], 0x28
movups xmmword [ebp - 0xc4], xmm0
movq qword [ebp - 0xb4], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0xb0], 1
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [ebp - 0x1d4], xmm0
je 0x407651
mov eax, dword [ebp - 0xbc]
neg eax
push eax
mov eax, dword [ebp - 0xc0]
neg eax
push eax
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi + 0x124]
mov eax, dword [ebp - 0x1dc]
test ecx, ecx
jle 0x407664
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x128]
test ecx, ecx
jle 0x407671
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x12c]
test ecx, ecx
jle 0x40767e
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x130]
test ecx, ecx
jle 0x40768b
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x12c]
test ecx, ecx
jle 0x407698
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x130]
test ecx, ecx
jle case.0x407ad1.276
mov dword [eax + 0xc], ecx
jmp case.0x407ad1.276
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4076ef
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x19
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0x104]
test ecx, ecx
je 0x4066a8
call fcn.00417f70
mov al, 1
jmp 0x408cf7
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov ecx, dword [ebp - 0x1dc]
movsx eax, cx
mov dword [ebp - 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x110], 0
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x120], eax
je case.0x407ad1.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [edi + 0x110]
xor eax, eax
mov edx, dword [ebp - 0x24]
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov byte [edi + 0x3e1], 0
mov byte [edi + 0x698], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0x14
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x44], eax
mov word [ebp - 0x3e], dx
mov dword [ebp - 0x38], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x110]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [edi + 0x110], 0
jmp case.0x407ad1.276
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov eax, dword [edi + 0x108]
test eax, eax
je case.0x407ad1.276
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x3e], cx
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov eax, dword [edi + 0x108]
test eax, eax
je case.0x407ad1.276
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x3e], cx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [edi + 0x108]
mov dword [edi + 0x114], eax
jmp case.0x407ad1.276
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov eax, dword [edi + 0x114]
test eax, eax
je case.0x407ad1.276
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x3e], cx
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x114]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [edi + 0x114], 0
jmp case.0x407ad1.276
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
cmp si, 1
jne case.0x407ad1.276
cmp byte [edi + 0x3e1], 0
jne 0x4066a8
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.00405750
mov edi, eax
test edi, edi
je case.0x407ad1.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x407ad1.276
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], 0x1a
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x54]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov al, 1
jmp 0x408cf7
mov ecx, dword [edi + 0x108]
test ecx, ecx
je case.0x407ad1.276
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xcc], 0x18
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
mov ecx, dword [ebp - 0x1dc]
test ecx, ecx
je case.0x407ad1.276
push ecx
push dword [ebp - 0x24]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov al, 1
jmp 0x408cf7
cmp edx, 0x2a1
ja 0x4089ce
je 0x408762
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x407ad1.276
movzx eax, byte [eax + 0x408e78]
jmp dword [eax*4 + 0x408e48]
lea ecx, [edi + 0x3f4]
mov dword [ebp - 0x1e0], 0
call fcn.0040c6a0
test eax, eax
jle case.0x407ad1.276
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [edi + 0x3f4]
call fcn.0040bf20
mov edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0xa8]
jne 0x407b2d
mov eax, dword [ebp - 0x24]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x407b2d
cmp byte [edx + 0x10], 0
je 0x407b4d
inc dword [ebp - 0x1e0]
lea ecx, [edi + 0x3f4]
call fcn.0040c6a0
mov ecx, dword [ebp - 0x1e0]
cmp ecx, eax
jl 0x407b00
jmp case.0x407ad1.276
mov eax, dword [edx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x54], 0x1b
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x54]
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x38], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp byte [edi + 0x3e0], 0
jne 0x407c13
mov eax, dword [edi + 0xa8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [edi + 0xc8]
mov dword [ebp - 0x1bc], 0x10
mov dword [ebp - 0x1b8], 3
test eax, eax
jne 0x407be9
mov eax, dword [edi + 0xfc]
jmp 0x407bf9
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x3e0], 1
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
movsx esi, ax
mov al, 1
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1e4], eax
cmp dword [edi + 0x11c], ecx
jne 0x407c4f
xor edx, edx
movzx eax, al
cmp dword [edi + 0x120], esi
cmove eax, edx
mov dword [ebp - 0x1e4], eax
push esi
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [edi + 0x120], esi
call fcn.00405750
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x407c7f
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
cmp byte [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x24]
je 0x407fa6
cmp byte [edi + 0x698], 0
je 0x407fa6
cmp eax, 1
jne 0x407fa6
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.0045edc2
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je case.0x407ad1.276
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov ecx, dword [esi]
push esi
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call dword [ecx + 4]
push 0x24
call fcn.0045edc2
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x407d14
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
push esi
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.00414430
mov esi, eax
mov dword [ebp - 0x1e0], eax
jmp 0x407d1c
xor esi, esi
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je case.0x407ad1.276
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x1d6], 0
mov word [ebp - 0x1d2], ax
xorps xmm0, xmm0
mov eax, 2
movlpd qword [ebp - 0x1a4], xmm0
push 0
push eax
push dword [edi + 0x69c]
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1cc], 0xffffffff
mov word [ebp - 0x1d8], ax
mov dword [ebp - 0x1c8], 0x10
mov dword [ebp - 0x1a8], 0x10
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [esi]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1a8]
push 0
push eax
lea eax, [ebp - 0x1d8]
push eax
push esi
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x19c]
lea eax, [ebp - 0xac]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0xa8]
push 0
push 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa4]
push 0
push dword [edi + 0xac]
mov dword [ebp - 0x14], eax
mov eax, 0xe
mov word [ebp - 0x1d8], ax
mov dword [ebp - 0x1c8], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [edi + 0xac]
mov dword [ebp - 0x1e8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x1e4], eax
call edi
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1e4]
mov esi, eax
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push 0
push 0
push dword [ebp - 0x1e8]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1e4]
push esi
call edi
push dword [ebp - 0x1e8]
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1a8]
push 1
mov dword [ebp - 0x1a8], 0x40
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x1d8]
push ecx
push edi
call dword [eax + 0x1c]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push 0x487e38
push 1
push 0
movlpd qword [ebp - 0x28], xmm0
push 0x487de8
mov dword [ebp - 0x28], vtable.DuiLib::CDragSourceHelper.0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0xa8]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa4]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x78], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], eax
je 0x407f5e
mov esi, dword [ebp - 0x19c]
lea eax, [ebp - 0x94]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x1c4]
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x24]
push edi
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1b4], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
push 3
push esi
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x20], 0
je 0x407f7b
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0xc
push esi
call fcn.0045edf2
mov eax, dword [edi]
add esp, 8
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x28]
mov byte [eax + 0x698], 0
call fcn.00404380
jmp case.0x407ad1.276
xor ecx, ecx
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x1dc]
mov word [ebp - 0x40], cx
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
mov al, byte [edi + 0x3e1]
test al, al
jne 0x408169
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x1e8]
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x1e0], esi
test esi, esi
je 0x408011
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
cmp eax, edi
jne case.0x407ad1.276
mov eax, dword [edi + 0x10c]
cmp esi, eax
je 0x40813d
test eax, eax
je 0x40813d
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0xa
lea ecx, [edi + 0x478]
mov dword [ebp - 0x50], eax
movq qword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x1a0], 0
call fcn.0040c6a0
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0040bb80
lea ecx, [edi + 0x478]
mov dword [ebp - 4], 5
call fcn.0040c6a0
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0040d180
lea ecx, [edi + 0x478]
call fcn.0040c6a0
shl eax, 2
lea ecx, [edi + 0x478]
push eax
call fcn.0040bf30
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0040bf30
push eax
call fcn.00460f60
add esp, 0xc
lea ecx, [ebp - 0x1a8]
xor esi, esi
call fcn.0040c6a0
test eax, eax
jle 0x4080ea
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x1a8]
call fcn.0040bf20
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x134]
lea ecx, [ebp - 0x1a8]
inc esi
call fcn.0040c6a0
cmp esi, eax
jl 0x4080c0
mov ecx, dword [edi + 0x10c]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0xc8]
mov dword [edi + 0x10c], 0
test ecx, ecx
je 0x408125
lea eax, [edi + 0xcc]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc40
mov esi, dword [ebp - 0x1e0]
cmp esi, dword [edi + 0x10c]
je 0x40816f
test esi, esi
je 0x40816f
mov dword [ebp - 0x54], 0xb
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov dword [edi + 0x10c], esi
jmp 0x40816f
mov esi, dword [ebp - 0x1e0]
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x408194
mov dword [ebp - 0x54], 9
lea edx, [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
jmp case.0x407ad1.276
test esi, esi
je case.0x407ad1.276
mov dword [ebp - 0x54], 9
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp byte [edi + 0x100], 0
jne 0x4081ce
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je case.0x407ad1.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x408276
mov eax, dword [edi + 0x69c]
mov byte [edi + 0x698], 1
test eax, eax
je 0x408250
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x69c], 0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [ecx], xmm0
call fcn.0041f560
add esp, 0x1c
mov dword [edi + 0x69c], eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [edi + 0x3e1], 1
mov ecx, esi
mov dword [edi + 0x110], esi
mov eax, dword [esi]
call dword [eax + 0x11c]
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0xd
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp byte [edi + 0x100], 0
jne 0x408301
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je case.0x407ad1.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov dword [ebp - 0x54], 0x13
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x4c], 0
mov byte [edi + 0x3e1], 1
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x134]
mov dword [edi + 0x110], esi
jmp case.0x407ad1.276
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0x110], 0
cwde
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
mov dword [edi + 0x11c], ecx
mov dword [edi + 0x120], eax
je case.0x407ad1.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x1dc]
mov word [ebp - 0x40], ax
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov byte [edi + 0x3e1], 0
mov byte [edi + 0x698], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0xe
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x110]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x110], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp byte [edi + 0x100], 0
jne 0x408470
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je case.0x407ad1.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x54], 0xf
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov word [ebp - 0x40], ax
mov dword [ebp - 0x44], ecx
jmp 0x40836c
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov dword [edi + 0x110], eax
test eax, eax
je case.0x407ad1.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x1dc]
mov word [ebp - 0x40], ax
mov dword [ebp - 0x4c], eax
mov byte [edi + 0x698], al
mov byte [edi + 0x3e1], al
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x110]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x407ad1.276
cmp byte [edi + 0x100], 0
jne 0x40859f
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je case.0x407ad1.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x11c]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x54], 0x11
jmp 0x4084d3
mov eax, dword [ebp - 0x1dc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [edi + 0x120], eax
call fcn.00405750
mov dword [edi + 0x110], eax
test eax, eax
je case.0x407ad1.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x54], 0x12
jmp 0x40852d
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
mov ecx, dword [ebp - 0x1dc]
movsx eax, cx
mov dword [ebp - 0x34], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
mov dword [edi + 0x11c], ecx
push ecx
mov ecx, edi
mov dword [edi + 0x120], eax
call fcn.00405750
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je case.0x407ad1.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, edi
jne case.0x407ad1.276
mov eax, dword [ebp - 0x24]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], 0x15
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
movzx ecx, word [edi + 0x120]
movzx eax, word [edi + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x407ad1.276
mov ecx, dword [ebp - 0x1dc]
test ecx, ecx
je case.0x407ad1.276
push ecx
push dword [ebp - 0x24]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x4066e5
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1a4]
movsx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x104]
cwde
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1a0], eax
mov byte [edi + 0x3e0], 0
mov eax, dword [ecx]
push 0x15
push edx
push 0x40b840
mov eax, dword [eax + 0x128]
call eax
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je case.0x407ad1.276
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x408816
mov esi, dword [ebp - 0x1dc]
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x54], 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call fcn.004064c0
mov ecx, dword [edi + 0x10c]
lea edx, [ebp - 0x54]
mov word [ebp - 0x3e], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov esi, dword [ebp - 0x78]
push 0x84
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.00461a60
mov eax, dword [esi]
lea ecx, [ebp - 0x198]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 0xbc]
lea ecx, [ebp - 0x198]
mov dword [ebp - 4], 2
call fcn.0040c9f0
lea ecx, [ebp - 0x198]
test al, al
jne 0x4089c2
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov eax, dword [edi + 0xa8]
mov dword [edi + 0xcc], 0x30
mov dword [edi + 0xd0], 1
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], eax
mov eax, dword [0xe31f10]
mov dword [edi + 0xec], eax
call fcn.0040bf30
mov dword [edi + 0xf0], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0xc8]
movups xmmword [edi + 0xdc], xmm0
test eax, eax
jne 0x40897f
push eax
push dword [0xe31f10]
push eax
push dword [edi + 0xa8]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [edi + 0xcc]
mov dword [edi + 0xc8], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0xc8]
call esi
mov eax, dword [edi + 0xc8]
jmp 0x408985
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4089bc
lea eax, [edi + 0xcc]
push eax
push 0
push 0x436
push dword [edi + 0xc8]
call esi
lea eax, [edi + 0xcc]
push eax
push 1
push 0x411
push dword [edi + 0xc8]
call esi
lea ecx, [ebp - 0x198]
call fcn.0040bc20
mov al, 1
jmp 0x408cf7
sub edx, 0x2a3
je 0x408c0c
sub edx, 0x75
je 0x408b0e
sub edx, 0x7ce9
jne case.0x407ad1.276
lea eax, [edi + 0x448]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0040c6a0
test eax, eax
jle 0x408a2e
mov edi, dword [ebp - 0x14]
push esi
mov ecx, edi
call fcn.0040bf20
test eax, eax
je 0x408a1c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.0040c6a0
cmp esi, eax
jl 0x408a08
mov edi, dword [ebp - 0x1ec]
lea ecx, [edi + 0x448]
call fcn.0040c2c0
lea esi, [edi + 0x454]
mov byte [edi + 0x3e4], 0
push 0
mov ecx, esi
mov dword [ebp - 0x30], esi
call fcn.0040c5f0
mov dword [ebp - 0x14], eax
test eax, eax
je case.0x407ad1.276
lea eax, [edi + 0x3e8]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x1e0], eax
nop dword [eax]
push 0
mov ecx, esi
call fcn.0040cb20
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x408a9e
add ecx, 0x38
call fcn.004141e0
test al, al
je 0x408a9e
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.004141f0
mov ecx, dword [ebp - 0x1e0]
xor esi, esi
call fcn.0040c6a0
test eax, eax
jle 0x408ad3
nop
mov ecx, dword [ebp - 0x1e0]
push esi
call fcn.0040bf20
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1e0]
inc esi
call fcn.0040c6a0
cmp esi, eax
jl 0x408ab0
lea ecx, [edi + 0x84]
call fcn.0040bc20
mov ecx, edi
call fcn.0040bc20
push 0x120
push edi
call fcn.0045edf2
mov esi, dword [ebp - 0x30]
add esp, 8
mov ecx, esi
push 0
call fcn.0040c5f0
mov edi, eax
test edi, edi
jne 0x408a70
jmp case.0x407ad1.276
cmp dword [edi + 0x104], 0
je case.0x407ad1.276
lea eax, [ebp - 0x1d4]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x104]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1d4]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x144]
test byte [ebp - 0x1dc], 0x10
je 0x408bfd
push 5
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x408bfd
or dword [ebp - 0x1dc], 2
lea ecx, [ebp - 0x1bc]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x1bc], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1b8]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x1bc]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1dc]
push esi
push 0x317
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1e0], eax
test eax, eax
jne 0x408b83
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x407ad1.276
mov ecx, dword [edi + 0xc8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x408c2d
lea eax, [edi + 0xcc]
push eax
push 0
push 0x411
push ecx
call esi
cmp byte [edi + 0x3e0], 0
je 0x408cee
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
push eax
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x1d4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d4]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x408cdd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0xa8]
jne 0x408cdd
push dword [ebp - 0x14]
lea eax, [ebp - 0x1d4]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x408cdd
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0xa8]
call esi
cmp eax, 1
jne 0x408cdd
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x408cdf
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0xa8]
call esi
mov byte [edi + 0x3e0], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret 0x10