Function at 0x44de2a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
cmp byte [0x4a142e], 0
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
jne 0x44de38
call fcn.004579f0
cmp byte [0x4a1435], 0
je 0x44de62
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push 0x10
push eax
push ecx
push edx
mov ecx, esi
call fcn.0044ef70
pop esi
add esp, 0x2c
ret 0xc
mov esi, dword [esi + 0x110]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [eax + 4]
mov eax, dword [eax]
xor eax, dword [esi]
push ebp
push edi
mov edi, ecx
xor edx, dword [edi]
mov edi, dword [esi + 8]
xor edi, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x40], edi
mov edi, dword [esi + 0xc]
xor edi, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
add esi, 0x20
cmp byte [0x4a142e], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jne 0x44decd
call fcn.004579f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [0x49b850]
mov dword [esp + 0x24], ecx
xor ecx, ecx
xor ebp, ebp
jmp 0x44dee0
and ecx, dword [ebp + 0x4a0c10]
add ebp, dword [esp + 0x24]
cmp ebp, 0x800
jb 0x44dee0
and ecx, dword [0x4a1408]
or dword [esp + 0x40], ecx
or eax, ecx
or edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x20]
movzx ebp, cl
shr ecx, 8
mov dword [esp + 0x1c], ecx
xor ebx, dword [ebp*8 + 0x4a0c14]
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x4a0c11]
xor dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x40]
mov ecx, dword [ecx*8 + 0x4a0c14]
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
shr dword [esp + 0x1c], 8
movzx ebp, byte [esp + 0x1c]
shr ecx, 8
mov dword [esp + 0x40], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x4a0c11]
xor ecx, dword [ebp*8 + 0x4a0c12]
shr dword [esp + 0x40], 8
xor edi, ecx
movzx ecx, dl
xor edi, dword [ecx*8 + 0x4a0c14]
shr edx, 8
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
shr edi, 8
mov ebp, dword [edi*8 + 0x4a0c13]
movzx ecx, dl
xor ebp, dword [ecx*8 + 0x4a0c11]
mov ecx, dword [esp + 0x40]
movzx edi, cl
xor ebp, dword [edi*8 + 0x4a0c12]
mov edi, dword [esp + 0x18]
xor edi, ebp
movzx ebp, al
xor edi, dword [ebp*8 + 0x4a0c14]
shr eax, 8
shr ecx, 8
mov ecx, dword [ecx*8 + 0x4a0c13]
mov dword [esp + 0x18], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x4a0c11]
shr edx, 8
movzx edi, dl
xor ecx, dword [edi*8 + 0x4a0c12]
shr eax, 8
xor ebx, ecx
movzx ecx, al
shr edx, 8
mov edx, dword [edx*8 + 0x4a0c13]
xor edx, dword [ecx*8 + 0x4a0c12]
mov ecx, dword [esp + 0x28]
xor dword [esp + 0x10], edx
shr eax, 8
mov eax, dword [eax*8 + 0x4a0c13]
xor dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
shr eax, 1
sub eax, 1
mov dword [esp + 0x1c], eax
movzx edx, bl
mov eax, dword [edx*8 + 0x4a0c13]
shr ebx, 8
movzx ecx, bl
mov edi, dword [ecx*8 + 0x4a0c12]
xor edi, dword [esi + 4]
movzx ebp, byte [esp + 0x10]
shr ebx, 8
xor eax, dword [esi]
movzx edx, bl
shr ebx, 8
mov ecx, dword [ebx*8 + 0x4a0c14]
xor ecx, dword [ebp*8 + 0x4a0c13]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx*8 + 0x4a0c11]
shr ebx, 8
xor edx, dword [esi + 8]
movzx ebp, bl
xor eax, dword [ebp*8 + 0x4a0c12]
shr ebx, 8
movzx ebp, bl
xor edi, dword [ebp*8 + 0x4a0c11]
movzx ebp, byte [esp + 0x14]
xor ecx, dword [esi + 0xc]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x4a0c14]
xor ebx, dword [ebp*8 + 0x4a0c13]
xor edx, ebx
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebp, bl
xor ecx, dword [ebp*8 + 0x4a0c12]
shr ebx, 8
movzx ebp, bl
xor eax, dword [ebp*8 + 0x4a0c11]
movzx ebp, byte [esp + 0x18]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x4a0c14]
xor ebx, dword [ebp*8 + 0x4a0c13]
xor edi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*8 + 0x4a0c12]
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x4a0c11]
shr ebx, 8
xor eax, dword [ebx*8 + 0x4a0c14]
movzx edi, cl
mov edi, dword [edi*8 + 0x4a0c13]
xor edi, dword [esi + 0x10]
shr ecx, 8
movzx ebx, cl
mov ebx, dword [ebx*8 + 0x4a0c12]
xor ebx, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x14], ebx
mov ebx, ecx
movzx ebp, dl
shr ebx, 8
mov ebx, dword [ebx*8 + 0x4a0c14]
xor ebx, dword [ebp*8 + 0x4a0c13]
shr edx, 8
xor ebx, dword [esi + 0x1c]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x4a0c12]
shr edx, 8
mov dword [esp + 0x18], edi
mov edi, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
shr edi, 8
mov edi, dword [edi*8 + 0x4a0c14]
movzx ebp, dl
xor edi, dword [ebp*8 + 0x4a0c13]
movzx ecx, cl
xor edi, dword [ecx*8 + 0x4a0c11]
xor edi, dword [esi + 0x18]
mov ecx, edi
shr edx, 8
movzx edi, dl
xor ebx, dword [edi*8 + 0x4a0c12]
shr edx, 8
movzx ebp, al
mov edi, edx
shr edi, 8
mov edi, dword [edi*8 + 0x4a0c14]
xor edi, dword [ebp*8 + 0x4a0c13]
movzx ebp, byte [esp + 0x40]
xor edi, dword [ebp*8 + 0x4a0c11]
shr eax, 8
xor dword [esp + 0x14], edi
movzx edi, al
xor ecx, dword [edi*8 + 0x4a0c12]
shr eax, 8
mov dword [esp + 0x10], ecx
movzx ecx, al
xor ebx, dword [ecx*8 + 0x4a0c11]
shr eax, 8
mov eax, dword [eax*8 + 0x4a0c14]
movzx edx, dl
xor eax, dword [edx*8 + 0x4a0c11]
add esi, 0x20
xor dword [esp + 0x18], eax
sub dword [esp + 0x1c], 1
jne 0x44e012
mov eax, dword [esp + 0x10]
movzx ecx, al
movzx edx, byte [ecx*8 + 0x4a0c11]
shr eax, 8
movzx ecx, al
shr eax, 8
mov byte [esp + 0x3b], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4a0c11]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2e], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x31], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x37], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4a0c11]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3a], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x2d], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
mov byte [esp + 0x33], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4a0c11]
mov byte [esp + 0x36], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, bl
shr ebx, 8
mov byte [esp + 0x2c], al
movzx eax, bl
mov byte [esp + 0x39], dl
movzx edx, byte [ecx*8 + 0x4a0c11]
movzx ecx, byte [eax*8 + 0x4a0c11]
shr ebx, 8
mov byte [esp + 0x2f], dl
movzx edx, bl
movzx eax, byte [edx*8 + 0x4a0c11]
mov byte [esp + 0x32], cl
shr ebx, 8
movzx ecx, byte [ebx*8 + 0x4a0c11]
mov byte [esp + 0x38], cl
mov ecx, dword [esi]
xor ecx, dword [esp + 0x2c]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44e30d
mov edx, dword [eax]
jmp 0x44e30f
xor edx, edx
xor edx, ecx
test eax, eax
mov ecx, dword [esp + 0x48]
mov dword [ecx], edx
lea edx, [ecx + 4]
je 0x44e321
add eax, 4
mov edi, dword [esi + 4]
xor edi, dword [esp + 0x30]
test eax, eax
je 0x44e330
mov ecx, dword [eax]
jmp 0x44e332
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
add edx, 4
test eax, eax
je 0x44e340
add eax, 4
mov edi, dword [esi + 8]
xor edi, dword [esp + 0x34]
test eax, eax
je 0x44e34f
mov ecx, dword [eax]
jmp 0x44e351
xor ecx, ecx
xor ecx, edi
pop edi
mov dword [edx], ecx
add edx, 4
test eax, eax
pop ebp
pop ebx
je 0x44e362
add eax, 4
mov esi, dword [esi + 0xc]
xor esi, dword [esp + 0x2c]
test eax, eax
je 0x44e37a
mov eax, dword [eax]
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc
xor eax, eax
xor eax, esi
mov dword [edx], eax
pop esi
add esp, 0x2c
ret 0xc