Function at 0x44a750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x140
mov eax, dword [0x508e4c]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x148]
push esi
push edi
mov dword [esp + 0x148], eax
mov esi, ecx
call fcn.00449cd0
mov al, byte [esp + 0x154]
test al, al
je 0x44a7c3
lea eax, [esp + 0x14]
push eax
call fcn.0044c8a0
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a792
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.0044c8e0
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0044ccb0
add esp, 0x14
mov edi, 0x61
jmp 0x44a819
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a7c8
sub eax, edx
cmp eax, 0x38
jbe 0x44a7dd
xor al, al
jmp 0x44aafa
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0xe4]
rep stosd dword es:[edi], eax
lea edx, [esp + 0xe4]
stosb byte es:[edi], al
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a800
mov edi, ebx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x44a810
sub edi, ecx
push ebp
xor ecx, ecx
lea ebp, [esi + 8]
mov ebx, 3
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1050]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, dword [esp + 0x10]
xor dword [ebp - 8], eax
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1050]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, dword [esp + 0x10]
xor dword [ebp - 4], eax
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov dl, byte [esp + edx + 0xe8]
mov eax, dword [esi + 0x1050]
mov byte [esp + eax + 0x10], dl
inc ecx
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, dword [esp + 0x10]
xor dword [ebp], eax
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1050]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, dword [esp + 0x10]
xor dword [ebp + 4], eax
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1050]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
xor edx, eax
mov eax, ecx
mov dword [ebp + 8], edx
cdq
idiv edi
mov eax, dword [esi + 0x1048]
inc ecx
add ebp, 0x18
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x104c]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1050]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi + 0x1054]
inc ecx
mov dl, byte [esp + edx + 0xe8]
mov byte [esp + eax + 0x10], dl
mov edx, dword [ebp - 0xc]
mov eax, dword [esp + 0x10]
xor edx, eax
dec ebx
mov dword [ebp - 0xc], edx
jne 0x44a824
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00449d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + edi*4], eax
mov dword [esi + edi*4 + 4], ecx
add edi, 2
cmp edi, 0x12
jl 0x44aa94
lea edi, [esi + 0x4c]
mov ebp, 4
mov ebx, 0x80
lea esp, [esp]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00449d30
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi - 4], ecx
mov dword [edi], edx
add edi, 8
dec ebx
jne 0x44aad0
dec ebp
jne 0x44aac4
mov al, 1
pop ebp
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8ea5
add esp, 0x140
ret 8