Function at 0x44d960
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 + 0x4dc5f0]
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 + 0x4dc5f0]
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.0044deb0
test eax, eax
je 0x44db37
mov eax, dword [esi]
cmp dword [eax], 2
je 0x44de9f
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 0x44da00
cmp ebp, dword [eax + 0xe0]
jbe 0x44db5b
mov edi, 0x3c
mov eax, dword [esi + 4]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x44da28
lea eax, [ecx - 0x10]
push eax
call fcn.00488d73
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 0x44da55
push eax
call fcn.00488d73
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 0x44da05
mov dword [esp + 0x1c], 0
test ebp, ebp
je 0x44db49
mov edi, ebx
mov ebx, 0x5c
lea ebp, [edi + 4]
cmp ebp, 4
jb 0x44db2f
or eax, 0xffffffff
xor edx, edx
div ebp
cmp eax, 4
jb 0x44db2f
lea eax, [ebp*4]
push eax
call fcn.004893b5
add esp, 4
test eax, eax
je 0x44db2f
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 0x44db2f
lea ecx, [edi*4]
mov eax, 1
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004893b5
mov edi, eax
add esp, 4
test edi, edi
je 0x44db2f
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x44db08
push eax
call fcn.00488d73
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 0x44db41
mov edi, dword [esp + 0x14]
jmp 0x44da77
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 0x44dbd7
nop dword [eax + eax]
mov ecx, dword [eax + 0x480]
mov eax, dword [eax + 0x47c]
sub eax, 1
je 0x44dba4
sub eax, 1
je 0x44db98
sub eax, 1
jne 0x44dbaa
lea eax, [ecx + 1]
cmp edi, 1
cmovne eax, ecx
mov ecx, eax
jmp 0x44dbaa
lea eax, [ecx + 1]
test edi, edi
cmovne eax, ecx
mov ecx, eax
jmp 0x44dbaa
cmp edi, 1
jne 0x44dbaa
inc ecx
push ecx
push ecx
mov edx, edi
mov ecx, esi
call fcn.0044e5d0
add esp, 8
test eax, eax
je 0x44db37
mov eax, dword [esi]
cmp dword [eax], 2
je 0x44de9f
mov eax, dword [esi + 4]
inc edi
cmp edi, dword [eax + 0x478]
jb 0x44db70
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x14]
and eax, 7
je 0x44dc31
mov edx, 8
mov dword [esp + 0x20], 0
sub edx, eax
je 0x44dc31
push edx
lea edx, [esp + 0x24]
call fcn.004490e0
add esp, 4
test eax, eax
je 0x44db37
cmp dword [esp + 0x20], 0
je 0x44dc31
mov eax, dword [esi + 4]
cmp dword [eax + 0xdf0], 0
jne 0x44dc29
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 0x44de9f
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x38]
mov ecx, edi
call fcn.00448e70
mov ebp, dword [edi + 0x14]
test ebp, ebp
je 0x44dc9a
mov ecx, dword [edi + 0x10]
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
mov eax, dword [eax + ecx*4]
cmp edx, ebp
jae 0x44dc9a
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 + 0x4dc5f0]
xor ebx, ecx
cmp edx, ebp
jb 0x44dc64
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.004490e0
add esp, 4
test eax, eax
je 0x44db37
mov ecx, dword [esi + 4]
mov eax, ecx
cmp edi, dword [esp + 0x28]
jne 0x44dd96
mov edx, dword [ecx + 0x47c]
sub edx, 1
je 0x44dd65
sub edx, 1
je 0x44dd33
sub edx, 1
jne 0x44dde9
xor ebx, ebx
cmp dword [ecx + 0x470], ebx
jbe 0x44dde9
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 0x44dcf4
jmp 0x44dde9
xor edi, edi
mov eax, ecx
cmp dword [ecx + 0x470], edi
jbe 0x44dde9
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 0x44dd43
jmp 0x44dde9
xor edi, edi
mov eax, ecx
cmp dword [ecx + 0x470], edi
jbe 0x44dde9
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 0x44dd75
jmp 0x44dde9
cmp dword [ecx + 0xdf0], 0
jne 0x44ddb0
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 0x44dde9
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.00484320
mov eax, dword [esi + 4]
lea edi, [edi + 4]
inc ebx
add esp, 0xc
cmp ebx, dword [eax + 0x478]
jb 0x44ddc0
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 1
mov ecx, dword [eax + 0xe8]
test ecx, ecx
je 0x44de06
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.0044f300
mov ecx, dword [esi]
add esp, 4
test eax, eax
je 0x44de99
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