Function at 0x5304e0
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x1c], 0x9e3779b9
mov dword [ebp - 0xc], 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 - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], 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 - 0x20], eax
cmp dword [ebp + 0x14], 0
jle 0x530616
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x20]
jae 0x530611
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x20
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
test edx, edx
jbe 0x5305d8
mov ecx, dword [ebp - 0x30]
sub ecx, 0x61c88647
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
shl edx, 4
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x30]
xor edx, eax
mov ecx, dword [ebp - 0x34]
shr ecx, 5
add ecx, dword [ebp - 0x10]
xor edx, ecx
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x24]
shl edx, 4
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
xor edx, eax
mov ecx, dword [ebp - 0x24]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
jmp 0x530576
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
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 - 0x34]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x14], 1
jle 0x53060c
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x53053f
jmp 0x5306df
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x20]
jae 0x5306df
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0xc6ef3720
mov dword [ebp - 0x40], 0x20
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x40], ecx
test eax, eax
jbe 0x5306a6
mov edx, dword [ebp - 0x3c]
shl edx, 4
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x44]
xor edx, eax
mov ecx, dword [ebp - 0x3c]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
shl ecx, 4
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
xor ecx, edx
mov eax, dword [ebp - 0x48]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
mov edx, dword [ebp - 0x3c]
sub edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x44]
add eax, 0x61c88647
mov dword [ebp - 0x44], eax
jmp 0x530641
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jge 0x5306da
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], edx
jmp 0x530616
mov esp, ebp
pop ebp
ret