Function at 0x4386e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473f29
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x490240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c8], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b4], eax
mov eax, dword [edi + 0x4c]
push dword [eax + 0xac]
push dword [eax + 0xa8]
call fcn.00445a90
mov esi, eax
add esp, 8
test esi, esi
je 0x438740
mov eax, dword [esi + 0x68]
jmp 0x438742
xor eax, eax
mov ecx, dword [edi + 0x4c]
mov dword [0x4944d0], eax
mov dword [ebp - 0x184], str.HostHWND
mov eax, dword [ecx + 8]
cdq
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], str.toclipboard
movzx eax, byte [ecx + 0xb0]
mov ecx, dword [ebp + 8]
cdq
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], str.current_select
cmp ecx, esi
jne 0x4387a9
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x158], 0
jmp 0x4387b4
xorps xmm0, xmm0
movlpd qword [ebp - 0x15c], xmm0
mov eax, dword [ecx + 0x68]
mov edx, dword [ecx + 0x48]
mov esi, dword [ecx + 0x4c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 8]
add eax, 0x50
mov dword [ebp - 0x154], str.text_number
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x144], str.process_id
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], str.hook_address
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], str.text_handle
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], str.text_name
jbe 0x438837
mov eax, dword [eax]
cdq
xor ecx, ecx
mov dword [ebp - 0x10c], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x108], edx
push 0x50
push eax
mov dword [ebp - 0xd8], eax
xor edx, edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x104], str.add_sentence
mov dword [ebp - 0xfc], 0x435280
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], str.add_text
mov dword [ebp - 0xec], 0x4352a0
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], str.get_selected_process_id
mov dword [ebp - 0xdc], 0x4352d0
mov dword [ebp - 0xd4], str.void__AddSentence__int64_t_number__const_wchar_t_sentence_
mov dword [ebp - 0xcc], 0x435280
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], str.void__AddText__int64_t_number__const_wchar_t_text_
mov dword [ebp - 0xbc], 0x4352a0
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], str.DWORD__GetSelectedProcessId___
mov dword [ebp - 0xac], 0x4352d0
movlpd qword [ebp - 0x9c], xmm0
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x1b4]
add esp, 0xc
mov eax, dword [eax + 0x10]
lea esi, [eax*2 + 2]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x1b4]
mov edx, ecx
mov dword [ebp - 0x1b0], eax
cmp dword [ecx + 0x14], 7
jbe 0x43893f
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
push edx
inc ecx
push ecx
push eax
call fcn.00469850
add esp, 0xc
lea eax, [edi + 0x20]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.0044e435
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x1a8], esi
call fcn.00438520
inc eax
test eax, eax
jle 0x438dae
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00438520
cmp esi, eax
jne 0x4389be
push 0x11
push str.InternalClipBoard
lea ecx, [ebp - 0x28]
call fcn.00434b70
jmp 0x438b91
mov ecx, dword [edi + 0x48]
sub esp, 0x18
mov edx, esp
xorps xmm0, xmm0
add ecx, 0x18
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 7
mov dword [edx + 0x14], 0xf
mov eax, dword [str.plugins]
mov dword [edx], eax
mov ax, word [0x47b54c]
mov word [edx + 4], ax
movzx eax, byte [0x47b54e]
mov byte [edx + 6], al
mov byte [edx + 7], 0
call fcn.0040d340
push esi
mov ecx, eax
call fcn.00437880
push eax
lea ecx, [ebp - 0x44]
call fcn.00437230
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x1a1], al
cmp ecx, 0xf
jbe 0x438a55
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x438a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
mov al, byte [ebp - 0x1a1]
add esp, 8
test al, al
jne 0x438a9f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], al
cmp ecx, 7
jbe 0x438d97
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438a90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
add esp, 8
jmp 0x438d97
mov ecx, dword [edi + 0x48]
sub esp, 0x18
mov edx, esp
xorps xmm0, xmm0
add ecx, 0x18
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 7
mov dword [edx + 0x14], 0xf
mov eax, dword [str.plugins]
mov dword [edx], eax
mov ax, word [0x47b54c]
mov word [edx + 4], ax
mov al, byte [0x47b54e]
mov byte [edx + 6], al
mov byte [edx + 7], 0
call fcn.0040d340
push esi
mov ecx, eax
call fcn.00437880
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00437230
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0043a940
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x438b45
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x438b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x438b7f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438b75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov esi, 0x811c9dc5
cmova edx, eax
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add eax, eax
je 0x438bcb
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x438bb4
mov edi, dword [ebp - 0x1c8]
push esi
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00417d90
mov eax, dword [ebp - 0x1c0]
test eax, eax
je 0x438bf3
mov ecx, dword [ebp - 0x1b8]
jmp 0x438cf0
cmp dword [edi + 8], 0x5d1745d
je 0x438e6a
lea eax, [edi + 4]
mov dword [ebp - 0x1d0], eax
push 0x2c
mov byte [ebp - 4], 3
mov dword [ebp - 0x1cc], 0
call fcn.004637bf
add esp, 4
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1cc], eax
push ecx
lea ecx, [eax + 8]
call fcn.0040b440
mov ecx, dword [ebp - 0x1ac]
xorps xmm0, xmm0
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], 0
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47cde0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47cde0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x438cca
mov ecx, edi
call fcn.00437f30
mov eax, dword [ebp - 0x1ac]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00417d90
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], eax
jmp 0x438cd0
mov ecx, dword [ebp - 0x1c4]
push dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], 0
push ecx
push esi
mov ecx, edi
call fcn.00419510
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x438d2f
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x438d91
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438d2b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push edx
push ecx
jmp 0x438d89
lea ecx, [ebp - 0x184]
push ecx
push dword [ebp - 0x1b0]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 8
mov dword [ebp - 0x1b0], esi
mov byte [ebp - 4], 0
cmp word [esi], 0
je 0x438e1e
cmp ecx, 7
jbe 0x438d91
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438d87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
add esp, 8
mov esi, dword [ebp - 0x1a8]
inc esi
mov ecx, edi
mov dword [ebp - 0x1a8], esi
call fcn.00438520
inc eax
cmp esi, eax
jl 0x438980
mov esi, dword [ebp - 0x1b0]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438dc0
mov edi, dword [ebp - 0x1b4]
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00434b70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x1bc]
call fcn.0044e48f
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004637fd
mov esp, ebp
pop ebp
ret 8
cmp ecx, 7
jbe 0x438e51
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438e47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438e74
push ecx
push edx
call fcn.004637ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x438db4
push str.unordered_map_set_too_long
call fcn.0044b5ac
call fcn.00465020
int3