Function at 0x436aa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0047c4f0
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [esp + 0x30], ecx
push esi
push edi
je 0x436d24
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
add ebp, 1
mov ch, byte [ebp + 1]
add ebp, 1
shl eax, 0x10
add ebp, 1
shl edx, 0x18
or edx, eax
movzx eax, byte [ebp]
or edx, ecx
mov ebx, dword [esp + 0x2c]
add ebp, 1
movzx ecx, byte [ebp + 1]
or edx, eax
movzx eax, byte [ebp]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add ebp, 1
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
add ebp, 1
xor ecx, ecx
mov ch, byte [ebp]
add ebp, 1
sub ebp, 7
or eax, ecx
movzx ecx, byte [ebp + 7]
or eax, ecx
add ebx, 0xfffffff8
mov dword [esp + 0x38], eax
js 0x436c12
lea eax, [ebx + 8]
shr eax, 3
mov dword [esp + 0x2c], eax
neg eax
lea eax, [ebx + eax*8]
mov dword [esp + 0x10], eax
lea ebx, [ebx]
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
add edi, 1
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
xor ecx, ecx
mov ch, byte [edi + 1]
add edi, 1
add edi, 1
add edi, 1
movzx ebx, byte [edi + 1]
or eax, ecx
movzx ecx, byte [edi - 1]
or eax, ecx
movzx ecx, byte [edi]
add edi, 1
shl ecx, 0x18
shl ebx, 0x10
or ecx, ebx
add edi, 1
xor ebx, ebx
mov bh, byte [edi]
add edi, 1
xor eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x1c]
or ecx, ebx
movzx ebx, byte [edi]
or ecx, ebx
xor ecx, dword [esp + 0x3c]
push eax
add edi, 1
mov dword [esp + 0x24], ecx
call fcn.00436240
mov edx, dword [esp + 0x20]
add esi, 1
mov ecx, edx
shr ecx, 0x18
mov byte [esi - 1], cl
add esi, 1
mov eax, edx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, dword [esp + 0x24]
add esi, 1
mov ecx, edx
shr ecx, 8
mov byte [esi - 1], cl
mov byte [esi], dl
add esi, 1
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
add esi, 1
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
add esi, 1
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
add esi, 1
mov byte [esi], al
add esp, 8
add esi, 1
sub dword [esp + 0x2c], 1
mov dword [esp + 0x38], eax
jne 0x436b40
mov ebx, dword [esp + 0x10]
cmp ebx, 0xfffffff8
je 0x436cfb
lea edi, [edi + ebx + 8]
add ebx, 7
xor ecx, ecx
cmp ebx, 7
mov dword [esp + 0x2c], 0
ja case.default.0x436c31
jmp dword [ebx*4 + 0x436fcc]
movzx ecx, byte [edi - 1]
sub edi, 1
mov dword [esp + 0x2c], ecx
sub edi, 1
xor ecx, ecx
mov ch, byte [edi]
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
shl ecx, 0x10
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
shl ecx, 0x18
or dword [esp + 0x2c], ecx
movzx ecx, byte [edi - 1]
sub edi, 1
sub edi, 1
xor ebx, ebx
mov bh, byte [edi]
or ecx, ebx
movzx ebx, byte [edi - 1]
sub edi, 1
shl ebx, 0x10
or ecx, ebx
movzx edi, byte [edi - 1]
shl edi, 0x18
or ecx, edi
xor ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call fcn.00436240
mov edx, dword [esp + 0x20]
add esi, 1
mov ecx, edx
shr ecx, 0x18
mov byte [esi - 1], cl
mov eax, edx
shr eax, 0x10
mov byte [esi], al
mov eax, dword [esp + 0x24]
add esi, 1
mov ecx, edx
shr ecx, 8
mov byte [esi], cl
add esi, 1
mov byte [esi], dl
add esi, 1
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
add esi, 1
mov ecx, eax
shr ecx, 0x10
mov byte [esi], cl
add esi, 1
mov ecx, eax
add esp, 8
shr ecx, 8
mov byte [esi], cl
mov byte [esi + 1], al
mov ecx, edx
shr ecx, 0x18
mov byte [ebp], cl
add ebp, 1
mov ecx, edx
shr ecx, 0x10
mov byte [ebp], cl
mov ecx, edx
add ebp, 1
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov byte [ebp], dl
jmp 0x436fa0
movzx ebx, byte [ebp]
movzx eax, byte [ebp + 1]
add ebp, 1
mov ch, byte [ebp + 1]
add ebp, 1
movzx edx, byte [ebp + 1]
add ebp, 1
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
shl eax, 0x10
add ebp, 1
shl ebx, 0x18
or ebx, eax
movzx eax, byte [ebp]
or ebx, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
or ebx, edx
add ebp, 1
xor edx, edx
mov dh, byte [ebp]
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
or eax, edx
or eax, ecx
mov ecx, dword [esp + 0x2c]
sub ebp, 7
add ecx, 0xfffffff8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x10], ecx
js 0x436e94
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x2c], eax
neg eax
lea edx, [ecx + eax*8]
mov dword [esp + 0x10], edx
lea esp, [esp]
movzx ebp, byte [esi]
movzx eax, byte [esi + 1]
add esi, 1
add esi, 1
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi]
add esi, 1
movzx ebx, byte [esi + 1]
add esi, 1
shl eax, 0x10
shl ebp, 0x18
or ebp, eax
movzx eax, byte [esi + 1]
add esi, 1
or ebp, ecx
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
shl ebx, 0x18
shl eax, 0x10
or ebp, edx
movzx edx, byte [esi + 1]
or ebx, eax
mov eax, dword [esp + 0x30]
add esi, 1
or ebx, ecx
push eax
lea ecx, [esp + 0x1c]
or ebx, edx
push ecx
mov dword [esp + 0x20], ebp
add esi, 1
mov dword [esp + 0x24], ebx
call fcn.00436240
mov eax, dword [esp + 0x1c]
xor eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
xor ecx, dword [esp + 0x24]
mov edx, eax
shr edx, 0x18
mov byte [edi], dl
add edi, 1
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
add edi, 1
mov edx, eax
shr edx, 8
mov byte [edi], dl
mov byte [edi + 1], al
add edi, 1
add edi, 1
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
add edi, 1
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
add edi, 1
mov eax, ecx
shr eax, 8
mov byte [edi], al
add edi, 1
mov byte [edi], cl
add esp, 8
add edi, 1
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], ebx
jne 0x436db0
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
cmp ecx, 0xfffffff8
je 0x436f7c
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
add esi, 1
xor edx, edx
mov dh, byte [esi + 1]
add esi, 1
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 1]
or eax, edx
or eax, ecx
add esi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
add esi, 1
movzx edx, byte [esi + 1]
add esi, 1
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
shl eax, 0x18
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x30]
push edx
mov cl, byte [esi + 1]
or eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00436240
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
xor ebx, dword [esp + 0x20]
xor eax, dword [esp + 0x24]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 8
cmp ecx, 7
ja case.default.0x436f23
jmp dword [ecx*4 + 0x436fec]
sub edi, 1
mov byte [edi], al
sub edi, 1
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
sub edi, 1
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
sub edi, 1
shr eax, 0x18
mov byte [edi], al
sub edi, 1
mov byte [edi], bl
sub edi, 1
mov eax, ebx
shr eax, 8
mov byte [edi], al
sub edi, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [edi], cl
shr ebx, 0x18
mov byte [edi - 1], bl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov ebx, edx
mov ecx, ebx
shr ecx, 0x18
mov byte [ebp], cl
add ebp, 1
mov edx, ebx
shr edx, 0x10
mov byte [ebp], dl
mov ecx, ebx
add ebp, 1
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov byte [ebp], bl
add ebp, 1
mov edx, eax
shr edx, 0x18
mov byte [ebp], dl
add ebp, 1
mov ecx, eax
shr ecx, 0x10
mov byte [ebp], cl
add ebp, 1
mov edx, eax
pop edi
shr edx, 8
mov byte [ebp], dl
pop esi
mov byte [ebp + 1], al
pop ebp
pop ebx
add esp, 0x10
ret