Function at 0x4124c0
Capabilities:
Encode data using xor
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41254b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41254b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x41254b
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412517
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.0040c170
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0xc], xmm0
jmp 0x41256f
push 0
push 0x41b390
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.0040c170
movaps xmm0, xmmword [0x41c2c0]
xor ecx, ecx
movups xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [0x41cb30]
movups xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [0x41db40]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [str.98765___ZYXWV]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x3e
jb 0x4125a0
lea ecx, [ebp - 0x8f]
mov byte [ebp - 0x51], 0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4125d5
sub ecx, edx
lea eax, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040c170
mov ebx, dword [ebp - 0xc]
xor edi, edi
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x41266d
mov eax, dword [ebp - 0x3c]
xor esi, esi
test eax, eax
je 0x412642
xor bl, bl
nop dword [eax + eax]
cmp dword [ebp - 0x38], 0x10
lea edx, [ebp - 0x4c]
push edi
cmovae edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004165b0
mov ecx, dword [ebp - 0x4c]
movzx ebx, bl
mov al, byte [eax]
cmp al, byte [edx + esi]
mov eax, 1
cmove ebx, eax
mov eax, dword [ebp - 0x3c]
inc esi
cmp esi, eax
jb 0x412610
test bl, bl
jne 0x41265f
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov byte [eax + edi], 0x20
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x94], ebx
jmp 0x412665
mov ebx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x4c]
inc edi
cmp edi, ebx
jb 0x412603
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
cmp edi, 0x10
lea ecx, [ebp - 0x1c]
cmovae eax, edx
add eax, ebx
cmp edi, 0x10
mov dword [ebp - 0x94], eax
cmovae esi, edx
add esi, ebx
cmp edi, 0x10
mov eax, esi
cmovae ecx, edx
sub eax, ecx
push eax
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov ecx, esi
test eax, eax
cmovne ecx, eax
cmp ecx, esi
je 0x4126d5
lea eax, [ecx + 1]
cmp eax, esi
je 0x4126d5
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, 0x20
je 0x4126ca
mov byte [ecx], dl
inc ecx
inc eax
cmp eax, esi
jne 0x4126c0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov edx, ecx
lea eax, [ebp - 0x1c]
cmp edi, 0x10
cmovae eax, dword [ebp - 0x1c]
sub dword [ebp - 0x94], ecx
sub edx, eax
mov ecx, dword [ebp - 0x94]
mov eax, ebx
sub eax, edx
cmp eax, ecx
cmovb ecx, eax
cmp edi, 0x10
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
add ecx, edx
sub ebx, eax
add eax, ecx
mov dword [ebp - 0xc], ebx
sub ebx, edx
inc ebx
push ebx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x4217e0]
add esp, 0xc
cmp eax, 1
jne 0x4127cc
mov eax, dword [0x421074]
cmp eax, 0x10
jae 0x4128c3
mov ecx, 0x10
mov dword [ebp - 0x34], 0
sub ecx, eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0xc], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0xf
cmovb ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 0x10
push ecx
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0040c170
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
mov edx, dword [0x421074]
cmovae ecx, edi
mov eax, dword [0x421078]
mov ebx, dword [ebp - 0x24]
sub eax, edx
mov dword [ebp - 0x94], edx
push ebx
push ecx
cmp ebx, eax
ja 0x4127c2
cmp dword [0x421078], 0x10
lea eax, [edx + ebx]
mov esi, 0x421064
mov dword [0x421074], eax
cmovae esi, dword [0x421064]
jmp 0x41285f
mov ecx, 0x421064
jmp 0x41287e
cmp eax, 2
jne 0x4128c3
mov eax, dword [0x4210a4]
cmp eax, 0x10
jae 0x4128c3
mov ecx, 0x10
mov dword [ebp - 0x34], 0
sub ecx, eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0xc], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0xf
cmovb ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 0x10
push ecx
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0040c170
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x34]
mov edx, dword [0x4210a4]
cmovae ecx, edi
mov eax, dword [0x4210a8]
mov ebx, dword [ebp - 0x24]
sub eax, edx
mov dword [ebp - 0x94], edx
push ebx
push ecx
cmp ebx, eax
ja 0x412879
cmp dword [0x4210a8], 0x10
lea eax, [edx + ebx]
mov esi, 0x421094
mov dword [0x4210a4], eax
cmovae esi, dword [0x421094]
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x94]
add esp, 0xc
add eax, esi
mov byte [eax + ebx], 0
jmp 0x412894
mov ecx, 0x421094
mov byte [ebp - 0x94], 0
push dword [ebp - 0x94]
push ebx
call fcn.0040ce80
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x4128c3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4128b9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41291b
push ecx
push edi
call fcn.00418fbe
add esp, 8
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x4128f5
mov ecx, dword [ebp - 0x4c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4128eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41291b
push edx
push ecx
call fcn.00418fbe
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x41292b
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412921
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412921
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00418fbe
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418d65
mov esp, ebp
pop ebp
ret