Function at 0x44bce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0xc
test eax, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
je 0x44bf1b
mov eax, dword [esp + 0x30]
xor edx, edx
xor ecx, ecx
mov dl, byte [eax]
lea ebp, [eax + 1]
xor eax, eax
mov dword [esp + 0x34], ebp
mov ah, byte [ebp]
mov cl, byte [ebp + 1]
or edx, eax
inc ebp
shl ecx, 0x10
or edx, ecx
inc ebp
xor eax, eax
xor ecx, ecx
mov al, byte [ebp]
mov cl, byte [ebp + 1]
shl eax, 0x18
or edx, eax
inc ebp
inc ebp
xor eax, eax
mov ah, byte [ebp]
or ecx, eax
inc ebp
xor eax, eax
mov ah, byte [ebp + 1]
mov al, byte [ebp]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
lea ebx, [eax - 8]
test ebx, ebx
jl 0x44be1a
lea ebp, [ebx + 8]
shr ebp, 3
mov ecx, ebp
neg ecx
lea eax, [ebx + ecx*8]
mov dword [esp + 0x28], eax
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov ch, byte [esi + 1]
inc esi
or eax, ecx
inc esi
xor ecx, ecx
xor ebx, ebx
push 1
mov cl, byte [esi]
shl ecx, 0x10
or eax, ecx
inc esi
xor ecx, ecx
mov cl, byte [esi]
shl ecx, 0x18
or eax, ecx
inc esi
xor ecx, ecx
xor eax, edx
mov cl, byte [esi]
mov bh, byte [esi + 1]
inc esi
or ecx, ebx
inc esi
xor ebx, ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov bl, byte [esi]
lea eax, [esp + 0x18]
shl ebx, 0x10
or ecx, ebx
inc esi
xor ebx, ebx
mov bl, byte [esi]
shl ebx, 0x18
or ecx, ebx
inc esi
xor ecx, edx
mov edx, dword [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], ecx
call fcn.0044b000
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [edi], al
mov ecx, eax
inc edi
mov edx, eax
shr ecx, 8
mov byte [edi], cl
mov ecx, eax
inc edi
shr ecx, 0x10
mov byte [edi], cl
inc edi
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x18]
inc edi
mov ebx, eax
shr ebx, 8
mov byte [edi], al
inc edi
mov ecx, eax
mov byte [edi], bl
mov ebx, eax
inc edi
mov dword [esp + 0x20], ecx
shr ebx, 0x10
mov byte [edi], bl
inc edi
shr eax, 0x18
mov byte [edi], al
inc edi
dec ebp
jne 0x44bd67
mov ebx, dword [esp + 0x28]
cmp ebx, 0xfffffff8
je 0x44bedb
lea eax, [esi + ebx + 8]
add ebx, 7
xor ebp, ebp
xor esi, esi
cmp ebx, 7
ja case.default.0x44be33
jmp dword [ebx*4 + 0x44c168]
dec eax
xor ebx, ebx
mov bl, byte [eax]
mov ebp, ebx
shl ebp, 0x18
dec eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or ebp, ebx
dec eax
xor ebx, ebx
mov bh, byte [eax]
or ebp, ebx
dec eax
xor ebx, ebx
mov bl, byte [eax]
or ebp, ebx
dec eax
xor ebx, ebx
mov bl, byte [eax]
mov esi, ebx
shl esi, 0x18
dec eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or esi, ebx
dec eax
xor ebx, ebx
mov bh, byte [eax]
or esi, ebx
xor ebx, ebx
mov bl, byte [eax - 1]
or esi, ebx
xor esi, edx
mov edx, dword [esp + 0x2c]
push 1
lea eax, [esp + 0x18]
xor ebp, ecx
push edx
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
call fcn.0044b000
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [edi], al
mov ecx, eax
inc edi
mov edx, eax
shr ecx, 8
mov byte [edi], cl
mov ecx, eax
inc edi
shr ecx, 0x10
mov byte [edi], cl
inc edi
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x18]
inc edi
mov ebx, eax
shr ebx, 8
mov byte [edi], al
inc edi
mov ecx, eax
mov byte [edi], bl
mov ebx, eax
inc edi
shr ebx, 0x10
shr eax, 0x18
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
pop edi
mov byte [eax], dl
mov eax, edx
shr eax, 8
mov byte [esi], al
mov eax, edx
inc esi
shr eax, 0x10
mov byte [esi], al
inc esi
shr edx, 0x18
mov byte [esi], dl
inc esi
mov edx, ecx
mov eax, ecx
mov byte [esi], cl
inc esi
shr edx, 8
mov byte [esi], dl
inc esi
shr eax, 0x10
shr ecx, 0x18
mov byte [esi], al
mov byte [esi + 1], cl
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x30]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov bl, byte [eax]
mov ch, byte [eax + 1]
lea ebp, [eax + 1]
or ebx, ecx
mov dword [esp + 0x34], ebp
inc ebp
xor eax, eax
xor ecx, ecx
mov dl, byte [ebp]
mov al, byte [ebp + 1]
shl edx, 0x10
or ebx, edx
inc ebp
shl eax, 0x18
or ebx, eax
inc ebp
xor eax, eax
xor edx, edx
mov al, byte [ebp]
mov ch, byte [ebp + 1]
inc ebp
or eax, ecx
mov ecx, dword [esp + 0x28]
inc ebp
add ecx, 0xfffffff8
mov dh, byte [ebp + 1]
mov dword [esp + 0x28], ecx
mov dl, byte [ebp]
shl edx, 0x10
or eax, edx
test ecx, ecx
mov dword [esp + 0x20], eax
jl 0x44c058
lea eax, [ecx + 8]
shr eax, 3
mov dword [esp + 0x10], eax
neg eax
lea edx, [ecx + eax*8]
mov dword [esp + 0x28], edx
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov ch, byte [esi + 1]
inc esi
mov ebp, eax
or ebp, ecx
inc esi
xor edx, edx
xor eax, eax
mov dl, byte [esi]
mov al, byte [esi + 1]
shl edx, 0x10
or ebp, edx
inc esi
shl eax, 0x18
or ebp, eax
inc esi
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
push 0
mov dl, byte [esi]
mov cl, byte [esi + 1]
shl edx, 0x10
or eax, edx
inc esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
shl ecx, 0x18
or eax, ecx
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
inc esi
push eax
call fcn.0044b000
mov ecx, dword [esp + 0x20]
mov eax, ebx
mov ebx, dword [esp + 0x24]
xor eax, ecx
mov ecx, dword [esp + 0x2c]
add esp, 0xc
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, ebp
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 + 0x24]
inc edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
shr edx, 0x10
mov byte [edi], dl
inc edi
shr ecx, 0x18
mov byte [edi], cl
inc edi
dec eax
mov dword [esp + 0x10], eax
jne 0x44bf8d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xfffffff8
je 0x44c127
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dh, byte [esi + 1]
inc esi
mov ebp, ecx
or ebp, edx
inc esi
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov cl, byte [esi + 1]
shl eax, 0x10
or ebp, eax
inc esi
shl ecx, 0x18
or ebp, ecx
inc esi
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 + 0x2c]
push 0
mov ch, byte [esi + 1]
push edx
mov cl, byte [esi]
mov dword [esp + 0x1c], ebp
shl ecx, 0x10
or eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0044b000
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
xor ebx, eax
mov eax, dword [esp + 0x2c]
lea edi, [edi + ecx + 8]
add ecx, 7
add esp, 0xc
xor eax, esi
cmp ecx, 7
ja case.default.0x44c0de
jmp dword [ecx*4 + 0x44c188]
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 + 0x24]
mov ebx, ebp
mov dword [esp + 0x20], edx
mov eax, edx
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, ebx
pop edi
shr edx, 8
mov byte [ecx], bl
mov byte [esi], dl
mov ecx, ebx
inc esi
shr ecx, 0x10
mov byte [esi], cl
inc esi
shr ebx, 0x18
mov byte [esi], bl
inc esi
mov edx, eax
mov ecx, eax
mov byte [esi], al
inc esi
shr edx, 8
mov byte [esi], dl
inc esi
shr ecx, 0x10
shr eax, 0x18
mov byte [esi], cl
mov byte [esi + 1], al
pop esi
pop ebp
pop ebx
add esp, 0xc
ret