Function at 0x44db10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov edi, dword [esi + 4]
mov dword [eax], 0
movzx eax, byte [edi + 0xdc4]
mov ebx, dword [edi + 0x38]
movzx edx, word [eax*2 + 0x4dc690]
movzx eax, byte [edi + 0xdc5]
mov ecx, edx
shr ecx, 8
xor ecx, eax
shl edx, 8
movzx eax, dx
movzx ecx, word [ecx*2 + 0x4dc690]
xor ecx, eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], ecx
mov ecx, esi
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x20], eax
call fcn.0044e060
test eax, eax
je 0x44dce7
mov eax, dword [esi]
cmp dword [eax], 2
je 0x44e04f
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x470]
mov ebp, dword [eax + 0x478]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebx
cmp ebx, dword [eax + 0xdc]
ja 0x44dbb0
cmp ebp, dword [eax + 0xe0]
jbe 0x44dd0b
mov edi, 0x3c
mov eax, dword [esi + 4]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x44dbd8
lea eax, [ecx - 0x10]
push eax
call fcn.00488f53
mov eax, dword [esi + 4]
add esp, 4
mov dword [edi + eax], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + edi + 0xd8c]
test eax, eax
je 0x44dc05
push eax
call fcn.00488f53
mov eax, dword [esi + 4]
add esp, 4
mov dword [edi + eax + 0x20], 0
mov eax, dword [esi + 4]
mov dword [edi + eax + 0xd8c], 0
add edi, 4
cmp edi, 0x5c
jb 0x44dbb5
mov dword [esp + 0x1c], 0
test ebp, ebp
je 0x44dcf9
mov edi, ebx
mov ebx, 0x5c
lea ebp, [edi + 4]
cmp ebp, 4
jb 0x44dcdf
or eax, 0xffffffff
xor edx, edx
div ebp
cmp eax, 4
jb 0x44dcdf
lea eax, [ebp*4]
push eax
call fcn.00489595
add esp, 4
test eax, eax
je 0x44dcdf
lea ecx, [eax + 0x10]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov eax, dword [esi + 4]
mov dword [ebx + eax - 0x20], ecx
mov eax, dword [esi + 4]
lea ecx, [ebx + eax]
add eax, 0xd6c
add eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
cmp edi, 0x3fffffff
ja 0x44dcdf
lea ecx, [edi*4]
mov eax, 1
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.00489595
mov edi, eax
add esp, 4
test edi, edi
je 0x44dcdf
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x44dcb8
push eax
call fcn.00488f53
add esp, 4
mov eax, dword [esp + 0x18]
add ebx, 4
mov dword [eax], edi
mov eax, dword [esp + 0x24]
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jae 0x44dcf1
mov edi, dword [esp + 0x14]
jmp 0x44dc27
mov eax, dword [esi]
mov dword [eax], 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov dword [eax + 0xdc], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0xe0], ebp
mov eax, dword [esi + 4]
xor edi, edi
cmp dword [eax + 0x478], edi
jbe 0x44dd87
nop dword [eax + eax]
mov ecx, dword [eax + 0x480]
mov eax, dword [eax + 0x47c]
sub eax, 1
je 0x44dd54
sub eax, 1
je 0x44dd48
sub eax, 1
jne 0x44dd5a
lea eax, [ecx + 1]
cmp edi, 1
cmovne eax, ecx
mov ecx, eax
jmp 0x44dd5a
lea eax, [ecx + 1]
test edi, edi
cmovne eax, ecx
mov ecx, eax
jmp 0x44dd5a
cmp edi, 1
jne 0x44dd5a
inc ecx
push ecx
push ecx
mov edx, edi
mov ecx, esi
call fcn.0044e780
add esp, 8
test eax, eax
je 0x44dce7
mov eax, dword [esi]
cmp dword [eax], 2
je 0x44e04f
mov eax, dword [esi + 4]
inc edi
cmp edi, dword [eax + 0x478]
jb 0x44dd20
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x14]
and eax, 7
je 0x44dde1
mov edx, 8
mov dword [esp + 0x20], 0
sub edx, eax
je 0x44dde1
push edx
lea edx, [esp + 0x24]
call fcn.00449290
add esp, 4
test eax, eax
je 0x44dce7
cmp dword [esp + 0x20], 0
je 0x44dde1
mov eax, dword [esi + 4]
cmp dword [eax + 0xdf0], 0
jne 0x44ddd9
push dword [eax + 0x30]
mov eax, dword [eax + 0x20]
push 0
push esi
call eax
add esp, 0xc
mov eax, dword [esi]
mov dword [eax], 2
mov eax, dword [esi]
cmp dword [eax], 2
je 0x44e04f
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x38]
mov ecx, edi
call fcn.00449020
mov ebp, dword [edi + 0x14]
test ebp, ebp
je 0x44de4a
mov ecx, dword [edi + 0x10]
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
mov eax, dword [eax + ecx*4]
cmp edx, ebp
jae 0x44de4a
mov ebx, dword [edi + 0x18]
mov esi, eax
mov ecx, 0x18
mov eax, esi
sub ecx, edx
add edx, 8
shr eax, cl
movzx ecx, al
mov eax, ebx
shr eax, 8
xor ecx, eax
movzx ebx, bl
shl ebx, 8
movzx ecx, word [ecx*2 + 0x4dc690]
xor ebx, ecx
cmp edx, ebp
jb 0x44de14
mov esi, dword [esp + 0x28]
mov dword [edi + 0x20], edx
mov dword [edi + 0x18], ebx
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
movzx edi, word [edi + 0x18]
push 0x10
mov ecx, dword [eax + 0x38]
call fcn.00449290
add esp, 4
test eax, eax
je 0x44dce7
mov ecx, dword [esi + 4]
mov eax, ecx
cmp edi, dword [esp + 0x28]
jne 0x44df46
mov edx, dword [ecx + 0x47c]
sub edx, 1
je 0x44df15
sub edx, 1
je 0x44dee3
sub edx, 1
jne 0x44df99
xor ebx, ebx
cmp dword [ecx + 0x470], ebx
jbe 0x44df99
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + ebx*4]
mov edi, edx
mov eax, dword [ecx + 0x3c]
and edi, 1
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
add eax, eax
or edi, eax
lea eax, [edx + edi]
sub edi, edx
sar eax, 1
mov dword [ecx], eax
mov eax, dword [esi + 4]
sar edi, 1
mov eax, dword [eax + 0x40]
mov dword [eax + ebx*4], edi
inc ebx
mov eax, dword [esi + 4]
cmp ebx, dword [eax + 0x470]
jb 0x44dea4
jmp 0x44df99
xor edi, edi
mov eax, ecx
cmp dword [ecx + 0x470], edi
jbe 0x44df99
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x3c]
lea ecx, [eax + edi*4]
mov eax, dword [edx + 0x40]
mov eax, dword [eax + edi*4]
inc edi
add dword [ecx], eax
mov eax, dword [esi + 4]
cmp edi, dword [eax + 0x470]
jb 0x44def3
jmp 0x44df99
xor edi, edi
mov eax, ecx
cmp dword [ecx + 0x470], edi
jbe 0x44df99
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x40]
lea ecx, [eax + edi*4]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edi*4]
inc edi
sub eax, dword [ecx]
mov dword [ecx], eax
mov eax, dword [esi + 4]
cmp edi, dword [eax + 0x470]
jb 0x44df25
jmp 0x44df99
cmp dword [ecx + 0xdf0], 0
jne 0x44df60
push dword [ecx + 0x30]
mov eax, dword [ecx + 0x20]
push 2
push esi
call eax
mov eax, dword [esi + 4]
add esp, 0xc
xor ebx, ebx
cmp dword [eax + 0x478], ebx
jbe 0x44df99
lea edi, [ebx + 0x3c]
nop dword [eax]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x470]
shl eax, 2
push eax
push 0
push dword [ecx + edi]
call fcn.00484500
mov eax, dword [esi + 4]
lea edi, [edi + 4]
inc ebx
add esp, 0xc
cmp ebx, dword [eax + 0x478]
jb 0x44df70
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 1
mov ecx, dword [eax + 0xe8]
test ecx, ecx
je 0x44dfb6
mov dword [eax + 0xe4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x478]
mov ecx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x47c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x480]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x474]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x470]
mov dword [ecx + 0x18], eax
xor ecx, ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x470]
add eax, dword [edx + 0x488]
adc ecx, dword [edx + 0x48c]
mov dword [edx + 0xf0], eax
mov dword [edx + 0xf4], ecx
mov ecx, esi
mov edx, dword [esi + 4]
lea eax, [edx + 0x3c]
add edx, 0x470
push eax
call fcn.0044f4b0
mov ecx, dword [esi]
add esp, 4
test eax, eax
je 0x44e049
mov dword [ecx], 7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov dword [ecx], 2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret