Function at 0x44d300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, edi
mov dword [esp + 0x14], edi
sub eax, esi
mov dword [esp + 0x20], esi
and eax, 0xfffffffc
cmp eax, 0x80
jle 0x44d3a4
mov ebx, dword [ebp + 8]
nop dword [eax]
test ebx, ebx
jle 0x44d3fc
push dword [ebp + 0xc]
mov edx, esi
lea ecx, [esp + 0x2c]
push edi
call fcn.0044d920
mov edx, dword [esp + 0x30]
mov eax, ebx
sar eax, 2
add esp, 8
sar ebx, 1
mov ecx, edi
sub ecx, dword [esp + 0x2c]
add ebx, eax
mov eax, edx
and ecx, 0xfffffffc
push dword [ebp + 0xc]
sub eax, esi
and eax, 0xfffffffc
push ebx
cmp eax, ecx
jge 0x44d380
mov ecx, esi
call fcn.0044d300
mov esi, dword [esp + 0x34]
mov dword [esp + 0x28], esi
jmp 0x44d393
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.0044d300
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
mov eax, edi
add esp, 8
sub eax, esi
and eax, 0xfffffffc
cmp eax, 0x80
jg 0x44d330
cmp esi, edi
je 0x44d576
lea ebx, [esi + 4]
mov dword [esp + 0x1c], ebx
cmp ebx, edi
je 0x44d576
nop dword [eax + eax]
mov eax, dword [ebx]
mov ecx, eax
mov edx, dword [esi]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
call fcn.00435c70
test al, al
je 0x44d51d
mov ecx, ebx
mov eax, ebx
sub ecx, esi
push ecx
sub eax, ecx
add eax, 4
push esi
push eax
call fcn.00455760
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi], ecx
jmp 0x44d567
sub edi, esi
mov eax, edi
mov dword [esp + 0x14], edi
sar eax, 2
mov ecx, eax
mov dword [esp + 0x20], eax
sar ecx, 1
test ecx, ecx
jle 0x44d4d0
dec eax
mov edi, eax
mov dword [esp + 0x24], eax
sar edi, 1
mov dword [esp + 0x18], edi
mov eax, dword [esi + ecx*4 - 4]
dec ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov edx, ecx
cmp ecx, edi
jge 0x44d46f
nop dword [eax]
lea edi, [edx + edx]
mov edx, dword [esi + edi*4 + 4]
mov ecx, dword [esi + edi*4 + 8]
call fcn.00435c70
movzx eax, al
lea edx, [edi + 1]
mov edi, dword [esp + 0x18]
xor eax, 1
add edx, eax
mov eax, dword [esi + edx*4]
mov dword [esi + ebx*4], eax
mov ebx, edx
cmp edx, edi
jl 0x44d440
mov ecx, dword [esp + 0x10]
cmp ebx, edi
jne 0x44d486
mov eax, dword [esp + 0x20]
test al, 1
jne 0x44d486
mov eax, dword [esi + eax*4 - 4]
mov dword [esi + ebx*4], eax
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
jge 0x44d4b9
nop word [eax + eax]
mov edx, dword [esp + 0x1c]
lea edi, [ebx - 1]
sar edi, 1
mov ecx, dword [esi + edi*4]
call fcn.00435c70
mov ecx, dword [esp + 0x10]
test al, al
je 0x44d4b5
mov eax, dword [esi + edi*4]
mov dword [esi + ebx*4], eax
mov ebx, edi
cmp ecx, edi
jl 0x44d490
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + ebx*4], eax
test ecx, ecx
jg 0x44d424
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 2
jl 0x44d576
nop dword [eax]
mov eax, dword [esi + edi - 4]
xor edx, edx
mov dword [esp + 0x28], eax
mov ecx, esi
mov eax, dword [esi]
mov dword [esi + edi - 4], eax
lea eax, [esp + 0x28]
push dword [ebp + 0xc]
push eax
lea eax, [edi - 4]
sar eax, 2
push eax
call fcn.0044e390
sub edi, 4
add esp, 0xc
mov eax, edi
and eax, 0xfffffffc
cmp eax, 8
jge 0x44d4e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
lea edi, [ebx - 4]
mov ebx, dword [edi]
mov edx, ebx
call fcn.00435c70
test al, al
je 0x44d555
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], edi
sub edi, 4
mov dword [ecx], ebx
mov ecx, esi
mov ebx, dword [edi]
mov edx, ebx
call fcn.00435c70
test al, al
jne 0x44d535
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
add ebx, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
jne 0x44d3c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret