Function at 0x10786700
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x18], 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
and edx, 0xfffffff8
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 2
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x14], 0
jle 0x1078683a
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jae 0x10786835
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0x20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
sub eax, 1
mov dword [ebp - 0x34], eax
test edx, edx
jbe 0x107867fc
mov ecx, dword [ebp - 0x24]
sub ecx, 0x61c88647
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
shl edx, 4
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
xor edx, eax
mov ecx, dword [ebp - 0x2c]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor edx, ecx
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x24]
xor ecx, edx
mov eax, dword [ebp - 0x28]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov dword [ebp - 0x2c], edx
jmp 0x10786796
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
cmp dword [ebp + 0x14], 1
jle 0x10786830
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
jmp 0x1078675f
jmp 0x10786904
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x1c]
jae 0x10786904
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0xc6ef3720
mov dword [ebp - 0x48], 0x20
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
test ecx, ecx
jbe 0x107868cb
mov eax, dword [ebp - 0x40]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x3c]
xor eax, ecx
mov edx, dword [ebp - 0x40]
shr edx, 5
add edx, dword [ebp - 0x14]
xor eax, edx
mov ecx, dword [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
shl edx, 4
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x3c]
xor edx, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor edx, ecx
mov eax, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x61c88647
mov dword [ebp - 0x3c], ecx
jmp 0x10786865
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x14], 0
jge 0x107868ff
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
jmp 0x1078683a
mov esp, ebp
pop ebp
ret