Function at 0x44aa60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
mov dword [ebp - 4], esi
je 0x44aa7e
mov eax, 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x30]
cmp ecx, 2
je 0x44aa98
cmp dword [esi + 0x34], 0
jne 0x44aa98
mov eax, 0xfffffffa
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x44ad50
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x44ad50
cdq
and edx, 0x7f
push edi
lea edi, [edx + eax]
sar edi, 7
mov eax, ecx
sub eax, 0
mov dword [ebp - 8], edi
je 0x44ad1d
dec eax
je 0x44ac70
dec eax
je 0x44aade
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], edi
test edi, edi
jle 0x44ad42
mov edi, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov bl, byte [ebp - 0x17]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], eax
push edx
mov eax, edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.00449a60
mov dl, byte [ebp - 0x18]
mov al, byte [ebp - 0x16]
add dl, dl
mov cl, bl
shr cl, 7
or cl, dl
mov byte [ebp - 0x18], cl
mov cl, al
shr cl, 7
add bl, bl
or cl, bl
mov byte [ebp - 0x17], cl
mov cl, byte [ebp - 0x15]
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [ebp - 0x14]
mov byte [ebp - 0x16], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0x15], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x14], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x13], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x12], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [ebp - 0xf]
mov byte [ebp - 0x11], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0x10], dl
mov dl, al
shr dl, 7
add cl, cl
or dl, cl
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xf], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0xc]
add cl, cl
mov dl, al
shr dl, 7
or dl, cl
mov cl, byte [ebp - 0xb]
mov ebx, dword [ebp + 8]
mov byte [ebp - 0xd], dl
mov dl, cl
shr dl, 7
add al, al
or dl, al
mov al, byte [ebp - 0xa]
add cl, cl
mov byte [ebp - 0xc], dl
mov dl, al
shr dl, 7
or dl, cl
movzx ecx, byte [ebp - 9]
shr cl, 7
add al, al
or cl, al
mov byte [ebp - 0xa], cl
mov eax, esi
mov byte [ebp - 0xb], dl
shr eax, 3
movzx ebx, byte [eax + ebx]
mov edx, esi
and edx, 7
mov cl, 7
sub cl, dl
shr bl, cl
movzx ecx, byte [ebp - 9]
and bl, 1
add cl, cl
or bl, cl
mov byte [ebp - 9], bl
movzx ebx, byte [ebp - 0x28]
and bl, 0x80
mov cl, dl
shr bl, cl
inc esi
xor byte [eax + edi], bl
cmp esi, 0x80
jl 0x44ab06
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x44ab04
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop ebx
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x18], edx
mov edx, dword [esi + 0x44]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp + 0xc], edi
test edi, edi
jle 0x44ad42
mov eax, dword [ebp + 0x10]
lea edi, [ebx + 8]
sub ebx, eax
add ebx, 0xfffffff8
lea esi, [eax + 8]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 4]
add ebx, esi
push ebx
call fcn.00449e30
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x18]
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0xc]
mov dword [esi - 8], eax
mov dword [ebp - 0x28], eax
mov eax, dword [edi - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esi - 4], ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 4]
dec eax
mov dword [esi + 4], edx
add edi, 0x10
add esi, 0x10
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x44aca4
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop ebx
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp + 0xc], edi
test edi, edi
jle 0x44ad42
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov ecx, esi
call fcn.00449e30
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x10], 0x10
dec eax
add ebx, 0x10
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x44ad24
mov eax, edi
pop edi
pop ebx
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc