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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5036a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1b4], esi
cmp dword [esi + 0xa8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1ac], eax
je case.0x4677f5.276
lea ecx, [esi + 0x418]
mov dword [ebp - 0x1bc], 0
call fcn.004ce9d0
mov edi, dword [ebp - 0x19c]
test eax, eax
jle 0x4661d0
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x418]
mov byte [ebp - 0x1ad], 0
call fcn.0046c6f0
lea ecx, [ebp - 0x1ad]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1a0]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1ad], 0
jne 0x46622b
inc dword [ebp - 0x1bc]
lea ecx, [esi + 0x418]
call fcn.004ce9d0
mov ecx, dword [ebp - 0x1bc]
cmp ecx, eax
jl 0x466180
cmp byte [esi + 0x16d], 0
mov edx, dword [ebp + 8]
je 0x4662d7
mov eax, edx
sub eax, 0x83
je 0x4662c4
sub eax, 2
je 0x4662c4
sub eax, 1
jne 0x4662d7
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x46631d
cmp dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1ac]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x468b26
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x466270
cmp eax, 0x200
jae 0x466250
cmp eax, 0x7b
je 0x466277
mov al, 1
jmp 0x468b26
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x120], eax
mov al, 1
mov dword [esi + 0x11c], ecx
jmp 0x468b26
cmp eax, 0x20a
jne 0x4662bd
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1a8], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1a8]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0x120], eax
mov al, 1
jmp 0x468b26
mov ecx, dword [ebp - 0x1ac]
mov al, 1
mov dword [ecx], 0
jmp 0x468b26
cmp edx, 0x111
ja 0x4677cb
jne 0x466320
mov eax, dword [ebp - 0x19c]
test eax, eax
je case.0x4677f5.276
push eax
push dword [ebp - 0x1a0]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
test eax, eax
je case.0x4677f5.276
mov al, 1
jmp 0x468b26
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x4677f5.276
movzx eax, byte [eax + 0x468b7c]
jmp dword [eax*4 + 0x468b44]
mov eax, dword [esi + 0x11c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
mov dword [ebp - 0x120], eax
test ecx, ecx
je 0x4663bb
mov dword [ebp - 0x128], 0xa
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x4663e4
mov dword [ebp - 0x128], 0xe
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
push 0
mov ecx, esi
call fcn.0046ab40
mov edi, dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x466411
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x466411
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
test eax, eax
je case.0x4677f5.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xc8], 0
jmp case.0x4677f5.276
mov ecx, dword [ebp - 0x1ac]
mov al, 1
mov dword [ecx], 1
jmp 0x468b26
cmp dword [esi + 0x104], 0
jne 0x4664ab
push 0x40
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x140]
push eax
push dword [esi + 0xac]
call fcn.0047e3d0
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x468b26
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4662bd
cmp byte [esi + 0x16a], 0
je 0x4664f5
push 1
mov ecx, esi
call fcn.0046af10
push 1
mov ecx, esi
call fcn.0046b080
mov eax, dword [ebp - 0x4c]
mov ecx, esi
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push 1
mov byte [ebp - 0x1ad], 0
mov dword [ebp - 0x1b8], eax
call fcn.0046b080
cmp byte [esi + 0x169], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x466751
lea eax, [ebp - 0x54]
mov byte [esi + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4667d2
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4667d2
mov ecx, dword [esi + 0x104]
call fcn.00472310
test al, al
je 0x466638
movups xmm0, xmmword [ebp - 0x54]
mov eax, dword [esi + 0xb0]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x466592
push eax
call edi
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x46659f
push eax
call edi
mov eax, dword [esi + 0xb8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4665b2
push eax
call edi
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4665bf
push eax
call edi
cmp byte [esi + 0x16d], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xc0], 0
je 0x46661a
mov eax, dword [esi + 0x170]
add dword [ebp - 0x30], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x24], eax
movups xmm0, xmmword [ebp - 0x30]
jmp 0x46661e
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [esi + 0x104]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x54]
jmp 0x4666d8
lea edi, [esi + 0x460]
mov ecx, edi
mov dword [ebp - 0x1c0], edi
call fcn.0046ca70
mov ecx, dword [esi + 0x104]
push reloc.WS2_32.dll_htons
push 0
push 0x46b820
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, edi
call fcn.004ce9d0
test eax, eax
jle 0x4666d8
xor esi, esi
push esi
mov ecx, edi
call fcn.0046c6f0
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x1ac], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x120]
call edx
mov edi, dword [edi]
mov ecx, dword [ebp - 0x1ac]
test al, al
jne 0x4666a1
mov eax, dword [edi + 0x50]
call eax
jmp 0x4666aa
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi + 0x48]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1ac]
call dword [edi + 0x54]
mov edi, dword [ebp - 0x1c0]
inc esi
mov ecx, edi
call fcn.004ce9d0
cmp esi, eax
jl 0x466672
mov esi, dword [ebp - 0x1b4]
cmp byte [esi + 0x168], 0
mov byte [ebp - 0x1ad], 1
je 0x4667d2
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x104]
mov ecx, esi
mov byte [esi + 0x168], 0
call fcn.0046a620
cmp byte [esi + 0x16d], 0
je 0x466734
cmp byte [esi + 0x180], 0
je 0x466734
mov ecx, esi
call fcn.00465ed0
push 0
mov ecx, esi
call fcn.0046b080
mov al, 1
jmp 0x468b26
push dword [esi + 0xa8]
lea ecx, [esi + 0x5c8]
call fcn.0047aad0
mov byte [ebp - 0x1ad], 1
jmp 0x4667d2
cmp byte [esi + 0x16d], 0
je 0x46683d
cmp byte [esi + 0x180], 0
je 0x4667d2
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [esi + 0xbc]
movups xmmword [ebp - 0x30], xmm0
test ecx, ecx
je 0x466795
mov eax, dword [ebp - 0x1b8]
imul eax, dword [ebp - 0x1a0]
shl eax, 2
push eax
push 0
push ecx
call fcn.004d8530
add esp, 0xc
mov eax, dword [esi + 0x170]
add dword [ebp - 0x30], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x28], eax
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x24], eax
movups xmm0, xmmword [ebp - 0x30]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x54]
cmp byte [esi + 0x16d], 0
je 0x46683d
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x466804
push ecx
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esi + 0x184]
mov byte [esi + 0x16b], 1
push edi
lea eax, [ebp - 0x20]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
cmp ecx, dword [ebp - 0x4c]
movups xmmword [edi], xmm0
cmovg ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x48]
cmovg ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0x16b], 0
je 0x46688b
cmp dword [esi + 0xb8], 0
jne 0x46688b
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1a0]
mov dword [esi + 0xb0], eax
lea eax, [esi + 0xbc]
push eax
push dword [ebp - 0x1b8]
push edi
push dword [esi + 0xac]
call fcn.0047e350
add esp, 0x10
mov dword [esi + 0xb8], eax
jmp 0x466891
mov edi, dword [ebp - 0x1a0]
push 0x40
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x16b], 0
je 0x467100
push dword [esi + 0xb8]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x16d], 0
mov dword [ebp - 0x1c4], eax
je 0x46697b
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c0], edx
cmp edx, ecx
jge 0x46697b
mov ecx, dword [ebp - 0x20]
mov eax, edx
imul eax, edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1bc], eax
cmp ecx, edi
jge 0x466958
lea edx, [eax + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0xbc]
lea edx, [edx + 4]
inc ecx
mov dword [edx + eax - 4], 0
mov edi, dword [ebp - 0x18]
cmp ecx, edi
jl 0x466930
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x1a0]
inc edx
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1bc]
jl 0x466922
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0x20]
push 0
push edx
push dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x144]
cmp byte [esi + 0x16d], 0
je 0x466c1b
lea ecx, [esi + 0x430]
mov dword [ebp - 0x1ac], 0
call fcn.004ce9d0
test eax, eax
jle 0x466c01
xor ecx, ecx
push ecx
lea ecx, [esi + 0x430]
call fcn.0046c6f0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x466a01
push dword [ebp - 0x1ac]
lea ecx, [esi + 0x430]
call fcn.0046d0e0
push dword [ebp - 0x1ac]
lea ecx, [esi + 0x43c]
call fcn.0046d0e0
jmp 0x466be8
inc dword [ebp - 0x1ac]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x466be8
push edi
lea eax, [ebp - 0x158]
mov ecx, esi
push eax
call fcn.00465ad0
lea eax, [ebp - 0x158]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x466be8
push dword [esi + 0xb0]
mov dword [ebp - 0x1d8], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1bc], eax
push ecx
mov ecx, dword [ebp - 0x14c]
sub ecx, dword [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x150]
sub ecx, dword [ebp - 0x158]
push ecx
push eax
call fcn.0047e350
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
sub edx, dword [ebp - 0x158]
sub ecx, dword [ebp - 0x154]
imul edx, ecx
mov dword [ebp - 0x1cc], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1d8]
call fcn.004d8530
add esp, 0x1c
push dword [ebp - 0x1cc]
push dword [ebp - 0x1bc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1bc]
mov dword [ebp - 0x1d0], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x14c]
mov ecx, edx
sub ecx, dword [ebp - 0x154]
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1c0], edx
test ecx, ecx
jle 0x466b93
mov esi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x19c]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x466b74
nop
imul ecx, eax
mov eax, dword [ebp - 0x1d8]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x466b57
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x19c]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x466b30
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x1c0], edx
jmp 0x466b7a
mov edx, dword [ebp - 0x1c0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x154]
mov dword [ebp - 0x19c], ecx
cmp ecx, eax
jl 0x466b25
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x154]
sub edx, ecx
mov eax, dword [ebp - 0x158]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1bc]
push edx
push edi
push ecx
push eax
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d0]
mov edi, dword [ebp - 0x1bc]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1cc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x430]
call fcn.004ce9d0
mov ecx, dword [ebp - 0x1ac]
cmp ecx, eax
jl 0x4669c1
cmp byte [esi + 0x16d], 0
je 0x466c1b
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push dword [esi + 0xb0]
call fcn.00464f20
lea ecx, [esi + 0x424]
xor edi, edi
call fcn.004ce9d0
test eax, eax
jle 0x466c60
nop dword [eax]
push edi
lea ecx, [esi + 0x424]
call fcn.0046c6f0
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
lea ecx, [esi + 0x424]
inc edi
call fcn.004ce9d0
cmp edi, eax
jl 0x466c30
push dword [ebp - 0x1c4]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x16d], 0
je 0x467056
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 0xa8]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x194]
call fcn.0046cf90
test al, al
jne 0x466f22
mov eax, dword [ebp - 0x4c]
lea ecx, [esi + 0x194]
sub eax, dword [ebp - 0x54]
movups xmm0, xmmword [ebp - 0x54]
mov edi, dword [ebp - 0x48]
sub edi, dword [ebp - 0x50]
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x170]
add eax, dword [ebp - 0x54]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x28], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x1b4], edi
call fcn.0046cf90
test al, al
jne 0x466fc2
cmp dword [esi + 0xc0], 0
jne 0x466d7a
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0xc4]
mov dword [esi + 0xb4], eax
push edi
push dword [ebp - 0x1b4]
push dword [ebp - 0x1ac]
push dword [esi + 0xac]
call fcn.0047e350
mov dword [esi + 0xc0], eax
mov eax, dword [ebp - 0x1b4]
imul eax, dword [ebp - 0x1ac]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.004d8530
add esp, 0x1c
push dword [esi + 0xc0]
push dword [esi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x466da5
cmp byte [esi + 0x180], 0
je 0x466df2
imul edi, dword [ebp - 0x1ac]
shl edi, 2
push edi
push 0
push dword [esi + 0xc4]
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x30]
lea eax, [ebp - 0x124]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0xb4]
movups xmmword [eax], xmm0
call fcn.00483230
push 0
lea eax, [esi + 0x194]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
push esi
push dword [esi + 0xb4]
call fcn.00481dc0
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.0047dd70
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b4], ecx
cmp ecx, eax
jge 0x466fc2
mov eax, dword [ebp - 0x1ac]
mov edi, ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
imul edi, eax
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1c0], edi
cmp edx, ecx
jge 0x466ef7
mov eax, dword [esi + 0xc4]
lea ecx, [edi + edx]
mov cl, byte [eax + ecx*4 + 3]
mov eax, dword [esi + 0xbc]
add eax, edi
add eax, edx
movzx edx, cl
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1d8], edx
mov eax, dword [eax]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edx
mul ecx
mov ecx, dword [ebp - 0x19c]
shr edx, 7
movzx edi, dl
shl edi, 8
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1d8]
mul ecx
shr edx, 7
movzx eax, dl
or edi, eax
mov eax, dword [ebp - 0x19c]
shl edi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1d8]
mul ecx
shr edx, 7
movzx eax, dl
mov edx, dword [ebp - 0x1cc]
or edi, eax
mov eax, dword [ebp - 0x1d8]
inc edx
shl eax, 0x18
add edi, eax
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x19c]
mov dword [eax], edi
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c0]
cmp edx, ecx
jl 0x466e30
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], edx
inc dword [ebp - 0x1b4]
add edi, eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1c0], edi
jl 0x466e28
jmp 0x466fc2
mov edx, dword [ebp - 0x48]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b4], ecx
cmp ecx, eax
jge 0x466fc2
mov edi, dword [ebp - 0x18]
mov eax, ecx
imul eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c0], eax
cmp ecx, edi
jge 0x466f9d
lea edx, [eax + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x466f89
cmp byte [eax + edx], 0
jne 0x466f81
cmp byte [eax + edx + 1], 0
jne 0x466f81
cmp byte [eax + edx + 2], 0
je 0x466f89
mov byte [eax + edx + 3], 0xff
mov edi, dword [ebp - 0x18]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x466f60
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1a0]
inc dword [ebp - 0x1b4]
mov dword [ebp - 0x1c0], eax
mov eax, edx
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1c0]
jl 0x466f52
mov al, byte [esi + 0x16c]
mov byte [ebp - 0x1ba], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1b8]
push 2
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1bc]
push eax
push 0
lea eax, [ebp - 0x1c8]
mov word [ebp - 0x1bc], 0
push eax
push dword [esi + 0xb0]
lea eax, [ebp - 0x1d4]
mov byte [ebp - 0x1b9], 1
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1c8], 0
push eax
push dword [esi + 0xac]
mov dword [ebp - 0x1c4], 0
push dword [esi + 0xa8]
call dword [0x54bcb8]
jmp 0x467083
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xb0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1a4]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
call edi
cmp byte [esi + 0x101], 0
je 0x467182
cmp byte [esi + 0x16d], 0
jne 0x467182
push dword [0x54bcbc]
push dword [esi + 0xac]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 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 [esi + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x467182
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [esi + 0xac]
call dword [edx + 0x144]
lea ecx, [esi + 0x424]
xor edi, edi
call fcn.004ce9d0
test eax, eax
jle 0x467170
nop dword [eax]
push edi
lea ecx, [esi + 0x424]
call fcn.0046c6f0
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x168]
lea ecx, [esi + 0x424]
inc edi
call fcn.004ce9d0
cmp edi, eax
jl 0x467140
push dword [ebp - 0x1a4]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, esi
call fcn.0046b080
cmp byte [esi + 0x169], 0
mov byte [esi + 0x180], 0
je 0x4671b5
mov ecx, esi
call fcn.00465ed0
cmp byte [ebp - 0x1ad], 0
je 0x4662bd
push 1
push 0
push 0
push str.windowsize
push dword [esi + 0x104]
mov ecx, esi
call fcn.0046a620
mov al, 1
jmp 0x468b26
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
push 1
push dword [esi + 0xa8]
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], 0x28
movups xmmword [ebp - 0x74], xmm0
movq qword [ebp - 0x64], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x60], 1
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x40], xmm0
je 0x46723e
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 ecx, dword [esi + 0x124]
mov eax, dword [ebp - 0x19c]
test ecx, ecx
jle 0x467251
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x128]
test ecx, ecx
jle 0x46725e
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x46726b
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle 0x467278
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
jle 0x467285
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x130]
test ecx, ecx
jle case.0x4677f5.276
mov dword [eax + 0xc], ecx
jmp case.0x4677f5.276
mov eax, dword [esi + 0x108]
test eax, eax
je 0x4672f2
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x128], 0x19
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x4662bd
call fcn.004723a0
mov al, 1
jmp 0x468b26
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1a8], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x110], 0
mov eax, dword [ebp - 0x1a8]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0x120], eax
je case.0x4677f5.276
mov ecx, esi
call fcn.00469c00
mov eax, dword [ebp - 0x1a8]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x110]
mov edx, dword [ebp - 0x1a0]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1a4]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0x14
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x118], eax
mov word [ebp - 0x112], dx
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x110], 0
jmp case.0x4677f5.276
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x4677f5.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 5
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov eax, dword [esi + 0x108]
test eax, eax
je case.0x4677f5.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 3
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi + 0x108]
mov dword [esi + 0x114], eax
jmp case.0x4677f5.276
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov eax, dword [esi + 0x114]
test eax, eax
je case.0x4677f5.276
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov word [ebp - 0x114], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x114], 0
jmp case.0x4677f5.276
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
cmp di, 1
jne case.0x4677f5.276
cmp byte [esi + 0x3e1], 0
jne 0x4662bd
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0
push eax
mov dword [ebp - 0x1a4], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1a8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1a4]
mov ecx, esi
push dword [ebp - 0x1a8]
call fcn.00465040
mov esi, eax
test esi, esi
je case.0x4677f5.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x4677f5.276
mov eax, dword [ebp - 0x1a0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x10c], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x128], 0x1a
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x128]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x134]
mov al, 1
jmp 0x468b26
mov ecx, dword [esi + 0x108]
test ecx, ecx
je case.0x4677f5.276
mov eax, dword [ebp - 0x1a0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x60], 0
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x7c], 0x18
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edi
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
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
mov ecx, esi
call fcn.00465f40
test al, al
je case.0x4677f5.276
mov ecx, esi
call fcn.00469c00
jmp case.0x4677f5.276
mov ecx, dword [ebp - 0x19c]
test ecx, ecx
je case.0x4677f5.276
push ecx
push dword [ebp - 0x1a0]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
mov al, 1
jmp 0x468b26
cmp edx, 0x2a1
ja 0x4687dd
je 0x4685a5
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x4677f5.276
movzx eax, byte [eax + 0x468cac]
jmp dword [eax*4 + 0x468c7c]
mov eax, 0xf1
cmp ax, word [ebp - 0x1a0]
jne 0x46782d
lea eax, [esi + 0x6a0]
mov ecx, esi
push eax
call fcn.00465e70
cmp byte [esi + 0x6b0], 0
sete al
mov byte [esi + 0x6b0], al
jmp case.0x4677f5.276
lea ecx, [esi + 0x3f4]
mov dword [ebp - 0x1b8], 0
call fcn.004ce9d0
test eax, eax
jle case.0x4677f5.276
xor ecx, ecx
nop dword [eax]
push ecx
lea ecx, [esi + 0x3f4]
call fcn.0046c6f0
mov edx, eax
mov dword [ebp - 0x1a4], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 0xa8]
jne 0x467883
mov eax, dword [ebp - 0x1a0]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x467883
cmp byte [edx + 0x10], 0
je 0x4678a3
inc dword [ebp - 0x1b8]
lea ecx, [esi + 0x3f4]
call fcn.004ce9d0
mov ecx, dword [ebp - 0x1b8]
cmp ecx, eax
jl 0x467850
jmp case.0x4677f5.276
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x10c], 0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x128], 0x1b
mov dword [ebp - 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov ecx, dword [ebp - 0x1a4]
lea edx, [ebp - 0x128]
mov word [ebp - 0x112], ax
mov dword [ebp - 0x10c], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x110], eax
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp byte [esi + 0x3e0], 0
jne 0x467991
mov eax, dword [esi + 0xa8]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 3
test eax, eax
jne 0x46796d
mov eax, dword [esi + 0xfc]
jmp 0x46797d
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x3e0], 1
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
movsx edi, ax
mov al, 1
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1b8], eax
cmp dword [esi + 0x11c], ecx
jne 0x4679d0
xor edx, edx
movzx eax, al
cmp dword [esi + 0x120], edi
cmove eax, edx
mov dword [ebp - 0x1b8], eax
push edi
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], edi
call fcn.00465040
mov ecx, eax
test ecx, ecx
je 0x4679fa
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x4677f5.276
cmp byte [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1a0]
je 0x467c9f
cmp byte [esi + 0x698], 0
je 0x467c9f
cmp eax, 1
jne 0x467c9f
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.004264d3
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c0], edi
test edi, edi
je case.0x4677f5.276
mov dword [edi], vtable.DuiLib::CIDropSource.0
mov ecx, dword [edi]
push edi
mov dword [edi + 4], 0
mov byte [edi + 8], 0
call dword [ecx + 4]
push 0x24
call fcn.004264d3
add esp, 4
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x467a87
push edi
mov ecx, eax
call fcn.0047b5d0
mov ecx, eax
mov dword [ebp - 0x1ac], eax
jmp 0x467a8f
xor ecx, ecx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je case.0x4677f5.276
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, 2
mov dword [ebp - 0x1c], 0x10
push 0
xorps xmm0, xmm0
mov word [ebp - 0x44], ax
push eax
push dword [esi + 0x69c]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], 1
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov edi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1ac]
push 0
push edx
mov dword [ebp - 0x18], edi
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1d0], edi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x5c]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x58]
push 0
push 0
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x54]
push 0
push dword [esi + 0xac]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x24], eax
mov eax, 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [esi + 0xac]
mov dword [ebp - 0x1b4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1b8]
mov edi, eax
push dword [ebp - 0x1a4]
push dword [ebp - 0x1c4]
push 0
push 0
push dword [ebp - 0x1b4]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1b4]
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x40
push 1
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.00463630
mov eax, dword [ebp - 0x58]
cdq
sub eax, edx
mov dword [ebp - 0x1a4], 0
sar eax, 1
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x54]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
push 5
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x150]
call fcn.00465e00
mov edi, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1cc]
push eax
push 3
push edi
push dword [ebp - 0x1ac]
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1cc], 0
je 0x467c71
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 0xc
push edi
call fcn.00426506
mov ecx, dword [ebp - 0x1ac]
add esp, 8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x150]
mov byte [esi + 0x698], 0
call fcn.00463c80
jmp case.0x4677f5.276
mov ecx, dword [ebp - 0x1b4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x118], edi
mov edi, dword [ebp - 0x19c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
call fcn.004660b0
push dword [ebp - 0x1a4]
mov ecx, esi
mov word [ebp - 0x112], ax
push dword [ebp - 0x1b4]
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1a4], edi
test edi, edi
je 0x467d31
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov eax, dword [esi + 0x10c]
cmp edi, eax
je 0x467e3a
test eax, eax
je 0x467e3a
lea ecx, [esi + 0x478]
mov dword [ebp - 0x128], 0xa
mov dword [ebp - 0x124], eax
call fcn.004ce9d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046c520
lea ecx, [esi + 0x478]
mov dword [ebp - 4], 5
call fcn.004ce9d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046d370
lea ecx, [esi + 0x478]
call fcn.004ce9d0
shl eax, 2
lea ecx, [esi + 0x478]
push eax
call fcn.0046cd10
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046cd10
push eax
call fcn.004d7fb0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor edi, edi
call fcn.004ce9d0
test eax, eax
jle 0x467de7
push edi
lea ecx, [ebp - 0x1c]
call fcn.0046c6f0
lea ecx, [ebp - 0x128]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x134]
lea ecx, [ebp - 0x1c]
inc edi
call fcn.004ce9d0
cmp edi, eax
jl 0x467dc0
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0x10c], 0
test ecx, ecx
je 0x467e25
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046c5e0
mov edi, dword [ebp - 0x1a4]
cmp edi, dword [esi + 0x10c]
je 0x467e6d
test edi, edi
je 0x467e6d
mov dword [ebp - 0x128], 0xb
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x124], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov dword [esi + 0x10c], edi
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x467e9b
mov dword [ebp - 0x128], 9
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
jmp case.0x4677f5.276
test edi, edi
je case.0x4677f5.276
mov dword [ebp - 0x128], 9
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x124], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp byte [esi + 0x100], 0
jne 0x467ede
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x4677f5.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x467f8f
mov eax, dword [esi + 0x69c]
mov byte [esi + 0x698], 1
test eax, eax
je 0x467f69
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x69c], 0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x50]
call eax
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push edi
push esi
movups xmmword [ecx], xmm0
call fcn.00482ed0
add esp, 0x1c
mov dword [esi + 0x69c], eax
mov ecx, esi
call fcn.0046a700
mov dword [esi + 0x110], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x11c]
mov ecx, dword [ebp - 0x1a4]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1a0]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x19c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xd
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp byte [esi + 0x100], 0
jne 0x468044
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x4677f5.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov ecx, esi
call fcn.0046a700
mov eax, dword [ebp - 0x1a4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x128], 0x13
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x19c]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], eax
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
mov dword [esi + 0x110], edi
jmp case.0x4677f5.276
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0x110], 0
cwde
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x11c], ecx
mov dword [esi + 0x120], eax
je case.0x4677f5.276
mov ecx, esi
call fcn.00469c00
mov eax, dword [esi + 0x110]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x19c]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xe
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
mov dword [esi + 0x110], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp byte [esi + 0x100], 0
jne 0x468212
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x4677f5.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0046a700
mov dword [ebp - 0x128], 0xf
mov ecx, dword [ebp - 0x1a4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x118], ecx
jmp 0x4680c6
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov dword [esi + 0x110], eax
test eax, eax
je case.0x4677f5.276
mov ecx, esi
call fcn.00469c00
mov dword [ebp - 0x128], 0x10
mov eax, dword [esi + 0x110]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x19c]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], ecx
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4677f5.276
cmp byte [esi + 0x100], 0
jne 0x46838a
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x4677f5.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x11c]
mov ecx, esi
call fcn.0046a700
mov dword [ebp - 0x128], 0x11
jmp 0x46827c
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0x120], eax
call fcn.00465040
mov dword [esi + 0x110], eax
test eax, eax
je case.0x4677f5.276
mov ecx, esi
call fcn.00469c00
mov dword [ebp - 0x128], 0x12
jmp 0x4682f0
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
mov ecx, dword [ebp - 0x19c]
movsx eax, cx
mov dword [ebp - 0x1c8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1c8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c8]
push eax
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1a4], edi
test edi, edi
je case.0x4677f5.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4677f5.276
mov eax, dword [ebp - 0x1a0]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x19c]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0x15
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov word [ebp - 0x112], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1a4]
lea edx, [ebp - 0x128]
mov dword [ebp - 0x120], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
movzx ecx, word [esi + 0x120]
movzx eax, word [esi + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4677f5.276
mov ecx, dword [ebp - 0x19c]
test ecx, ecx
je case.0x4677f5.276
push ecx
push dword [ebp - 0x1a0]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x466300
mov eax, dword [ebp - 0x19c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a4], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x3e0], 0
mov dword [ebp - 0x1c4], eax
call fcn.00465040
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.0x4677f5.276
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x46867b
mov edi, dword [ebp - 0x19c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x1a0]
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x118], eax
call fcn.004660b0
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x128]
mov word [ebp - 0x112], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov edi, dword [ebp - 0x1d0]
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 2
call fcn.0046cf90
test al, al
jne 0x4687cb
push 0x30
lea eax, [esi + 0xcc]
push 0
push eax
call fcn.004d8530
mov eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x108]
add esp, 0xc
mov dword [esi + 0xcc], 0x30
mov dword [esi + 0xd0], 1
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov eax, dword [0x54bca8]
mov dword [esi + 0xec], eax
call fcn.0046cd10
mov dword [esi + 0xf0], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
call eax
cmp dword [esi + 0xc8], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xdc], xmm0
jne 0x46878e
push 0
push dword [0x54bca8]
push 0
push dword [esi + 0xa8]
push accept
push accept
push accept
push accept
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xcc]
mov dword [esi + 0xc8], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4687cb
lea edi, [esi + 0xcc]
push edi
push eax
push 0x436
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x108]
call fcn.0046c5c0
mov al, 1
jmp 0x468b26
sub edx, 0x2a3
je 0x468a1d
sub edx, 0x75
je 0x46892f
sub edx, 0x7ce9
jne case.0x4677f5.276
lea eax, [esi + 0x448]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x1a4], eax
call fcn.004ce9d0
test eax, eax
jle 0x468846
mov esi, dword [ebp - 0x1a4]
nop dword [eax]
push edi
mov ecx, esi
call fcn.0046c6f0
test eax, eax
je 0x468834
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.004ce9d0
cmp edi, eax
jl 0x468820
mov esi, dword [ebp - 0x1b4]
lea ecx, [esi + 0x448]
call fcn.0046ca70
lea eax, [esi + 0x454]
mov byte [esi + 0x3e4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1b4], eax
call fcn.0046cc80
mov edi, eax
test edi, edi
je case.0x4677f5.276
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b4]
push 0
call fcn.0046d0e0
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4688b5
add ecx, 0x38
call fcn.0047b310
test al, al
je 0x4688b5
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.0047b330
mov ecx, dword [ebp - 0x1b8]
xor esi, esi
call fcn.004ce9d0
test eax, eax
jle 0x4688f3
nop word [eax + eax]
mov ecx, dword [ebp - 0x1b8]
push esi
call fcn.0046c6f0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b8]
inc esi
call fcn.004ce9d0
cmp esi, eax
jl 0x4688d0
lea ecx, [edi + 0x84]
call fcn.0046c5c0
mov ecx, edi
call fcn.0046c5c0
push 0x120
push edi
call fcn.00426506
mov ecx, dword [ebp - 0x1b4]
add esp, 8
push 0
call fcn.0046cc80
mov edi, eax
test edi, edi
jne 0x468883
jmp case.0x4677f5.276
cmp dword [esi + 0x104], 0
je case.0x4677f5.276
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1a0]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x144]
test byte [ebp - 0x19c], 0x10
je 0x468a0b
push 5
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b8], eax
test eax, eax
je 0x468a0b
or dword [ebp - 0x19c], 2
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x2c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x19c]
push edi
push 0x317
push dword [ebp - 0x1b8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b8]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b8], eax
test eax, eax
jne 0x4689a0
push dword [ebp - 0x1a4]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x4677f5.276
mov ecx, dword [esi + 0xc8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x468a3e
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x3e0], 0
je 0x468b1d
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
push eax
movups xmmword [ebp - 0x40], xmm0
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 0x468b0c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0xa8]
jne 0x468b0c
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x468b0c
movzx ecx, word [ebp - 0x1a4]
movzx eax, word [ebp - 0x1a8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0xa8]
call edi
cmp eax, 1
jne 0x468b0c
lea eax, [ebp - 0x1a8]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1a4]
movzx eax, word [ebp - 0x1a8]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x468b0e
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xa8]
call edi
mov byte [esi + 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.004264c2
mov esp, ebp
pop ebp
ret 0x10