Function at 0x4060b3
Capabilities:
Write clipboard data

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x44e58d
call fcn.0044d07c
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0xffffffffffffffff
push str.qm_mutex_key
push 0x461b70
lea ecx, [ebp + 0x4c]
call fcn.00436465
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0x5b], bl
mov byte [ebp + 0x59], bl
xor eax, eax
lea edi, [ebp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x48], ebx
mov byte [ebp - 4], 1
push esi
lea ecx, [ebp - 0x38]
call fcn.004059be
mov byte [ebp - 4], 2
push ebx
push ebx
push esi
lea ecx, [ebp]
call fcn.00405cea
mov byte [ebp - 4], 3
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x30], esi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 4
push 1
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405667
lea eax, [ebp + 0x34]
push eax
call fcn.00405b71
mov edi, eax
mov dword [ebp + 0x48], edi
push edi
push 1
push esi
call fcn.00405752
add esp, 0x10
mov ecx, esi
call fcn.00422601
test al, 0x40
jne 0x406167
push edi
lea ecx, [ebp - 0x38]
call fcn.004059fb
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [ebp + 0x64]
cmp dword [edi], ebx
jne 0x406180
push 0x451a1b
mov ecx, edi
call fcn.0042c85a
lea eax, [ebp + 0x68]
push eax
push edi
call fcn.004058b8
pop ecx
pop ecx
mov dword [ebp + 0x38], eax
cmp eax, ebx
jne 0x4061a5
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x213
mov ecx, esi
call fcn.0040570a
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x3c], eax
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [ebp - 4], 5
wait
push 1
lea ecx, [ebp + 0x20]
call fcn.00409542
mov byte [ebp - 4], 6
push ebx
cmp dword [ebp + 0x6c], ebx
je 0x406241
push ebx
push 0x302
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebp + 0x70], bl
je 0x406276
xor eax, eax
cmp byte [ebp + 0x70], bl
setne al
lea eax, [eax + eax + 5]
push eax
push eax
lea ecx, [ebp]
call fcn.0040a47d
cmp byte [ebp + 0x5b], bl
je 0x406276
push 1
lea ecx, [ebp + 0x20]
call fcn.00409131
push ebx
push 0x11
call fcn.004091ba
pop ecx
pop ecx
push 1
push 0x56
push 2
lea ecx, [ebp]
call fcn.0040a2e3
dec dword [ebp + 0x18]
push ebx
lea ecx, [ebp]
call fcn.0040a276
push 6
push 0x11
lea ecx, [ebp]
call fcn.0040a098
jmp 0x40628f
push 0x1f4
call sym.qmmacro.exe_WaitForAnActiveWindow
pop ecx
pop ecx
mov dword [ebp + 0x6c], eax
push eax
lea ecx, [ebp + 0x28]
call fcn.004095f3
push dword [ebp + 0x6c]
call fcn.00433ffd
pop ecx
mov byte [ebp + 0x59], al
cmp al, bl
jne 0x4061e1
mov byte [ebp + 0x5b], 1
jmp 0x4061ea
cmp byte [ebp + 0x59], bl
je 0x40628f
push ebx
push 0xfff1
push 0x112
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0x6c]
call fcn.0043447d
pop ecx
mov byte [ebp + 0x5a], al
mov ecx, esi
call fcn.00422614
mov dword [ebp + 0x70], eax
fild dword [ebp + 0x70]
test eax, eax
jge 0x4062b2
fadd qword [0x452000]
fadd qword [0x451ff8]
push ecx
push ecx
fstp qword [esp]
call sub.msvcrt.dll_sqrt
pop ecx
pop ecx
fmul qword [0x452008]
call fcn.0044d06a
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], ebx
mov edi, 0xc8
mov eax, dword [ebp + 0x50]
cmp dword [ebp + 0x54], eax
jge 0x406332
cmp dword [ebp + 0x40], ebx
jne 0x406332
push ebx
xor eax, eax
cmp byte [ebp + 0x5a], bl
sete al
dec eax
and eax, 3
dec eax
dec eax
push eax
lea eax, [ebp + 0x40]
push eax
push 0xa
mov ecx, esi
call fcn.00425dc1
cmp dword [ebp + 0x40], ebx
jne 0x406332
cmp dword [ebp + 0x54], 4
jne 0x40631a
push ebx
lea ecx, [ebp]
call fcn.0040a276
jmp 0x406363
jle 0x406363
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x28]
call fcn.004095f3
test al, al
je 0x406354
mov dword [ebp + 0x40], 1
lea ecx, [ebp - 0x1c]
call fcn.004056bc
push ebx
lea ecx, [ebp]
call fcn.0040a276
cmp byte [ebp + 0x5a], bl
je 0x40636b
mov ecx, esi
call fcn.004257e7
jmp 0x406417
push 8
push edi
push dword [ebp + 0x6c]
push esi
call fcn.0042741e
add esp, 0x10
inc dword [ebp + 0x54]
jmp 0x4062da
cmp dword [ebp + 0x40], 1
jne 0x4063fc
cmp byte [ebp - 0x24], bl
je 0x40639a
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x28]
call fcn.004092ec
test al, al
jne 0x40639a
mov eax, dword [ebp + 0x50]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp + 0x50], eax
jmp 0x4063a1
mov dword [ebp + 0x50], 0xa
mov dword [ebp + 0x54], ebx
mov eax, dword [ebp + 0x50]
cmp dword [ebp + 0x54], eax
jge 0x4063d9
push 5
mov ecx, esi
call fcn.004056f4
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
test eax, eax
je 0x4063d9
cmp dword [ebp + 0x54], 0xa
jl 0x4063d4
push 8
push edi
push dword [ebp + 0x6c]
push esi
call fcn.0042741e
add esp, 0x10
inc dword [ebp + 0x54]
jmp 0x4063a4
mov ecx, esi
call fcn.00422614
cmp eax, 0xf
jae 0x4063ee
mov ecx, esi
call fcn.00422614
jmp 0x4063f1
push 0xf
pop eax
add eax, 5
push eax
mov ecx, esi
call fcn.004056f4
cmp byte [ebp + 0x5b], bl
je 0x406417
cmp dword [0x461cb0], ebx
je 0x406417
push ebx
push ebx
push 1
push 0x64
lea ecx, [ebp]
call fcn.00409801
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x20]
call fcn.0040571a
wait
mov dword [ebp - 4], 4
cmp dword [ebp + 0x40], ebx
jne 0x406437
push 0x215
jmp 0x406442
cmp dword [ebp + 0x40], 2
jne 0x406449
push 0x213
mov ecx, esi
call fcn.0040570a
cmp byte [ebp + 0x5a], bl
jne 0x40646a
push 8
mov eax, dword [ebp + 0x50]
imul eax, eax, 0x64
push eax
push dword [ebp + 0x6c]
push esi
call fcn.0042741e
add esp, 0x10
test al, al
jne 0x40646a
mov byte [ebp - 0x24], bl
push ebx
lea ecx, [ebp - 0x38]
call fcn.00405a5e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004056bc
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.00405d69
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00405d38
mov byte [ebp - 4], bl
push dword [ebp + 0x48]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x4c], ebx
je 0x4064b5
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, esi
call fcn.00405702
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret 0x14