Function at 0x100976f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015d190
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push 0xb
push str.LButtonDown
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10046530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push 0xc
push str.currentEvent
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.10046530
mov byte [ebp - 4], 1
call fcn.100653e0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
add ecx, 0x6c
push eax
call fcn.1005c510
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
add ecx, 0x28
cmp ecx, eax
je 0x100977ae
push 0xffffffffffffffff
push 0
push eax
call fcn.100461b0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100977c3
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10046700
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x100977f1
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10046700
mov dword [ebx + 0x18], 1
movzx eax, word [esi]
mov dword [ebp - 0x4c], eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [edi]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [0x101c86d8]
test edi, edi
jne 0x1009784c
push 0x90
call fcn.1010a803
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
call fcn.1008da30
mov edi, eax
mov dword [0x101c86d8], edi
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
push 0
push dword [eax]
call esi
push 4
push eax
call esi
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
mov ecx, eax
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10097906
mov eax, dword [ebp - 0x54]
cmp eax, dword [ecx + 0x14]
jne 0x100978c1
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x7f89
push 0
call esi
push eax
call ebx
push dword [ebp - 0x48]
lea eax, [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x4c]
push eax
call fcn.10092610
mov ecx, dword [ebp - 0x50]
mov ebx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x50], eax
cmp esi, ebx
je 0x100978df
mov ecx, esi
call fcn.1008dd60
add esi, 0x50
cmp esi, ebx
jne 0x100978d1
mov eax, dword [edi + 0x10]
push 0
push dword [ebp - 0x50]
mov dword [edi + 0x14], eax
mov dword [edi + 0x8c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x64]
mov edi, dword [ebp - 0x6c]
mov ecx, edi
push dword [ebp - 0x68]
push dword [ebp - 0x58]
call fcn.1007faf0
push 0x201
push dword [ebp - 0x48]
mov ecx, edi
push dword [ebp - 0x4c]
call fcn.10086690
test al, al
jne 0x10097949
push dword [ebp - 0x48]
mov ecx, edi
push dword [ebp - 0x4c]
call sym.WnSkinPreview.dll_private:_bool___thiscall_CMergeWnd::OnMouseDown_struct_tagPOINT_
test al, al
je 0x10097955
push 0x7f89
push 0
call esi
push eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 0xc