Function at 0x430eb0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
test ecx, ecx
je 0x43124c
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x43124c
cmp byte [ebx], 1
je 0x43124c
mov eax, dword [esp + 0x5c]
shl eax, 3
cdq
and edx, 0x7f
lea esi, [edx + eax]
movzx eax, byte [ecx]
sar esi, 7
mov dword [esp + 0x24], esi
sub eax, 1
je 0x431212
sub eax, 1
je 0x43117c
sub eax, 1
jne 0x43124c
mov eax, dword [ecx + 1]
mov edi, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 5]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 9]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xd]
mov dword [esp + 0x38], eax
test esi, esi
jle 0x43123f
mov al, byte [esp + 0x3b]
lea ebp, [ebx + 0x30]
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x3a]
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x39]
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x38]
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x37]
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x36]
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x35]
mov byte [esp + 0x19], al
mov al, byte [esp + 0x34]
mov esi, dword [esp + 0x60]
mov byte [esp + 0x18], al
mov al, byte [esp + 0x33]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x32]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x31]
mov byte [esp + 0x15], al
mov al, byte [esp + 0x30]
mov byte [esp + 0x14], al
mov al, byte [esp + 0x2f]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x2e]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x2d]
mov byte [esp + 0x5c], al
mov al, byte [esp + 0x2c]
mov byte [esp + 0x50], al
nop dword [eax + eax]
xor ebx, ebx
mov dword [esp + 0x20], ebx
movups xmm0, xmmword [esp + 0x2c]
lea eax, [esp + 0x3c]
push ebp
push eax
push eax
movups xmmword [esp + 0x48], xmm0
call fcn.004317f0
mov edx, dword [esp + 0x2c]
and bl, 7
mov al, byte [esp + 0x48]
mov cl, bl
mov ah, byte [esp + 0x68]
and al, 0x80
shr al, cl
add esp, 0xc
mov cl, byte [esp + 0x50]
add cl, cl
shr edx, 3
xor byte [edx + esi], al
mov al, ah
shr al, 7
add ah, ah
or cl, al
mov dl, byte [edx + esi]
mov byte [esp + 0x50], cl
mov byte [esp + 0x2c], cl
mov cl, byte [esp + 0x12]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [esp + 0x5c], ah
mov byte [esp + 0x2d], ah
mov ah, byte [esp + 0x13]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [esp + 0x12], cl
mov byte [esp + 0x2e], cl
mov cl, byte [esp + 0x14]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [esp + 0x13], ah
mov byte [esp + 0x2f], ah
mov ah, byte [esp + 0x15]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [esp + 0x14], cl
mov byte [esp + 0x30], cl
mov cl, byte [esp + 0x16]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [esp + 0x15], ah
mov byte [esp + 0x31], ah
mov ah, byte [esp + 0x17]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [esp + 0x16], cl
mov byte [esp + 0x32], cl
mov cl, byte [esp + 0x18]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [esp + 0x17], ah
mov byte [esp + 0x33], ah
mov ah, byte [esp + 0x19]
mov al, ah
shr al, 7
or cl, al
mov byte [esp + 0x18], cl
mov byte [esp + 0x34], cl
mov cl, byte [esp + 0x1a]
add ah, ah
mov dh, byte [esp + 0x1d]
mov al, cl
shr al, 7
add cl, cl
or ah, al
mov ch, byte [esp + 0x1e]
mov byte [esp + 0x19], ah
mov byte [esp + 0x35], ah
mov ah, byte [esp + 0x1b]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [esp + 0x1a], cl
mov byte [esp + 0x36], cl
mov cl, byte [esp + 0x1c]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov al, dh
shr al, 7
add dh, dh
or cl, al
mov byte [esp + 0x1b], ah
mov al, ch
mov byte [esp + 0x1c], cl
mov byte [esp + 0x38], cl
add ch, ch
shr al, 7
mov cl, 7
mov byte [esp + 0x37], ah
or dh, al
mov ah, byte [esp + 0x1f]
sub cl, bl
mov ebx, dword [esp + 0x20]
mov al, ah
shr dl, cl
add ah, ah
shr al, 7
and dl, 1
or ch, al
mov byte [esp + 0x1d], dh
or ah, dl
mov byte [esp + 0x39], dh
inc ebx
mov byte [esp + 0x1e], ch
mov byte [esp + 0x3a], ch
mov byte [esp + 0x1f], ah
mov byte [esp + 0x3b], ah
mov dword [esp + 0x20], ebx
cmp ebx, 0x80
jl 0x430fc6
dec edi
test edi, edi
jg 0x430fc0
mov esi, dword [esp + 0x24]
shl esi, 7
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edi, dword [ecx + 1]
mov ebx, dword [ecx + 5]
mov ebp, dword [ecx + 9]
mov eax, dword [ecx + 0xd]
mov dword [esp + 0x5c], esi
test esi, esi
jle 0x43123f
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
add edx, 0x30
mov ecx, dword [esp + 0x60]
add esi, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], ecx
nop
xor eax, dword [esi + 4]
xor edi, dword [esi - 8]
xor ebx, dword [esi - 4]
xor ebp, dword [esi]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
call fcn.004317f0
mov eax, dword [esp + 0x68]
lea esi, [esi + 0x10]
mov ecx, dword [esp + 0x5c]
dec eax
mov edx, dword [esp + 0x34]
add ecx, 0x10
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x20]
jg 0x4311b0
mov esi, dword [esp + 0x24]
shl esi, 7
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edi, esi
test esi, esi
jle 0x43123f
mov esi, dword [esp + 0x60]
lea ebp, [ebx + 0x30]
mov ebx, dword [esp + 0x58]
sub ebx, esi
push ebp
lea eax, [ebx + esi]
push esi
push eax
call fcn.004317f0
dec edi
add esp, 0xc
add esi, 0x10
test edi, edi
jg 0x431225
mov esi, dword [esp + 0x24]
shl esi, 7
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x3c
ret