Function at 0x406930
Capabilities:
Check mutex on windows
Monitor clipboard content

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425b40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x433180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x436498]
cmp eax, dword [ecx + 4]
jle 0x4069b8
push 0x436498
call fcn.0040ed9e
add esp, 4
cmp dword [0x436498], 0xffffffff
jne 0x4069b8
push 0x42e774
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x436498
call fcn.0040ed4d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406b5a
call fcn.004061f0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push 0
push 0x42e1e4
lea ecx, [ebp - 0x60]
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
call fcn.00405850
movups xmm0, xmmword [str.ClipboardWatcher]
mov ax, word [0x42e82c]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movups xmmword [ebp - 0x38], xmm0
push 0
movups xmm0, xmmword [0x42e81c]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov byte [ebp - 0x3c], 0
mov word [ebp - 0x18], ax
mov dword [ebp - 0xa4], 0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0xa0], 0x406c10
call esi
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x406b52
push 0
push 0
call esi
push eax
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push str.Clipboard_Watcher
lea eax, [ebp - 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x406b52
push eax
call dword [sym.imp.USER32.dll_AddClipboardFormatListener]
test eax, eax
je 0x406b52
lea ecx, [ebp - 0x60]
call fcn.004060b0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x7c]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0
push eax
movups xmmword [ebp - 0x7c], xmm0
movq qword [ebp - 0x6c], xmm0
call esi
test eax, eax
je 0x406b21
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x7c]
push eax
call edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
call esi
test eax, eax
jne 0x406b01
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov al, 1
xchg byte [ecx], al
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x406b52
mov al, byte [ebp - 0x3c]
test al, al
je 0x406b4d
cmp byte [ecx + 0x6c], 0
jne 0x406b52
test al, al
je 0x406b4d
cmp byte [ecx + 0x6c], 0
jne 0x406b7c
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x60]
call fcn.00406b90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040ed0f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
mov ecx, 4
call fcn.00405120
int3