Function at 0x4029a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.qpie7r4fl3nb54fy879w8s6d508273h4gfd87aytsdb]
mov eax, dword [0x428888]
push ebx
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x38], xmm0
push esi
movups xmm0, xmmword [0x428870]
mov esi, dword [ebp + 0xc]
test esi, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
movups xmmword [ebp - 0x28], xmm0
cmovne eax, esi
mov dword [ebp - 0x48], ecx
movq xmm0, qword [0x428880]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edx
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0xc], eax
test edx, edx
je 0x402d48
push edi
push edx
call fcn.0040aa4a
push dword [ebp - 0x3c]
mov edi, eax
push dword [ebp - 0x48]
push edi
call fcn.00408650
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, 0x19
jle 0x402cfc
mov esi, dword [ebp - 0xc]
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0xc], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402a30
sub ecx, dword [ebp - 0xc]
sub esp, 0xc
push ecx
push esi
mov ecx, edi
call fcn.004027c0
add esp, 0x14
test eax, eax
je 0x402cfc
mov esi, dword [ebp - 0x3c]
lea ecx, [esi - 1]
test ecx, ecx
jle 0x402a6f
nop dword [eax + eax]
mov al, byte [edi + ecx - 1]
xor byte [edi + ecx], al
dec ecx
test ecx, ecx
jg 0x402a60
mov esi, dword [ebp - 0x3c]
xorps xmm3, xmm3
lea eax, [edi + 5]
xorps xmm2, xmm2
mov ecx, 2
nop dword [eax]
movd xmm1, dword [eax - 4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea eax, [eax + 8]
punpcklwd xmm1, xmm0
xorps xmm3, xmm1
movd xmm1, dword [eax - 8]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
sub ecx, 1
jne 0x402a80
xorps xmm2, xmm3
mov eax, 0x66666667
movaps xmm0, xmm2
sub esp, 0xc
psrldq xmm0, 8
xorps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
xorps xmm2, xmm0
movd ecx, xmm2
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esi - 0x11]
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
lea eax, [edi + 1]
add ecx, 6
push ecx
push eax
lea ecx, [edi + 0x11]
call fcn.004027c0
mov eax, dword [ebp - 0x3c]
lea esi, [edi + 0x19]
add esp, 0x14
mov dword [ebp - 0x4c], eax
lea ecx, [eax - 0x19]
mov dword [ebp - 0xc], ecx
mov edx, ecx
test esi, esi
jne 0x402b15
xor eax, eax
jmp 0x402c39
test edx, edx
jne 0x402b29
mov edx, esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x402b20
sub edx, ecx
mov eax, 0xffffffff
cmp edx, 8
jb 0x402c11
mov ebx, edx
shr ebx, 3
nop dword [eax]
movzx ecx, byte [esi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 1]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 2]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 3]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 4]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 5]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 6]
xor eax, 0x55555555
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
movzx ecx, byte [esi + 7]
xor eax, 0x55555555
xor ecx, eax
add esi, 8
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + str.UUUU]
xor eax, 0x55555555
sub ebx, 1
jne 0x402b40
mov ebx, dword [ebp - 0x40]
test edx, edx
je 0x402c34
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + str.UUUU]
xor eax, 0x55555555
sub edx, 1
jne 0x402c15
mov ecx, dword [ebp - 0xc]
not eax
cmp eax, dword [edi + 0x11]
jne 0x402cfc
test ebx, ebx
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
cmovne eax, ebx
mov dword [ebp - 0xc], 0x5d
mov ebx, eax
mov byte [ebp - 8], 1
mov eax, dword [edi + 0x15]
mov ecx, 0xffffffff
mov dword [ebp - 0x3c], eax
add eax, 0x3e9
cmovb eax, ecx
push eax
push dword [ebx]
call fcn.0040a953
add esp, 8
mov dword [ebx], eax
lea ecx, [ebp - 0xc]
lea esi, [edi + 0x19]
push 5
push ecx
lea ecx, [ebp - 0x40]
push ecx
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00405b20
test eax, eax
jne 0x402cad
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [edi + 0x15]
jne 0x402cad
mov eax, dword [ebx]
mov byte [ecx + eax], 0
jmp 0x402cc8
mov eax, dword [ebp - 0x4c]
push eax
push esi
push dword [ebx]
mov dword [ebp - 0x3c], eax
call fcn.00408650
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0x3c]
mov ecx, 0xffffffff
add eax, 1
cmovb eax, ecx
push eax
push dword [ebx]
call fcn.0040a953
mov dword [ebx], eax
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x402d03
push eax
call fcn.0040aa2f
add esp, 4
mov dword [ebp - 0x44], 0
jmp 0x402d03
mov dword [ebp - 0x3c], 0
test edi, edi
je 0x402d10
push edi
call fcn.0040aa2f
add esp, 4
cmp dword [ebp - 0x3c], 0
pop edi
jne 0x402d35
test ebx, ebx
je 0x402d35
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x48]
je 0x402d35
test eax, eax
je 0x402d35
push eax
call fcn.0040aa2f
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebp - 0x3c]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407618
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00407618
mov esp, ebp
pop ebp
ret