Function at 0x42f130
Capabilities:
Encode data using xor
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.00409810
push eax
mov dword [esi + 0xc], esp
jmp 0x42f149
call fcn.00409810
push eax
mov eax, esp
push eax
mov dword [esi + 0x18], esp
push eax
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 8], esp
push eax
mov edx, esp
sub esp, 0x18
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
mov dword [esi + 0x24], esp
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp + 8]
mov dword [ecx], edi
mov dword [esi + 0x14], eax
mov byte [eax], 0
jmp 0x42f17e
mov dword [esi + 0x28], edx
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 0x42f1a2
jmp 0x42f314
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [edi]
cmp eax, 0
setne al
jmp 0x42f1e0
test al, 1
jne 0x42f1e9
jmp 0x42f30a
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.0041ab90
add esp, 4
mov edx, dword [esi + 0x28]
mov dword [edx], eax
cmp dword [edx], 0
setne al
jmp 0x42f219
test al, 1
jne 0x42f222
jmp 0x42f2f8
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
mov al, byte [eax]
mov byte [esi + 4], al
mov byte [ebx], 0x9b
mov byte [ebx + 1], 0xe5
mov byte [ebx + 2], 0xfb
mov byte [ebx + 3], 0xe3
mov byte [ebx + 4], 0xf0
mov byte [ebx + 5], 0xec
mov byte [ebx + 6], 0xff
mov byte [ebx + 7], 0xed
mov byte [ebx + 8], 0xf2
mov byte [ebx + 9], 0xaf
mov byte [ebx + 0xa], 0xe4
mov byte [ebx + 0xb], 0xe3
mov byte [ebx + 0xc], 0xe6
mov byte [ebx + 0xd], 0x25
mov byte [ebx + 0x10], 0
mov word [ebx + 0xe], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x11
jae 0x42f2d3
mov dword [esi + 0x20], edx
jmp 0x42f28c
mov edi, dword [esi]
mov eax, dword [esi]
movzx edx, byte [ebx + eax]
mov eax, edi
add eax, 0x13d15933
lea edi, [edi + edx + 0x13d15933]
and eax, edx
add eax, eax
mov edx, eax
xor edx, edi
not eax
and edi, eax
add edi, edi
sub edi, edx
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0x2c]
add al, 0x9b
mov edx, dword [esi]
mov byte [ebx + edx], al
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0x11
jb 0x42f28c
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
jmp 0x42f2d3
sub esp, 0xc
mov dword [esp], ebx
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409a30
and al, 1
jmp 0x42f2ed
jmp 0x42f2ef
mov ecx, dword [esi + 0x14]
mov byte [ecx], al
jmp 0x42f2f6
jmp 0x42f2f8
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42f308
jmp 0x42f30a
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42f312
jmp 0x42f314
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