Function at 0x10032d90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.10016d60
mov eax, dword [esp + 0x20]
push ebx
push ebp
xor edx, edx
xor ecx, ecx
push esi
test eax, eax
push edi
je 0x1003306a
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov cl, byte [ebx]
mov ah, byte [ebx + 1]
inc ebx
or ecx, eax
inc ebx
xor eax, eax
mov dl, byte [ebx]
mov al, byte [ebx + 1]
shl edx, 0x10
or ecx, edx
inc ebx
shl eax, 0x18
or ecx, eax
inc ebx
xor eax, eax
xor edx, edx
mov al, byte [ebx]
mov dh, byte [ebx + 1]
inc ebx
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
shl edx, 0x10
or eax, edx
inc ebx
xor edx, edx
mov dl, byte [ebx]
sub ebx, 7
shl edx, 0x18
or eax, edx
mov edx, dword [esp + 0x24]
add edx, 0xfffffff8
mov dword [esp + 0x2c], eax
test edx, edx
jl 0x10032edd
lea eax, [edx + 8]
shr eax, 3
mov dword [esp + 0x30], eax
neg eax
lea eax, [edx + eax*8]
mov dword [esp + 0x24], eax
xor eax, eax
xor edx, edx
mov al, byte [edi]
mov dh, byte [edi + 1]
inc edi
or eax, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x10
or eax, edx
inc edi
xor edx, edx
mov dl, byte [edi]
shl edx, 0x18
or eax, edx
inc edi
xor edx, edx
xor eax, ecx
mov dl, byte [edi]
inc edi
mov ebp, edx
xor edx, edx
mov dh, byte [edi]
mov dword [esp + 0x10], eax
or ebp, edx
inc edi
xor edx, edx
mov eax, dword [esp + 0x28]
mov dl, byte [edi]
lea ecx, [esp + 0x10]
shl edx, 0x10
or ebp, edx
inc edi
xor edx, edx
push eax
mov dl, byte [edi]
push ecx
shl edx, 0x18
or ebp, edx
mov edx, dword [esp + 0x34]
xor ebp, edx
inc edi
mov dword [esp + 0x1c], ebp
call fcn.10033310
mov eax, dword [esp + 0x18]
add esp, 8
mov byte [esi], al
mov edx, eax
inc esi
mov ecx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x14]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x2c], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x30]
inc esi
dec eax
mov dword [esp + 0x30], eax
jne 0x10032e21
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp edx, 0xfffffff8
je 0x10033031
lea edi, [edi + edx + 8]
add edx, 7
mov dword [esp + 0x1c], edi
xor edi, edi
xor ebp, ebp
cmp edx, 7
mov dword [esp + 0x20], edi
ja case.default.0x10032f02
jmp dword [edx*4 + 0x100332c4]
mov ebp, dword [esp + 0x1c]
xor edx, edx
dec ebp
mov dl, byte [ebp]
mov edi, edx
xor edx, edx
mov dl, byte [ebp - 1]
shl edi, 0x18
dec ebp
shl edx, 0x10
or edi, edx
dec ebp
xor edx, edx
mov dh, byte [ebp]
or edi, edx
dec ebp
xor edx, edx
mov dl, byte [ebp]
or edi, edx
mov dword [esp + 0x20], edi
jmp 0x10032f8e
mov ebp, dword [esp + 0x1c]
xor edx, edx
dec ebp
mov dl, byte [ebp]
shl edx, 0x10
or edi, edx
dec ebp
xor edx, edx
mov dh, byte [ebp]
or edi, edx
dec ebp
xor edx, edx
mov dl, byte [ebp]
or edi, edx
mov dword [esp + 0x20], edi
jmp 0x10032f8e
mov ebp, dword [esp + 0x1c]
xor edx, edx
dec ebp
mov dh, byte [ebp]
or edi, edx
dec ebp
xor edx, edx
mov dl, byte [ebp]
or edi, edx
mov dword [esp + 0x20], edi
jmp 0x10032f8e
mov ebp, dword [esp + 0x1c]
xor edx, edx
dec ebp
mov dl, byte [ebp]
or edi, edx
mov dword [esp + 0x20], edi
jmp 0x10032f8e
mov ebp, dword [esp + 0x1c]
dec ebp
xor edx, edx
mov dword [esp + 0x1c], ebp
mov dl, byte [ebp]
mov ebp, edx
shl ebp, 0x18
mov edi, dword [esp + 0x1c]
xor edx, edx
dec edi
mov dl, byte [edi]
shl edx, 0x10
or ebp, edx
dec edi
xor edx, edx
mov dh, byte [edi]
or ebp, edx
jmp 0x10032fc5
mov edi, dword [esp + 0x1c]
xor edx, edx
dec edi
mov dh, byte [edi]
or ebp, edx
jmp 0x10032fc5
mov edi, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [edi - 1]
mov edi, dword [esp + 0x20]
or ebp, edx
xor edi, eax
mov eax, dword [esp + 0x28]
xor ebp, ecx
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
call fcn.10033310
mov eax, dword [esp + 0x18]
add esp, 8
mov byte [esi], al
mov edx, eax
inc esi
mov ecx, eax
shr edx, 8
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x14]
inc esi
mov edx, eax
shr edx, 8
mov byte [esi], al
inc esi
mov dword [esp + 0x2c], eax
mov byte [esi], dl
mov edx, eax
inc esi
shr edx, 0x10
shr eax, 0x18
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, dword [esp + 0x2c]
mov byte [ebx], cl
mov edx, ecx
inc ebx
pop edi
shr edx, 8
mov byte [ebx], dl
mov edx, ecx
inc ebx
pop esi
shr edx, 0x10
mov byte [ebx], dl
inc ebx
shr ecx, 0x18
mov byte [ebx], cl
inc ebx
mov ecx, eax
mov edx, eax
mov byte [ebx], al
inc ebx
shr ecx, 8
mov byte [ebx], cl
inc ebx
shr edx, 0x10
shr eax, 0x18
mov byte [ebx], dl
mov byte [ebx + 1], al
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
xor eax, eax
mov esi, dword [esp + 0x1c]
mov bl, byte [ebp]
mov ah, byte [ebp + 1]
inc ebp
or ebx, eax
inc ebp
xor eax, eax
mov edi, dword [esp + 0x20]
mov cl, byte [ebp]
mov dl, byte [ebp + 1]
shl ecx, 0x10
or ebx, ecx
inc ebp
shl edx, 0x18
mov al, byte [ebp + 1]
or ebx, edx
inc ebp
xor ecx, ecx
inc ebp
xor edx, edx
mov ch, byte [ebp]
mov dl, byte [ebp + 1]
or eax, ecx
inc ebp
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x24]
inc ebp
xor ecx, ecx
mov cl, byte [ebp]
sub ebp, 7
shl ecx, 0x18
or eax, ecx
lea ecx, [edx - 8]
test ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
jl 0x100331b3
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x30], eax
neg eax
lea eax, [ecx + eax*8]
mov dword [esp + 0x24], eax
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov ch, byte [esi + 1]
inc esi
or eax, ecx
inc esi
xor edx, edx
xor ecx, ecx
mov dl, byte [esi]
mov cl, byte [esi + 1]
shl edx, 0x10
or eax, edx
inc esi
shl ecx, 0x18
or eax, ecx
inc esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
xor eax, eax
xor edx, edx
mov al, byte [esi]
mov dh, byte [esi + 1]
inc esi
or eax, edx
inc esi
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi + 1]
shl ecx, 0x10
or eax, ecx
inc esi
shl edx, 0x18
or eax, edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
inc esi
push eax
push ecx
call fcn.10033470
mov ecx, dword [esp + 0x18]
mov eax, ebx
mov ebx, dword [esp + 0x1c]
xor eax, ecx
mov ecx, dword [esp + 0x34]
add esp, 8
xor ecx, ebx
mov byte [edi], al
mov edx, eax
inc edi
shr edx, 8
mov byte [edi], dl
mov edx, eax
inc edi
mov ebx, dword [esp + 0x1c]
shr edx, 0x10
mov byte [edi], dl
inc edi
shr eax, 0x18
mov byte [edi], al
inc edi
mov eax, ecx
mov edx, ecx
mov byte [edi], cl
inc edi
shr eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x20]
inc edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
shr edx, 0x10
mov byte [edi], dl
inc edi
shr ecx, 0x18
mov byte [edi], cl
inc edi
dec eax
mov dword [esp + 0x30], eax
jne 0x100330e6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, 0xfffffff8
je 0x10033284
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov ch, byte [esi + 1]
inc esi
or eax, ecx
inc esi
xor edx, edx
xor ecx, ecx
mov dl, byte [esi]
mov cl, byte [esi + 1]
shl edx, 0x10
or eax, edx
inc esi
shl ecx, 0x18
or eax, ecx
inc esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
xor eax, eax
xor edx, edx
mov al, byte [esi]
mov dh, byte [esi + 1]
inc esi
or eax, edx
inc esi
xor ecx, ecx
mov edx, dword [esp + 0x28]
mov ch, byte [esi + 1]
push edx
mov cl, byte [esi]
shl ecx, 0x10
or eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call fcn.10033470
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
xor ebx, eax
mov eax, dword [esp + 0x34]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 8
xor eax, esi
cmp ecx, 7
ja case.default.0x10033239
jmp dword [ecx*4 + 0x100332e4]
mov ecx, eax
dec edi
shr ecx, 0x18
mov byte [edi], cl
mov edx, eax
dec edi
shr edx, 0x10
mov byte [edi], dl
mov ecx, eax
dec edi
shr ecx, 8
mov byte [edi], cl
dec edi
mov byte [edi], al
mov edx, ebx
dec edi
shr edx, 0x18
mov byte [edi], dl
mov eax, ebx
dec edi
shr eax, 0x10
mov byte [edi], al
mov ecx, ebx
dec edi
shr ecx, 8
mov byte [edi], cl
mov byte [edi - 1], bl
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov eax, edx
mov byte [ebp], bl
mov ecx, ebx
inc ebp
mov edx, ebx
shr ecx, 8
mov byte [ebp], cl
inc ebp
shr edx, 0x10
mov byte [ebp], dl
inc ebp
shr ebx, 0x18
mov byte [ebp], bl
inc ebp
mov ecx, eax
mov edx, eax
mov byte [ebp], al
inc ebp
shr ecx, 8
mov byte [ebp], cl
inc ebp
shr edx, 0x10
shr eax, 0x18
mov byte [ebp], dl
pop edi
mov byte [ebp + 1], al
pop esi
pop ebp
pop ebx
add esp, 8
ret