Function at 0x40137e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
xor eax, eax
push edi
inc eax
xor edi, edi
and dword [ebp - 8], edi
and dword [ebp - 0x20], edi
push eax
mov dword [ebp - 0x1c], eax
call fcn.0044bc76
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 4
push dword [ebp + 8]
call esi
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4013b8
mov eax, 0x2714
jmp 0x401a6e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call esi
mov esi, eax
test esi, esi
je 0x4013e9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebx + 0x32], edi
je 0x401a62
cmp dword [0x49ec68], edi
je 0x401a62
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40144d
movzx eax, word [0x49cd5c]
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push eax
call esi
test eax, eax
jne 0x401442
movzx eax, word [0x49cd64]
push eax
call esi
test eax, eax
jne 0x401442
movzx eax, word [0x49cd60]
push eax
call esi
test eax, eax
jne 0x401442
xor esi, esi
jmp 0x401445
xor esi, esi
inc esi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40144f
xor esi, esi
push dword [0x49ec60]
test esi, esi
je 0x401463
call fcn.0043e07f
mov esi, dword [ebp - 0x20]
jmp 0x40146b
call fcn.0043dfd5
xor esi, esi
inc esi
mov edi, eax
test edi, edi
jne 0x401a62
call fcn.00405629
mov edi, eax
test edi, edi
jne 0x401a62
test esi, esi
je 0x40149d
push dword [0x49ec60]
call fcn.0043e07f
mov edi, eax
test edi, edi
jne 0x401a62
lea esi, [ebx + 0xd6]
push esi
push dword [ebx + 0xde]
push 0x65
push dword [ebx + 0x26]
call fcn.0043c3a1
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 0x10]
or edi, 0xffffffff
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [esi]
push dword [ebx + 0x26]
call fcn.00465870
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov dword [ebp - 0x20], esi
je 0x401538
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0xde]
jne 0x401534
cmp dword [ebp - 0x10], edi
jne 0x401534
lea edi, [ebx + 0xd6]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [eax + 0x34], 0x22
je 0x401524
mov ecx, dword [eax + 0x8c]
sub ecx, dword [eax + 0x90]
cmp ecx, 1
jne 0x401529
xor esi, esi
mov dword [ebp - 0x20], esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or edi, 0xffffffff
test esi, esi
jne 0x40153b
mov dword [ebp - 0x10], edi
push 0
push dword [ebp + 8]
call fcn.00458cf7
mov edi, eax
test edi, edi
jne 0x401a62
lea esi, [ebx + 0xce]
push esi
push 0x67
push 0x64
push dword [ebx + 0x26]
call fcn.0043c3a1
mov edi, eax
test edi, edi
jne 0x401a62
push dword [esi]
push 0x67
push 0x64
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 0x14]
push eax
push 0x72
push 0x64
push dword [ebx + 0x26]
call fcn.0043c164
test eax, eax
jne 0x4015ab
push dword [ebp - 0x14]
push 0x72
push 0x64
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebx + 0x1c6]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalSize]
call esi
lea ecx, [ebp - 0x14]
add eax, 0x10
push ecx
push eax
push 0x69
push 0x64
push dword [0x49ec60]
call fcn.0043b5e2
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 0x14]
push dword [ebx + 0x1c6]
call fcn.0043d7f6
push dword [ebx + 0xb6]
call esi
lea ecx, [ebp - 0x2c]
add eax, 0x10
push ecx
push eax
push 0x6f
push 0x64
pop esi
push esi
push dword [0x49ec60]
call fcn.0043b5e2
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 0x2c]
push dword [ebx + 0xb6]
call fcn.0043d7f6
lea eax, [ebp - 4]
push eax
push 0x6a
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x6a
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x6e
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x6e
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x68
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x68
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebx + 0xbe]
push 0x65
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x66
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x66
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x66
push esi
push dword [0x49ec60]
call fcn.0043c164
test eax, eax
jne 0x401719
push 1
push dword [ebp - 4]
call fcn.0046820d
push dword [ebp - 4]
call fcn.0043d6c9
lea eax, [ebp - 4]
push eax
push 0x6b
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x6b
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x6c
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x6c
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push 0x6d
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push 0x6d
push esi
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebx + 0x26]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
push dword [ebp - 0x28]
call fcn.0043d7f6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov eax, 0x90
push 0x49e4c8
lea ecx, [esi + 0x8a]
mov dword [esi + 0xb6], eax
push ecx
mov dword [esi + 0xba], eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
lea eax, [esi + 0x32]
push eax
call fcn.0046bad9
push dword [ebp - 4]
push 0x64
push 0x64
call fcn.00403f85
mov edi, eax
test edi, edi
jne 0x401a62
push dword [0x49ec60]
push dword [ebx + 0x26]
call fcn.004045bc
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 8]
push eax
push 0x65
push dword [ebx + 0x26]
call fcn.0043bad1
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp + 0xc]
inc eax
push edi
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebx + 0xd6]
push dword [ebx + 0x26]
call fcn.00401d54
mov edi, eax
test edi, edi
jne 0x401a55
lea eax, [ebp - 4]
push eax
push 0x6a
push 0x64
push dword [0x49ec60]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
call fcn.0043d6c9
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
call esi
mov ecx, dword [ebp - 8]
mov dword [eax + 0x16], ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 0x64
push 0x64
push dword [0x49ec60]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
call esi
mov ecx, dword [ebp - 8]
and dword [eax + 0x5a], edi
mov dword [eax + 0xee], ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call fcn.0043d6c9
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 0x65
push dword [0x49ec60]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
lea eax, [ebp - 0xc]
push eax
push 0x68
push 0x64
push dword [0x49ec60]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x401a62
push 0x3c
push dword [ebp - 0xc]
call fcn.0043b8ef
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 0xc]
call esi
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x34], edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0xc]
call fcn.0043d6c9
push edi
push dword [ebp - 0xc]
push edi
push edi
push dword [ebp - 4]
push dword [0x49ec60]
call fcn.0041594a
mov edi, eax
test edi, edi
jne 0x401a62
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
and dword [esi + 0x54], edi
push dword [ebp - 4]
call fcn.0043d6c9
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401a62
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 2
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp dword [ebp + 0xc], edi
je 0x4019e3
movzx ecx, word [0x49cd60]
push esi
push ecx
jmp 0x401a3c
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebx + 0x4a], 7
je 0x401a13
cmp dword [ebx + 0x4a], 0xa
je 0x401a13
cmp dword [ebp - 0x1c], 0
jne 0x401a13
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0
push 0xffffffffffffffff
pop ecx
push 1
push dword [ebp - 0x10]
cmove eax, ecx
mov dword [ebp - 0x24], eax
push eax
jmp 0x401a1a
push 0
or ecx, 0xffffffff
push ecx
push ecx
push dword [ebp + 8]
call fcn.00460e78
call fcn.0045fa7e
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
movzx eax, word [0x49cd5c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x401a4d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x401a62
push 0
push dword [0x49ec60]
call fcn.0043e0df
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8