Function at 0x438b00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.00481180
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
je 0x438d7a
movzx edx, byte [eax]
xor ecx, ecx
mov ch, byte [eax + 1]
add eax, 1
mov dword [esp + 0x3c], eax
add eax, 1
add eax, 1
xor ebx, ebx
add eax, 1
mov bh, byte [eax + 1]
or edx, ecx
movzx ecx, byte [eax - 2]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax - 1]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax]
add eax, 1
or ecx, ebx
xor ebx, ebx
mov bh, byte [eax + 2]
add eax, 1
mov bl, byte [eax]
shl ebx, 0x10
or ecx, ebx
mov ebx, dword [esp + 0x28]
add ebx, 0xfffffff8
mov dword [esp + 0x20], ecx
js 0x438c6c
lea ebp, [ebx + 8]
shr ebp, 3
mov eax, ebp
neg eax
lea ecx, [ebx + eax*8]
mov dword [esp + 0x28], ecx
nop
movzx eax, byte [esi]
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
add esi, 1
add esi, 1
add esi, 1
xor ebx, ebx
mov bh, byte [esi + 1]
or eax, ecx
movzx ecx, byte [esi - 2]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi - 1]
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi]
add esi, 1
or ecx, ebx
movzx ebx, byte [esi + 1]
add esi, 1
shl ebx, 0x10
or ecx, ebx
movzx ebx, byte [esi + 1]
add esi, 1
xor eax, edx
mov edx, dword [esp + 0x34]
shl ebx, 0x18
or ecx, ebx
xor ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
add esi, 1
call fcn.00438370
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov byte [edi], al
add edi, 1
mov ebx, eax
shr ebx, 8
mov byte [edi], bl
add edi, 1
mov ebx, eax
add edi, 1
mov edx, eax
shr eax, 0x18
shr ebx, 0x10
mov byte [edi - 1], bl
mov byte [edi], al
add edi, 1
mov byte [edi], cl
add edi, 1
mov eax, ecx
shr eax, 8
mov byte [edi], al
add edi, 1
mov eax, ecx
shr eax, 0x10
mov byte [edi], al
add edi, 1
mov dword [esp + 0x30], ecx
shr ecx, 0x18
mov byte [edi], cl
add esp, 0x10
add edi, 1
sub ebp, 1
jne 0x438b90
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
cmp ebx, 0xfffffff8
je 0x438d52
lea eax, [esi + ebx + 8]
add ebx, 7
xor ebp, ebp
xor esi, esi
cmp ebx, 7
ja case.default.0x438c85
jmp dword [ebx*4 + 0x439008]
movzx ebp, byte [eax - 1]
sub eax, 1
shl ebp, 0x18
movzx esi, byte [eax - 1]
sub eax, 1
shl esi, 0x10
or ebp, esi
sub eax, 1
xor ebx, ebx
mov bh, byte [eax]
or ebp, ebx
movzx esi, byte [eax - 1]
sub eax, 1
or ebp, esi
movzx esi, byte [eax - 1]
sub eax, 1
shl esi, 0x18
movzx ebx, byte [eax - 1]
sub eax, 1
shl ebx, 0x10
or esi, ebx
sub eax, 1
xor ebx, ebx
mov bh, byte [eax]
or esi, ebx
movzx eax, byte [eax - 1]
or esi, eax
mov eax, dword [esp + 0x2c]
xor ebp, ecx
mov ecx, dword [esp + 0x34]
push ecx
xor esi, edx
mov edx, dword [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
call fcn.00438370
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov byte [edi], al
mov ebx, eax
add edi, 1
shr ebx, 8
mov byte [edi], bl
mov ebx, eax
add edi, 1
mov edx, eax
shr eax, 0x18
shr ebx, 0x10
mov byte [edi], bl
mov byte [edi + 1], al
add edi, 1
mov byte [edi + 1], cl
add edi, 1
mov eax, ecx
shr eax, 8
add edi, 1
mov byte [edi], al
mov eax, ecx
add edi, 1
mov dword [esp + 0x30], ecx
shr eax, 0x10
add esp, 0x10
shr ecx, 0x18
mov byte [edi], al
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov byte [eax], dl
mov eax, dword [esp + 0x3c]
mov ebx, edx
shr ebx, 8
mov byte [eax], bl
mov ebx, edx
add eax, 1
shr ebx, 0x10
mov byte [eax], bl
add eax, 1
shr edx, 0x18
mov byte [eax], dl
jmp 0x438fde
movzx ebx, byte [eax]
lea ebp, [eax + 1]
movzx ecx, byte [ebp + 1]
xor eax, eax
mov ah, byte [ebp]
mov dword [esp + 0x3c], ebp
add ebp, 1
movzx edx, byte [ebp + 1]
add ebp, 1
or ebx, eax
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [ebp + 1]
add ebp, 1
shl edx, 0x18
xor eax, eax
mov ah, byte [ebp + 1]
or ebx, edx
add ebp, 1
xor edx, edx
mov dh, byte [ebp + 2]
add ebp, 1
or ecx, eax
mov eax, dword [esp + 0x28]
mov dl, byte [ebp]
shl edx, 0x10
or ecx, edx
add eax, 0xfffffff8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
js 0x438ed3
lea ecx, [eax + 8]
shr ecx, 3
mov dword [esp + 0x10], ecx
neg ecx
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], eax
lea esp, [esp]
movzx ebp, byte [esi]
add esi, 1
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi]
add esi, 1
movzx eax, byte [esi + 1]
add esi, 1
shl edx, 0x10
or ebp, ecx
shl eax, 0x18
or ebp, edx
or ebp, eax
movzx eax, byte [esi + 1]
add esi, 1
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
mov edx, dword [esp + 0x34]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
add esi, 1
mov dword [esp + 0x24], ebp
call fcn.00438490
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x28]
mov eax, ebx
xor eax, dword [esp + 0x24]
add edi, 1
mov byte [edi - 1], al
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 + 0x34]
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, 0x10
add edi, 1
sub dword [esp + 0x10], 1
mov ebx, ebp
mov dword [esp + 0x20], eax
jne 0x438df0
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffff8
je 0x438fbb
movzx ebp, byte [esi]
add esi, 1
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi]
add esi, 1
movzx eax, byte [esi + 1]
add esi, 1
shl edx, 0x10
or ebp, ecx
or ebp, edx
shl eax, 0x18
or ebp, eax
movzx eax, byte [esi + 1]
add esi, 1
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
xor edx, edx
mov dh, byte [esi + 2]
add esi, 1
mov dword [esp + 0x14], ebp
or eax, ecx
mov ecx, dword [esp + 0x30]
mov dl, byte [esi]
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00438490
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
xor ebx, dword [esp + 0x24]
xor eax, dword [esp + 0x28]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 0x10
cmp ecx, 7
ja case.default.0x438f64
jmp dword [ecx*4 + 0x439028]
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 + 0x24]
mov ebx, ebp
mov dword [esp + 0x20], edx
mov ecx, edx
mov eax, dword [esp + 0x38]
mov byte [eax], bl
mov eax, dword [esp + 0x3c]
mov edx, ebx
shr edx, 8
mov byte [eax], dl
mov edx, ebx
add eax, 1
shr edx, 0x10
mov byte [eax], dl
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
add eax, 1
mov byte [eax], cl
mov edx, ecx
shr edx, 8
add eax, 1
mov byte [eax], dl
pop edi
mov edx, ecx
add eax, 1
pop esi
shr edx, 0x10
shr ecx, 0x18
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
add esp, 0xc
ret