Function at 0x44dfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x18]
mov eax, ebx
push edi
mov edi, dword [ebp + 8]
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x44e1b5
jb 0x44dffc
cmp eax, 0xffffffe0
ja 0x44e1b5
cmp dword [edi + 0x15c], 0
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
je 0x44e025
lea eax, [edi + 0x50]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0044e750
add esp, 8
mov dword [edi + 0x15c], 0
push esi
mov esi, dword [edi + 0x158]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x44e084
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
nop
test ebx, ebx
je 0x44e064
mov al, byte [esi + edi + 0x10]
dec ebx
xor al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
xor byte [esi + edi + 0x40], al
inc esi
and esi, 0xf
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], esi
jne 0x44e040
jmp 0x44e06c
test esi, esi
jne 0x44e1a3
lea eax, [edi + 0x50]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0044e750
mov eax, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 8]
jmp 0x44e090
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov edx, dword [edi + 0xc]
bswap edx
mov dword [ebp - 0xc], edx
mov edx, ebx
and edx, 0xfffffff0
mov dword [ebp + 0x18], edx
je 0x44e14c
push edi
push dword [ebp + 0xc]
shr edx, 4
push edx
push eax
push ecx
mov dword [ebp - 0x10], edx
call dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0xc], eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x18]
sub ebx, eax
add dword [ebp - 8], eax
mov dword [ebp + 0x18], ebx
test ecx, ecx
je 0x44e14c
mov esi, dword [ebp - 0x10]
lea eax, [edi + 0x50]
mov dword [ebp - 0x18], eax
lea ecx, [edi + 0x41]
mov ebx, dword [ebp - 0x18]
lea eax, [edi + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
dec esi
lea edx, [eax + 1]
mov edi, 4
nop dword [eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub edi, 1
jne 0x44e100
push ebx
push dword [ebp - 0x1c]
call fcn.0044e750
mov eax, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 4], eax
test esi, esi
jne 0x44e0f3
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x44e1a3
push dword [ebp + 0xc]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x160]
push edi
call eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 8]
inc eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
sub edx, eax
lea ecx, [esi + eax]
lea eax, [edi + 0x40]
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0x20], eax
mov edi, ecx
movzx ecx, byte [eax + esi - 0x30]
lea edi, [edi + 1]
movzx eax, byte [edx + edi - 1]
xor ecx, eax
mov eax, dword [ebp - 0x20]
mov byte [edi - 1], cl
xor byte [eax + esi], cl
inc esi
sub ebx, 1
jne 0x44e182
mov edi, dword [ebp + 8]
mov dword [edi + 0x158], esi
mov eax, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret