Function at 0x434700
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx]
test esi, esi
setne dl
test eax, eax
setne cl
and cl, dl
cmp dword [esp + 0x48], 0
je 0x434760
test cl, cl
je 0x4347a2
mov edx, dword [esp + 0x40]
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx + esi]
xor cl, byte [ebp]
inc ebp
mov byte [edx + esi], cl
inc esi
mov byte [ebx], cl
inc ebx
lea ecx, [eax - 1]
and esi, 0xf
je 0x4347a8
cmp eax, 1
mov eax, ecx
jne 0x434740
jmp 0x4347a8
test cl, cl
je 0x434941
nop dword [eax + eax]
mov edx, dword [esp + 0x40]
movzx ecx, byte [ebp]
inc ebp
movzx edx, byte [edx + esi]
xor dl, cl
mov byte [ebx], dl
mov edx, dword [esp + 0x40]
inc ebx
mov byte [edx + esi], cl
inc esi
lea ecx, [eax - 1]
and esi, 0xf
je 0x434947
cmp eax, 1
mov eax, ecx
jne 0x434770
jmp 0x434947
mov edx, dword [esp + 0x40]
mov ecx, eax
cmp ecx, 0x10
jb 0x43480d
mov edi, ecx
mov dword [esp], ecx
nop word cs:[eax + eax]
nop dword [eax]
push dword [esp + 0x3c]
push edx
push edx
call dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
add esp, 0xc
cmp esi, 0xf
ja 0x4347f5
nop word cs:[eax + eax]
mov eax, dword [ebp + esi]
xor eax, dword [edx + esi]
mov dword [edx + esi], eax
mov dword [ebx + esi], eax
add esi, 4
cmp esi, 0x10
jb 0x4347e0
add edi, 0xfffffff0
add ebx, 0x10
add ebp, 0x10
xor esi, esi
cmp edi, 0xf
ja 0x4347c0
mov ecx, dword [esp]
xor esi, esi
and ecx, 0xf
test ecx, ecx
je 0x434b0f
push dword [esp + 0x3c]
push edx
push edx
mov edi, edx
mov dword [esp + 0xc], ecx
call dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
add esp, 0xc
cmp ecx, 0x20
jae 0x434859
mov eax, ecx
mov edx, edi
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx + esi]
xor cl, byte [ebp + esi]
dec eax
mov byte [edx + esi], cl
mov byte [ebx + esi], cl
lea esi, [esi + 1]
jne 0x434840
jmp 0x434b0f
lea ecx, [ecx + esi]
lea edx, [edi + esi]
lea eax, [edi + ecx]
lea edi, [ebx + esi]
mov dword [esp + 0x14], eax
lea eax, [ebx + ecx]
add ecx, ebp
cmp edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
setb byte [esp + 4]
cmp edi, eax
setb byte [esp + 8]
cmp edx, ecx
lea edx, [ebp + esi]
setb byte [esp + 0x18]
cmp edx, eax
setb al
cmp edi, ecx
setb cl
cmp edx, dword [esp + 0xc]
mov dl, byte [esp + 8]
setb ah
test byte [esp + 4], dl
jne 0x434ac6
and byte [esp + 0x18], al
jne 0x434ac6
mov edx, dword [esp + 0x40]
and cl, ah
jne 0x434ad2
mov eax, dword [esp]
lea edi, [edx + esi + 0x10]
xor edx, edx
mov ecx, eax
and ecx, 0xffffffe0
mov dword [esp + 4], ecx
sub eax, ecx
lea ecx, [ebp + esi + 0x10]
mov dword [esp + 0xc], ecx
lea ecx, [ebx + esi + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
lea esi, [esi + ecx]
nop
mov ecx, dword [esp + 0xc]
movups xmm2, xmmword [edi + edx - 0x10]
movups xmm3, xmmword [edi + edx]
movups xmm0, xmmword [ecx + edx - 0x10]
movups xmm1, xmmword [ecx + edx]
mov ecx, dword [esp + 8]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [edi + edx - 0x10], xmm2
movups xmmword [edi + edx], xmm3
movups xmmword [ecx + edx - 0x10], xmm2
movups xmmword [ecx + edx], xmm3
add edx, 0x20
cmp dword [esp + 4], edx
jne 0x4348f0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x40]
cmp dword [esp], ecx
jne 0x434840
jmp 0x434b0f
mov edx, dword [esp + 0x40]
mov ecx, eax
cmp ecx, 0x10
jb 0x4349af
mov edi, ecx
mov dword [esp], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
push dword [esp + 0x3c]
push edx
push edx
call dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
add esp, 0xc
cmp esi, 0xf
ja 0x434997
nop word cs:[eax + eax]
mov eax, dword [ebp + esi]
mov ecx, dword [edx + esi]
xor ecx, eax
mov dword [ebx + esi], ecx
mov dword [edx + esi], eax
add esi, 4
cmp esi, 0x10
jb 0x434980
add edi, 0xfffffff0
add ebx, 0x10
add ebp, 0x10
xor esi, esi
cmp edi, 0xf
ja 0x434960
mov ecx, dword [esp]
xor esi, esi
and ecx, 0xf
test ecx, ecx
je 0x434b0f
push dword [esp + 0x3c]
push edx
push edx
mov edi, edx
mov dword [esp + 0xc], ecx
call dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
add esp, 0xc
cmp ecx, 0x20
jae 0x4349da
mov eax, ecx
jmp 0x434af0
lea ecx, [ecx + esi]
lea eax, [ebx + esi]
lea edx, [ebx + ecx]
mov dword [esp + 0x14], edx
lea edx, [edi + esi]
mov dword [esp + 0x18], edx
lea edx, [edi + ecx]
add ecx, ebp
cmp eax, edx
mov dword [esp + 0xc], edx
mov edx, eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
setb byte [esp + 4]
cmp edi, eax
setb byte [esp + 8]
cmp edx, ecx
lea edx, [ebp + esi]
setb byte [esp + 0x13]
cmp edx, eax
mov al, byte [esp + 8]
setb byte [esp + 0x14]
cmp edi, ecx
setb cl
cmp edx, dword [esp + 0xc]
setb ah
test byte [esp + 4], al
jne 0x434adf
mov al, byte [esp + 0x14]
and byte [esp + 0x13], al
jne 0x434ae4
and cl, ah
mov ecx, dword [esp + 0x40]
jne 0x434ada
mov eax, dword [esp]
lea edx, [ecx + esi + 0x10]
lea ecx, [ebp + esi + 0x10]
mov dword [esp + 0xc], ecx
lea ecx, [ebx + esi + 0x10]
mov dword [esp + 8], ecx
mov edi, eax
and edi, 0xffffffe0
sub eax, edi
mov dword [esp + 4], edi
lea esi, [esi + edi]
xor edi, edi
nop dword [eax]
mov ecx, dword [esp + 0xc]
movups xmm0, xmmword [edx + edi - 0x10]
movups xmm1, xmmword [edx + edi]
movups xmm2, xmmword [ecx + edi - 0x10]
movups xmm3, xmmword [ecx + edi]
mov ecx, dword [esp + 8]
xorps xmm0, xmm2
xorps xmm1, xmm3
movups xmmword [ecx + edi - 0x10], xmm0
movups xmmword [ecx + edi], xmm1
movups xmmword [edx + edi - 0x10], xmm2
movups xmmword [edx + edi], xmm3
add edi, 0x20
cmp dword [esp + 4], edi
jne 0x434a80
mov ecx, dword [esp + 4]
cmp dword [esp], ecx
jne 0x434af0
jmp 0x434b0f
mov eax, dword [esp]
mov edx, dword [esp + 0x40]
jmp 0x434840
mov eax, dword [esp]
jmp 0x434840
mov eax, dword [esp]
jmp 0x434af0
mov eax, dword [esp]
jmp 0x434af0
mov eax, dword [esp]
nop word [eax + eax]
mov edx, dword [esp + 0x40]
movzx ecx, byte [ebp + esi]
mov edi, dword [esp + 0x40]
movzx edx, byte [edx + esi]
xor dl, cl
dec eax
mov byte [ebx + esi], dl
mov byte [edi + esi], cl
lea esi, [esi + 1]
jne 0x434af0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret