Function at 0x44ee70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edx, dword [esp + 0x40]
movzx eax, word [esp + 0x3c]
mov ecx, dword [0x4c2010]
xor ecx, esp
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x44ee9f
mov dword [esp], edx
movzx ecx, word [esp + 0x44]
mov word [esp + 4], cx
jmp 0x44eeb2
lea ecx, [esp + 0x13]
mov dword [esp], ecx
mov byte [esp + 0x13], 0
mov word [esp + 4], 1
mov edi, dword [esp + 0x34]
movsx ebx, ax
xor ecx, ecx
nop
nop
nop
nop
nop
mov eax, ecx
cwd
idiv bx
movsx eax, dx
mov edx, dword [esp + 0x38]
movzx ebp, byte [edx + eax]
shl ebp, 0x18
xor ebp, dword [edi + ecx + 0x1000]
mov dword [edi + ecx + 0x1000], ebp
lea eax, [ecx + 1]
cdq
idiv ebx
mov eax, dword [esp + 0x38]
movzx esi, byte [eax + edx]
shl esi, 0x10
xor esi, ebp
mov dword [edi + ecx + 0x1000], esi
lea eax, [ecx + 2]
cdq
idiv ebx
mov eax, dword [esp + 0x38]
movzx ebp, byte [eax + edx]
shl ebp, 8
xor ebp, esi
mov dword [edi + ecx + 0x1000], ebp
lea eax, [ecx + 3]
cdq
idiv ebx
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + edx]
xor eax, ebp
mov dword [edi + ecx + 0x1000], eax
add ecx, 4
cmp ecx, 0x48
jne 0x44eec0
movsx ebx, word [esp + 4]
xor edx, edx
xor edi, edi
xor esi, esi
xor eax, eax
mov ebp, dword [esp]
mov dword [esp + 4], ebx
mov dword [esp], ebp
nop
nop
nop
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, esi
or ecx, 1
mov eax, esi
cdq
idiv ebx
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, edi
mov edi, esi
or edi, 2
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
xor ebx, ebp
mov ecx, esi
or ecx, 3
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 8
mov edi, esi
or edi, 4
mov eax, ecx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
xor ecx, ebp
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ebx, esi
or ebx, 5
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, dword [esp + 0xc]
mov edi, esi
or edi, 6
mov eax, ebx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx edi, byte [eax + edx]
shl edi, 8
xor edi, ebx
mov ebx, dword [esp + 4]
mov eax, esi
or eax, 7
xor edi, ebp
lea ebp, [esp + 0x14]
cdq
idiv ebx
mov eax, dword [esp]
movzx edx, byte [eax + edx]
xor edx, edi
add esi, 8
mov dword [esp + 0x18], edx
push dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x3c]
call fcn.0044eae0
add esp, 8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [ebp + ecx*4 + 0x1000], edi
mov edx, dword [esp + 0x18]
or eax, 4
mov dword [ebp + eax + 0x1000], edx
lea eax, [ecx + 2]
cmp ecx, 0x10
jb 0x44ef50
xor eax, eax
mov esi, 0x48
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, esi
or ecx, 1
mov eax, esi
cdq
idiv ebx
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, edi
mov edi, esi
or edi, 2
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
xor ebx, ebp
mov ecx, esi
or ecx, 3
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 8
mov edi, esi
or edi, 4
mov eax, ecx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
xor ecx, ebp
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ebx, esi
or ebx, 5
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, dword [esp + 0xc]
mov edi, esi
or edi, 6
mov eax, ebx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx edi, byte [eax + edx]
shl edi, 8
xor edi, ebx
mov ebx, dword [esp + 4]
mov eax, esi
or eax, 7
xor edi, ebp
mov ebp, dword [esp + 0x34]
cdq
idiv ebx
mov eax, dword [esp]
movzx edx, byte [eax + edx]
xor edx, edi
add esi, 8
mov dword [esp + 0x18], edx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0044eae0
add esp, 8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [ebp + ecx*4], edi
mov edx, dword [esp + 0x18]
or eax, 4
mov dword [ebp + eax], edx
lea eax, [ecx + 2]
cmp ecx, 0xfe
jb 0x44f070
xor eax, eax
mov esi, 0x448
nop
nop
nop
nop
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, esi
or ecx, 1
mov eax, esi
cdq
idiv ebx
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, edi
mov edi, esi
or edi, 2
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
xor ebx, ebp
mov ecx, esi
or ecx, 3
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 8
mov edi, esi
or edi, 4
mov eax, ecx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
xor ecx, ebp
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ebx, esi
or ebx, 5
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, dword [esp + 0xc]
mov edi, esi
or edi, 6
mov eax, ebx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx edi, byte [eax + edx]
shl edi, 8
xor edi, ebx
mov ebx, dword [esp + 4]
mov eax, esi
or eax, 7
xor edi, ebp
mov ebp, dword [esp + 0x34]
cdq
idiv ebx
mov eax, dword [esp]
movzx edx, byte [eax + edx]
xor edx, edi
add esi, 8
mov dword [esp + 0x18], edx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0044eae0
add esp, 8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [ebp + ecx*4 + 0x400], edi
mov edx, dword [esp + 0x18]
or eax, 4
mov dword [ebp + eax + 0x400], edx
lea eax, [ecx + 2]
cmp ecx, 0xfe
jb 0x44f180
xor eax, eax
mov esi, 0x848
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, esi
or ecx, 1
mov eax, esi
cdq
idiv ebx
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, edi
mov edi, esi
or edi, 2
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
xor ebx, ebp
mov ecx, esi
or ecx, 3
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 8
mov edi, esi
or edi, 4
mov eax, ecx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
xor ecx, ebp
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ebx, esi
or ebx, 5
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, dword [esp + 0xc]
mov edi, esi
or edi, 6
mov eax, ebx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx edi, byte [eax + edx]
shl edi, 8
xor edi, ebx
mov ebx, dword [esp + 4]
mov eax, esi
or eax, 7
xor edi, ebp
mov ebp, dword [esp + 0x34]
cdq
idiv ebx
mov eax, dword [esp]
movzx edx, byte [eax + edx]
xor edx, edi
add esi, 8
mov dword [esp + 0x18], edx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0044eae0
add esp, 8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [ebp + ecx*4 + 0x800], edi
mov edx, dword [esp + 0x18]
or eax, 4
mov dword [ebp + eax + 0x800], edx
lea eax, [ecx + 2]
cmp ecx, 0xfe
jb 0x44f2a0
xor eax, eax
mov esi, 0xc48
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov ecx, esi
or ecx, 1
mov eax, esi
cdq
idiv ebx
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, edi
mov edi, esi
or edi, 2
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
xor ebx, ebp
mov ecx, esi
or ecx, 3
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 8
mov edi, esi
or edi, 4
mov eax, ecx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
xor ecx, ebp
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ebx, esi
or ebx, 5
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebp, byte [eax + edx]
shl ebp, 0x18
xor ebp, dword [esp + 0xc]
mov edi, esi
or edi, 6
mov eax, ebx
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, edi
cdq
idiv dword [esp + 4]
mov eax, dword [esp]
movzx edi, byte [eax + edx]
shl edi, 8
xor edi, ebx
mov ebx, dword [esp + 4]
mov eax, esi
or eax, 7
xor edi, ebp
mov ebp, dword [esp + 0x34]
cdq
idiv ebx
mov eax, dword [esp]
movzx edx, byte [eax + edx]
xor edx, edi
add esi, 8
mov dword [esp + 0x18], edx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0044eae0
add esp, 8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 8]
lea eax, [ecx*4]
mov dword [ebp + ecx*4 + 0xc00], edi
mov edx, dword [esp + 0x18]
or eax, 4
mov dword [ebp + eax + 0xc00], edx
lea eax, [ecx + 2]
cmp ecx, 0xfe
jb 0x44f3c0
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046ea50
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret