Function at 0x420d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x48f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
mov edx, 0x80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00420580
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x420e20
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x420f71
mov edx, dword [ebp - 0x14]
mov eax, ecx
cmp edx, 0x1000
jb 0x420dff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f85
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov esi, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x420e60
mov ecx, dword [esi + 0xc]
cmp ecx, 0x1000
jb 0x420e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f85
mov eax, edx
push ecx
push eax
call fcn.0043fc69
add esp, 8
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
push 0x10
mov ecx, esi
call fcn.0041ddf0
test al, al
jne 0x420ebf
mov ecx, dword [ebp - 0x1c]
mov esi, 0x7a
mov dword [ebp - 0x20], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x420e0c
mov edx, dword [ebp - 0x14]
mov eax, ecx
cmp edx, 0x1000
jb 0x420ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f85
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov ebx, dword [esi + 4]
test edx, edx
je 0x420f22
test ebx, ebx
je 0x420f22
xorps xmm0, xmm0
mov esi, 0x13367
movlpd qword [ebp - 0x28], xmm0
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov eax, esi
sar eax, 8
xor al, byte [ecx + edx]
mov byte [ecx + ebx], al
movzx eax, al
add eax, esi
imul esi, eax, 0xce6d
add esi, 0x58bf
add ecx, 1
adc edi, 0
js 0x420ee0
jg 0x420f0b
cmp ecx, 0x10
jb 0x420ee0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x420e09
jmp 0x420dde
mov dword [ebp - 0x20], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
mov esi, 0x54f
test edx, edx
je 0x420e0c
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x1000
jb 0x420f53
mov edi, dword [edx - 4]
add ecx, 0x23
sub edx, edi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x420f85
mov edx, edi
push ecx
push edx
call fcn.0043fc69
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044316c
int3