Function at 0x44047c
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44075e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 2
and eax, 0x3ffffffe
shl eax, 2
add eax, dword [ebp - 0x14]
mov edx, eax
sub edx, dword [ebp - 0x14]
test edx, edx
jns 0x4404d0
add edx, 3
sar edx, 2
mov dword [ebp - 0x18], edx
cmp dword [ebp + 8], 0
jle 0x4405e1
cmp eax, dword [ebp - 0x14]
jle 0x44072a
mov eax, dword [ebp - 0x18]
shl eax, 2
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x41db68]
call fcn.0041cb0c
mov eax, dword [ebp - 0x2c]
call fcn.0041c944
mov edx, eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
call fcn.00440194
mov eax, dword [ebp - 0x24]
call fcn.0041c944
push eax
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x41db38]
call fcn.0041cb00
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [edx + ecx*4 + 4]
mov dword [ebp - 0x20], 0x20
sub dword [ebp - 0x10], 0x61c88647
mov ecx, edx
shr ecx, 5
mov esi, dword [ebx]
add ecx, dword [esi + 4]
mov esi, edx
shl esi, 4
mov edi, dword [ebx]
add esi, dword [edi]
xor ecx, esi
add eax, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
xor eax, ecx
mov ecx, eax
shr ecx, 5
mov esi, dword [ebx]
add ecx, dword [esi + 0xc]
mov esi, eax
shl esi, 4
mov edi, dword [ebx]
add esi, dword [edi + 8]
xor ecx, esi
mov esi, dword [ebp - 0x10]
add esi, eax
xor ecx, esi
add edx, ecx
dec dword [ebp - 0x20]
jne 0x440564
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4 + 4], eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
inc dword [ebp - 0x14]
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jl 0x440545
jmp 0x4406df
cmp eax, dword [ebp - 0x14]
jle 0x44072a
mov eax, dword [ebp - 0x18]
shl eax, 2
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x41db68]
call fcn.0041cb0c
mov eax, dword [ebp - 0x2c]
call fcn.0041c944
mov edx, eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
call fcn.00440194
mov eax, dword [ebp - 0x24]
call fcn.0041c944
push eax
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x41db38]
call fcn.0041cb00
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], 0xc6ef3720
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, dword [edx + ecx*4 + 4]
mov dword [ebp - 0x20], 0x20
mov ecx, eax
shr ecx, 5
mov esi, dword [ebx]
add ecx, dword [esi + 0xc]
mov esi, eax
shl esi, 4
mov edi, dword [ebx]
add esi, dword [edi + 8]
xor ecx, esi
mov esi, dword [ebp - 0x10]
add esi, eax
xor ecx, esi
sub edx, ecx
mov ecx, edx
shr ecx, 5
mov esi, dword [ebx]
add ecx, dword [esi + 4]
mov esi, edx
shl esi, 4
mov edi, dword [ebx]
add esi, dword [edi]
xor ecx, esi
mov esi, dword [ebp - 0x10]
add esi, edx
xor ecx, esi
sub eax, ecx
add dword [ebp - 0x10], 0x61c88647
dec dword [ebp - 0x20]
jne 0x440667
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx*4 + 4], edx
inc dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
inc dword [ebp - 0x14]
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jl 0x440646
mov eax, dword [ebp - 0x28]
call fcn.0041c944
mov edx, eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
call fcn.004345f8
mov eax, dword [ebp - 0x30]
call fcn.0041c944
dec eax
test eax, eax
jl 0x440726
inc eax
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [ebx + ecx], dl
inc dword [ebp - 0x20]
dec eax
jne 0x440709
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440765
lea eax, [ebp - 0x30]
mov edx, dword [0x41db68]
mov ecx, 2
call fcn.0041c3f8
lea eax, [ebp - 0x28]
mov edx, dword [0x41db38]
mov ecx, 2
call fcn.0041c3f8
ret