Function at 0x4c9210
Capabilities:
Encrypt data using tea
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
test esp, 0x54d9
jmp 0x4c9221
jl 0x4c9238
pushf
jmp 0x4c9227
cmp eax, dword [esp]
and esi, 0xffffffff
xchg esp, esp
popf
jp 0x4c9233
js 0x4c9235
jge 0x4c9238
sub eax, 0x8b0c458b
or byte [ecx + 0x1c3bfc4d], cl
and al, 0x74
sbb esp, dword [esi - 0x64]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp ebx, dword [esp]
je 0x4c9260
pushf
nop
xor ecx, 0x1b62
xor ecx, 0x1b62
shr esi, 0
inc esi
dec esi
popf
js 0x4c925d
jne 0x4c9260
add dword [ebx + ecx*4 + 0x7d890478], edi
clc
mov esp, 0x8904788b
jge 0x4c925e
mov edi, dword [eax + 4]
mov dword [ebp - 8], edi
sub edx, 0
dec edx
inc edx
jp 0x4c9283
pushf
jle 0x4c9271
and esi, 0xffffffff
jne 0x4c9276
cmp edi, 0x3269
popf
mov eax, eax
jnp 0x4c9283
add eax, 0xf445c7
add byte [eax], al
add cl, al
invalid
mov dword [ebp - 0xc], 0
rol esi, 0x10
rol esi, 0x10
test esp, 0x4049
add edx, 0
je 0x4c92a5
lea esp, [esp]
xchg edx, ecx
xchg edx, ecx
jne 0x4c92a5
xor eax, 0x85104d8b
leave
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x4c93d9
lea eax, [eax + 0x427]
lea eax, [eax - 0x427]
jge 0x4c92dd
pushf
rol esp, 0
cmp esp, 0x57b5
rol ebx, 0x12
rol ebx, 0xe
test dword [esp], esi
popf
je 0x4c92d6
jnp 0x4c92d8
lea edx, [edx]
jl 0x4c92dd
mov edi, 0x79b9c969
aaa
sahf
imul ecx, ecx, 0x9e3779b9
mov eax, ecx
mov dword [ebp + 0x10], eax
or esp, 0
lea edx, [edx + 0x3390]
lea edx, [edx - 0x3390]
jbe 0x4c930a
jnp 0x4c92fb
lea ecx, [ecx + 0x928]
lea ecx, [ecx - 0x928]
ja 0x4c930a
add eax, 0x840fc085
xchg ebx, eax
add dword [eax], eax
add bl, ch
add ecx, dword [ebx - 0x170a0783]
add byte [eax], al
add byte [eax], al
test eax, eax
je 0x4c94a5
jmp 0x4c9317
mov edi, dword [ebp - 8]
cmc
call 0x4c931d
lea esp, [esp + 4]
and ebx, ebx
jae 0x4c9336
pushf
nop
cmp edi, dword [esp]
mov edx, edx
popf
jb 0x4c9331
mov esp, esp
jb 0x4c9336
call 0x8c40e8c5
jne 0x4c9344
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, edi
mov ecx, edi
shr eax, 5
shl ecx, 4
loope 0x4c934a
xor eax, ecx
mov ecx, edx
and ecx, 3
mov ebx, dword [esi + ecx*4]
mov esi, dword [ebp - 4]
mov ecx, edx
add eax, ebx
xor ecx, edi
add ecx, esi
add eax, ecx
mov dword [ebp - 4], eax
jo 0x4c9362
xchg esp, esp
xchg ecx, ecx
jnp 0x4c9372
jl 0x4c936a
nop
xchg esi, ebx
xchg esi, ebx
jp 0x4c9372
jmp 0x86947df7
sub edx, 0x61c88647
mov dword [ebp - 0xc], edx
xchg ebx, esi
xchg ebx, esi
add ecx, 0x495a
sub ecx, 0x495a
test dword [esp], ecx
push ebx
add ebx, 0x2520
ror ebx, 0x18
pop ebx
jo 0x4c93a4
jl 0x4c939d
lea esp, [esp]
jno 0x4c93a4
xor eax, 0x8bc88bd9
invalid
mov ecx, eax
mov esi, eax
mov ebx, dword [ebp + 8]
shr ecx, 5
shl esi, 4
xor ecx, esi
mov esi, edx
shr esi, 0xb
and esi, 3
add ecx, dword [ebx + esi*4]
mov esi, edx
xor esi, eax
mov eax, dword [ebp + 0x10]
add esi, edi
add esi, ecx
cmp edx, eax
mov dword [ebp - 8], esi
jne 0x4c9314
jmp 0x4c94a5
jb 0x4c93db
xchg edx, edx
jnp 0x4c93e6
jl 0x4c93e1
jmp 0x4c93e3
jp 0x4c93e6
mov eax, 0x8647c969
enter 0xffffffffffff8b61, 0xffffffffffffffc1
imul ecx, ecx, 0x61c88647
mov eax, ecx
cmp ebx, edx
mov ecx, ecx
test esp, 0x5af3
jnp 0x4c9401
mov esi, esi
mov edx, edx
jp 0x4c9401
mov esi, 0x840fc085
pushfd
add byte [eax], al
add byte [ebx - 0x7ef78b], cl
dec edx
add eax, 0xc4830000
add byte [esi], bh
test eax, eax
je 0x4c94a5
mov esi, dword [ebp + 8]
cmp edi, 0x54a
add esp, 0
jle 0x4c9417
jno 0x4c9426
pushf
ror ebx, 0
popf
lea esp, [esp]
jo 0x4c9426
mov eax, 0x8bfc4d8b
ror dword [ebx + 0x5eac1d9], 1
mov ecx, dword [ebp - 4]
mov edx, ecx
mov ebx, ecx
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, eax
shr ebx, 0xb
and ebx, 3
add edx, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edx, ebx
sub edi, edx
test dword [esp], ecx
jge 0x4c944d
jp 0x4c945e
pushf
mov edx, edx
popf
jno 0x4c9457
js 0x4c9459
jno 0x4c945b
jnp 0x4c945e
mov ecx, 0xc8864705
popal
add eax, 0x61c88647
lea edx, [edx + 0x2a80]
lea edx, [edx - 0x2a80]
jno 0x4c9471
je 0x4c947b
jno 0x4c9475
jne 0x4c9477
jne 0x4c947b
call 0x8c24202d
ffreep st(1)
ljmp 0xd333
mov edx, edi
mov ebx, edi
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, eax
and ebx, 3
add edx, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edi
add edx, ebx
sub ecx, edx
test eax, eax
mov dword [ebp - 4], ecx
jne 0x4c940c
mov dword [ebp - 8], edi
nop
xor edi, dword [esp + 4]
xor edi, dword [esp + 4]
lea ecx, [ecx + 0x3d81]
sub ecx, 0x3d81
xor ebx, 0
jp 0x4c94df
pushf
xor edi, 0x3280
xor edi, 0x3280
not edi
not edi
sub esp, 0
jns 0x4c94d6
popf
jo 0x4c94da
jl 0x4c94dc
jnp 0x4c94df
lcall 0xfc4d, 0x8b0c458b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
add ebx, 0x7db5
sub ebx, 0x7db5
je 0x4c9500
pushf
js 0x4c94f9
popf
xchg ecx, ecx
jne 0x4c9500
jmp 0x6044ea8f
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret