Function at 0x10034ce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.1008ba80
push ebx
push ebp
xor eax, eax
cmp dword [esp + 0x34], eax
push esi
push edi
je 0x10034f82
mov ebx, dword [esp + 0x38]
mov ah, byte [ebx + 1]
movzx ecx, byte [ebx]
add ebx, 1
movzx edx, byte [ebx + 1]
add ebx, 1
or ecx, eax
movzx eax, byte [ebx + 1]
add ebx, 1
shl edx, 0x10
or ecx, edx
shl eax, 0x18
add ebx, 1
xor edx, edx
mov dh, byte [ebx + 1]
or ecx, eax
movzx eax, byte [ebx]
add ebx, 1
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
or eax, edx
movzx edx, byte [ebx + 1]
add ebx, 1
shl edx, 0x10
or eax, edx
movzx edx, byte [ebx + 1]
add ebx, 1
shl edx, 0x18
or eax, edx
mov edx, dword [esp + 0x30]
sub ebx, 7
add edx, 0xfffffff8
mov dword [esp + 0x3c], eax
js 0x10034e4a
lea eax, [edx + 8]
shr eax, 3
mov dword [esp + 0x30], eax
neg eax
lea eax, [edx + eax*8]
mov dword [esp + 0x10], eax
movzx eax, byte [edi]
xor edx, edx
mov dh, byte [edi + 1]
add edi, 1
add edi, 1
add edi, 1
movzx ebp, byte [edi + 1]
or eax, edx
movzx edx, byte [edi - 1]
shl edx, 0x10
or eax, edx
movzx edx, byte [edi]
shl edx, 0x18
or eax, edx
add edi, 1
xor edx, edx
mov dh, byte [edi + 1]
add edi, 1
add edi, 1
add edi, 1
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
or ebp, edx
movzx edx, byte [edi - 1]
shl edx, 0x10
or ebp, edx
movzx edx, byte [edi]
shl edx, 0x18
or ebp, edx
xor ebp, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
add edi, 1
mov dword [esp + 0x28], ebp
call fcn.10034a40
mov eax, dword [esp + 0x24]
mov byte [esi], al
add esi, 1
mov edx, eax
shr edx, 8
mov byte [esi], dl
add esi, 1
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
add esi, 1
mov ecx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x28]
add esi, 1
mov byte [esi], al
add esi, 1
mov edx, eax
shr edx, 8
mov byte [esi], dl
add esi, 1
mov edx, eax
shr edx, 0x10
mov byte [esi], dl
add esi, 1
mov dword [esp + 0x44], eax
shr eax, 0x18
mov byte [esi], al
add esp, 8
add esi, 1
sub dword [esp + 0x30], 1
jne 0x10034d78
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
cmp edx, 0xfffffff8
je 0x10034f3d
lea edi, [edi + edx + 8]
add edx, 7
xor ebp, ebp
cmp edx, 7
mov dword [esp + 0x30], 0
ja case.default.0x10034e69
jmp dword [edx*4 + 0x10035214]
movzx edx, byte [edi - 1]
sub edi, 1
shl edx, 0x18
jmp 0x10034e80
mov edx, dword [esp + 0x30]
movzx ebp, byte [edi - 1]
sub edi, 1
shl ebp, 0x10
or edx, ebp
mov dword [esp + 0x30], edx
sub edi, 1
xor edx, edx
mov dh, byte [edi]
or dword [esp + 0x30], edx
movzx edx, byte [edi - 1]
sub edi, 1
or dword [esp + 0x30], edx
movzx ebp, byte [edi - 1]
sub edi, 1
shl ebp, 0x18
movzx edx, byte [edi - 1]
sub edi, 1
shl edx, 0x10
or ebp, edx
sub edi, 1
xor edx, edx
mov dh, byte [edi]
or ebp, edx
movzx edx, byte [edi - 1]
or ebp, edx
xor ebp, ecx
mov ecx, dword [esp + 0x30]
xor ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebp
call fcn.10034a40
mov eax, dword [esp + 0x24]
mov byte [esi], al
add esi, 1
mov edx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
add esi, 1
shr edx, 0x10
mov byte [esi], dl
mov ecx, eax
add esi, 1
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x28]
mov byte [esi + 1], al
add esi, 1
mov edx, eax
shr edx, 8
add esi, 1
mov byte [esi], dl
mov edx, eax
add esi, 1
mov dword [esp + 0x44], eax
shr edx, 0x10
add esp, 8
shr eax, 0x18
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, dword [esp + 0x3c]
mov byte [ebx], cl
add ebx, 1
mov edx, ecx
shr edx, 8
mov byte [ebx], dl
add ebx, 1
mov edx, ecx
shr edx, 0x10
mov byte [ebx], dl
add ebx, 1
shr ecx, 0x18
mov byte [ebx], cl
add ebx, 1
mov byte [ebx], al
add ebx, 1
mov ecx, eax
shr ecx, 8
mov byte [ebx], cl
pop edi
add ebx, 1
mov edx, eax
shr edx, 0x10
pop esi
mov byte [ebx], dl
shr eax, 0x18
pop ebp
mov byte [ebx + 1], al
pop ebx
add esp, 0x14
ret
mov ebp, dword [esp + 0x38]
movzx ebx, byte [ebp]
mov ah, byte [ebp + 1]
add ebp, 1
movzx ecx, byte [ebp + 1]
add ebp, 1
movzx edx, byte [ebp + 1]
add ebp, 1
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
or ebx, eax
movzx eax, byte [ebp + 1]
shl ecx, 0x10
add ebp, 1
or ebx, ecx
xor ecx, ecx
mov ch, byte [ebp + 1]
add ebp, 1
shl edx, 0x18
add ebp, 1
or ebx, edx
movzx edx, byte [ebp]
or eax, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
shl edx, 0x10
shl ecx, 0x18
or eax, edx
or eax, ecx
mov ecx, dword [esp + 0x30]
sub ebp, 7
add ecx, 0xfffffff8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
js 0x100350e3
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x18], eax
neg eax
lea edx, [ecx + eax*8]
mov dword [esp + 0x10], edx
movzx eax, byte [esi]
add esi, 1
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi]
add esi, 1
add esi, 1
shl edx, 0x10
add esi, 1
add esi, 1
add esi, 1
or eax, ecx
movzx ecx, byte [esi - 3]
or eax, edx
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
movzx eax, byte [esi - 2]
xor edx, edx
mov dh, byte [esi - 1]
add esi, 1
shl ecx, 0x10
add esi, 1
or eax, edx
movzx edx, byte [esi - 1]
or eax, ecx
shl edx, 0x18
or eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10034b80
mov ecx, dword [esp + 0x44]
xor ecx, dword [esp + 0x28]
mov eax, ebx
xor eax, dword [esp + 0x24]
add edi, 1
mov byte [edi - 1], al
mov ebx, dword [esp + 0x1c]
mov edx, eax
shr edx, 8
mov byte [edi], dl
add edi, 1
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
add edi, 1
shr eax, 0x18
mov byte [edi], al
add edi, 1
mov byte [edi], cl
add edi, 1
mov eax, ecx
shr eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x38]
add edi, 1
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
add edi, 1
shr ecx, 0x18
mov byte [edi], cl
add esp, 8
add edi, 1
sub dword [esp + 0x18], 1
mov dword [esp + 0x3c], eax
jne 0x10035006
mov ecx, dword [esp + 0x10]
cmp ecx, 0xfffffff8
je 0x100351c7
movzx eax, byte [esi]
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
movzx edx, byte [esi + 1]
add esi, 1
add esi, 1
or eax, ecx
movzx ecx, byte [esi]
shl edx, 0x10
or eax, edx
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 1]
add esi, 1
xor edx, edx
mov dh, byte [esi + 1]
add esi, 1
xor ecx, ecx
mov ch, byte [esi + 2]
add esi, 1
or eax, edx
mov edx, dword [esp + 0x34]
push edx
mov cl, byte [esi]
shl ecx, 0x10
or eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.10034b80
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
xor ebx, dword [esp + 0x24]
xor eax, dword [esp + 0x28]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 8
cmp ecx, 7
ja case.default.0x1003516e
jmp dword [ecx*4 + 0x10035234]
sub edi, 1
mov ecx, eax
shr ecx, 0x18
mov byte [edi], cl
sub edi, 1
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
sub edi, 1
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
sub edi, 1
mov byte [edi], al
sub edi, 1
mov edx, ebx
shr edx, 0x18
mov byte [edi], dl
sub edi, 1
mov eax, ebx
shr eax, 0x10
mov byte [edi], al
sub edi, 1
mov ecx, ebx
shr ecx, 8
mov byte [edi], cl
mov byte [edi - 1], bl
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov eax, edx
mov byte [ebp], bl
add ebp, 1
mov ecx, ebx
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov edx, ebx
shr edx, 0x10
mov byte [ebp], dl
add ebp, 1
shr ebx, 0x18
mov byte [ebp], bl
add ebp, 1
mov byte [ebp], al
add ebp, 1
mov ecx, eax
shr ecx, 8
mov byte [ebp], cl
add ebp, 1
mov edx, eax
pop edi
shr edx, 0x10
mov byte [ebp], dl
shr eax, 0x18
pop esi
mov byte [ebp + 1], al
pop ebp
pop ebx
add esp, 0x14
ret