Function at 0x539950
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x20], 0x9e3779b9
mov dword [ebp - 0x18], 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 8
mov edx, dword [ebp - 8]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 0x10]
and ecx, 0xfffffff8
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
shr eax, 2
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x14]
and eax, 0xff
test eax, eax
je 0x539a88
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jae 0x539a83
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 - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jbe 0x539a5c
mov edx, dword [ebp - 0x24]
sub edx, 0x61c88647
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
shl eax, 4
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
xor eax, ecx
mov edx, dword [ebp - 0x2c]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
xor edx, eax
mov ecx, dword [ebp - 0x28]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x2c], eax
jmp 0x5399f6
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
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 - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x5399cb
jmp 0x539b3f
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jae 0x539b3f
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], 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 0x539b18
mov edx, dword [ebp - 0x38]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
xor edx, eax
mov ecx, dword [ebp - 0x38]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x3c]
sub eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
shl ecx, 4
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x34]
xor ecx, edx
mov eax, dword [ebp - 0x3c]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x38]
sub edx, ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
add eax, 0x61c88647
mov dword [ebp - 0x34], eax
jmp 0x539ab3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
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 - 0x3c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x539a88
mov esp, ebp
pop ebp
ret