Function at 0x434700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x481340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x458], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x468], eax
cmp dword [esi + 0xa4], 1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x46c], eax
jne 0x434a48
mov edi, dword [esi + 4]
mov dword [ebp - 0x454], edi
lea eax, [edi - 0x10]
cmp eax, 0x3f0
ja 0x434a48
push dword [esi + 0xa8]
call fcn.00435df0
add esp, 4
movzx ebx, al
test al, al
je 0x434a48
lea eax, [ebx + ebx]
mov dword [ebp - 0x45c], eax
add eax, 2
cmp eax, edi
ja 0x434a48
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x450]
push dword [ebp - 0x460]
push dword [ebp - 0x458]
push esi
call fcn.00433fa0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x434a16
mov eax, dword [ebp - 0x44c]
lea esi, [ebp - 0x443]
mov ecx, dword [ebp - 0x454]
add esi, ebx
sub ecx, ebx
dec ecx
push dword [eax + 0xa8]
lea eax, [ebp - 0x443]
mov dword [ebp - 0x458], ecx
push ecx
push esi
push ebx
push eax
call fcn.004352b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x434a16
mov eax, dword [ebp - 0x44c]
push dword [eax + 0xa8]
lea eax, [ebp - 0x443]
push ebx
push eax
push dword [ebp - 0x458]
push esi
call fcn.004352b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x434a16
mov eax, dword [ebp - 0x44c]
push dword [eax + 0xa8]
call fcn.0042eb20
add esp, 4
test eax, eax
jne 0x434860
mov edi, 0xffffbf80
jmp 0x434a16
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp + 0x18]
push dword [ebp - 0x464]
push eax
call fcn.0042f050
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x434a16
mov dl, byte [ebp - 0x444]
xor ecx, ecx
mov byte [ebp - 0x445], dl
test ebx, ebx
je 0x434934
cmp ebx, 0x20
jb 0x434920
mov eax, ebx
xorps xmm3, xmm3
and eax, 0xffffffe0
xorps xmm2, xmm2
nop word [eax + eax]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + 0x10]
add esi, 0x20
por xmm3, xmm1
movups xmm1, xmmword [ebp + ecx - 0x34]
add ecx, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp ecx, eax
jb 0x4348b0
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov byte [ebp - 0x445], dl
cmp ecx, ebx
jae 0x434934
nop
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor al, byte [esi]
inc esi
or dl, al
cmp ecx, ebx
jb 0x434920
mov byte [ebp - 0x445], dl
mov eax, dword [ebp - 0x454]
xor ebx, ebx
sub eax, dword [ebp - 0x45c]
xor edi, edi
add eax, 0xfffffffe
mov dword [ebp - 0x450], ebx
xor cl, cl
mov dword [ebp - 0x44c], eax
xor edx, edx
cmp eax, 2
jb 0x4349a1
nop dword [eax]
or cl, byte [edx + esi]
mov al, cl
neg al
or al, cl
or cl, byte [edx + esi + 1]
not al
add edx, 2
movzx eax, al
shr eax, 7
add edi, eax
mov al, cl
neg al
mov dword [ebp - 0x45c], edi
or al, cl
not al
movzx eax, al
shr eax, 7
add ebx, eax
mov eax, dword [ebp - 0x44c]
dec eax
cmp edx, eax
jb 0x434960
mov eax, dword [ebp - 0x44c]
cmp edx, eax
jae 0x4349bc
or cl, byte [edx + esi]
mov al, cl
neg al
or al, cl
not al
movzx eax, al
shr eax, 7
mov dword [ebp - 0x450], eax
mov cl, byte [ebp - 0x445]
lea eax, [ebx + edi]
add eax, dword [ebp - 0x450]
add esi, eax
mov al, byte [esi]
inc esi
xor al, 1
or cl, al
je 0x4349dd
mov edi, 0xffffbf00
jmp 0x434a16
mov eax, dword [ebp - 0x454]
sub eax, esi
lea eax, [ebp + eax - 0x444]
cmp eax, dword [ebp + 0x28]
jbe 0x4349f8
mov edi, 0xffffbc00
jmp 0x434a16
mov ecx, dword [ebp - 0x468]
mov dword [ecx], eax
test eax, eax
je 0x434a14
push eax
push esi
push dword [ebp - 0x46c]
call fcn.00454d60
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x444]
push 0x400
push eax
call fcn.0042f390
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0042f390
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffbf80
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00446e61
mov esp, ebp
pop ebp
ret