Function at 0x44d530
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.004d3ef0
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 0x44d78d
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
inc eax
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
mov dword [esp + 0x3c], eax
inc eax
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 1]
mov ebp, dword [esp + 0x28]
inc eax
movzx ebx, byte [eax + 1]
shl ecx, 0x18
inc eax
or edx, ecx
movzx ecx, byte [eax + 1]
inc eax
shl ecx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
inc eax
movzx eax, byte [eax]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or ebx, ecx
add ebp, 0xfffffff8
js 0x44d681
lea eax, [ebp + 8]
shr eax, 3
mov dword [esp + 0x20], eax
neg eax
lea ecx, [ebp + eax*8]
mov dword [esp + 0x28], ecx
lea esp, [esp]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
movzx ebp, byte [esi + 1]
inc esi
shl ebp, 8
or ecx, ebp
movzx ebp, byte [esi + 1]
inc esi
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [esi + 1]
inc esi
xor eax, edx
mov edx, dword [esp + 0x34]
shl ebp, 0x18
or ecx, ebp
push edx
xor ecx, ebx
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
inc esi
call fcn.0044ce10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov byte [edi], al
inc edi
mov ebx, eax
shr ebx, 8
mov byte [edi], bl
inc edi
mov ebx, eax
inc edi
mov edx, eax
shr ebx, 0x10
mov byte [edi - 1], bl
shr eax, 0x18
mov byte [edi], al
inc edi
mov byte [edi], cl
inc edi
mov eax, ecx
shr eax, 8
mov byte [edi], al
inc edi
mov eax, ecx
shr eax, 0x10
mov byte [edi], al
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0x34]
inc edi
shr ecx, 0x18
mov byte [edi], cl
add esp, 0x10
inc edi
sub dword [esp + 0x20], 1
jne 0x44d5c0
mov ebp, dword [esp + 0x28]
cmp ebp, 0xfffffff8
je 0x44d74b
lea esi, [esi + ebp + 8]
add ebp, 7
xor ecx, ecx
xor eax, eax
cmp ebp, 7
ja case.default.0x44d69a
jmp dword [ebp*4 + 0x44d9e4]
movzx ecx, byte [esi - 1]
dec esi
shl ecx, 0x18
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x18
movzx ebp, byte [esi - 1]
dec esi
shl ebp, 0x10
or eax, ebp
movzx ebp, byte [esi - 1]
dec esi
shl ebp, 8
or eax, ebp
movzx esi, byte [esi - 1]
or eax, esi
xor ecx, ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
xor eax, edx
mov edx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044ce10
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov byte [edi], al
inc edi
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
inc edi
mov ecx, eax
shr ecx, 0x10
mov byte [edi], cl
inc edi
mov edx, eax
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
inc edi
mov byte [edi], al
mov ecx, eax
shr ecx, 8
inc edi
mov byte [edi], cl
mov ecx, eax
inc edi
shr ecx, 0x10
add esp, 0x10
shr eax, 0x18
mov byte [edi], cl
mov byte [edi + 1], al
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov byte [eax], dl
mov ecx, edx
shr ecx, 8
mov byte [esi], cl
inc esi
mov eax, edx
inc esi
shr eax, 0x10
mov byte [esi - 1], al
shr edx, 0x18
mov byte [esi], dl
mov byte [esi + 1], bl
inc esi
mov ecx, ebx
inc esi
shr ecx, 8
mov byte [esi], cl
mov edx, ebx
inc esi
shr edx, 0x10
shr ebx, 0x18
pop edi
mov byte [esi], dl
mov byte [esi + 1], bl
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx ebx, byte [eax]
movzx ecx, byte [eax + 1]
inc eax
movzx edx, byte [eax + 1]
mov dword [esp + 0x3c], eax
inc eax
shl ecx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
inc eax
shl edx, 0x10
or ebx, edx
shl ecx, 0x18
inc eax
movzx edx, byte [eax + 1]
or ebx, ecx
movzx ecx, byte [eax]
inc eax
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
inc eax
movzx eax, byte [eax]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x28]
shl edx, 0x10
or ecx, edx
add eax, 0xfffffff8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
js 0x44d8c9
lea ecx, [eax + 8]
shr ecx, 3
mov dword [esp + 0x10], ecx
neg ecx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x28], ecx
lea ebx, [ebx]
movzx ebp, byte [esi]
movzx edx, byte [esi + 1]
inc esi
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
shl edx, 8
or ebp, edx
shl eax, 0x10
inc esi
or ebp, eax
movzx eax, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
inc esi
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or eax, edx
inc esi
movzx edx, byte [esi + 1]
inc esi
shl ecx, 0x10
or eax, ecx
mov ecx, dword [esp + 0x30]
shl edx, 0x18
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
inc esi
mov dword [esp + 0x24], ebp
call fcn.0044cf30
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x28]
mov eax, ebx
xor eax, dword [esp + 0x24]
inc edi
mov byte [edi - 1], al
mov edx, eax
shr edx, 8
mov byte [edi], dl
inc edi
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
inc edi
shr eax, 0x18
mov byte [edi], al
inc edi
mov byte [edi], cl
inc edi
mov eax, ecx
shr eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x34]
inc edi
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
inc edi
shr ecx, 0x18
mov byte [edi], cl
add esp, 0x10
inc edi
sub dword [esp + 0x10], 1
mov ebx, ebp
mov dword [esp + 0x20], eax
jne 0x44d800
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffff8
je 0x44d9a2
movzx ebp, byte [esi]
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
inc esi
movzx eax, byte [esi + 1]
shl ecx, 8
shl edx, 0x10
inc esi
or ebp, ecx
or ebp, edx
shl eax, 0x18
or ebp, eax
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 2]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x34]
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
mov dword [esp + 0x24], ebp
call fcn.0044cf30
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.0x44d959
jmp dword [ecx*4 + 0x44da04]
dec edi
mov ecx, eax
shr ecx, 0x18
mov byte [edi], cl
dec edi
mov edx, eax
shr edx, 0x10
mov byte [edi], dl
dec edi
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
dec edi
mov byte [edi], al
dec edi
mov edx, ebx
shr edx, 0x18
mov byte [edi], dl
dec edi
mov eax, ebx
shr eax, 0x10
mov byte [edi], al
dec edi
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
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ebx, 0x18
mov byte [eax], bl
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
pop edi
mov edx, ecx
inc eax
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