Function at 0x4aa5dd
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
jg 0x4aa5e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0xa8], esi
jle 0x4ab08b
lea ebx, [ebx]
call 0x4d3af6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4ab10a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x40]
push 0x47bd6c
push ecx
mov byte [esp + 0xcc], 6
mov dword [esp + 0x90], eax
call fcn.004a5a7e
mov eax, dword [ebp + 8]
push 0x47ba68
add eax, 0x2d8
push eax
lea edx, [esp + 0x94]
push edx
call fcn.004a2a4e
add esp, 0x18
mov byte [esp + 0xc0], 7
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
push 0x47b168
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call 0x4cd65e
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aa6b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4ab027
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004bd5de
add esp, 8
mov byte [esp + 0xc0], 0xa
mov edx, dword [esp + 0x28]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4aa6fe
push esi
lea ecx, [esp + 0x2c]
call fcn.004a2d6e
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f225c
add esp, 8
test esi, esi
jl 0x4ab119
mov eax, dword [esp + 0x28]
cmp esi, dword [eax - 8]
jg 0x4ab119
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x28]
mov word [edx + esi*2], 0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4aafff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x23c]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4aa78f
test esi, esi
jl 0x4ab114
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx + 0x23c]
jge 0x4ab114
mov edx, ecx
mov eax, dword [edx + 0x238]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx + 0x1d8]
push edi
push eax
call 0x4f19e9
add esp, 8
test eax, eax
je 0x4aac42
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x4aa74c
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x25c]
push edi
call fcn.004abeee
test eax, eax
jne 0x4aa7e6
lea ebx, [esi + 0x284]
push edi
call fcn.004abf4e
test eax, eax
jne 0x4aa7e6
lea ebx, [esi + 0x270]
push edi
call fcn.004abfae
test eax, eax
jne 0x4aa7e6
lea ebx, [esi + 0x248]
push edi
call fcn.004ac00e
test eax, eax
jne 0x4aa7e6
lea ebx, [esi + 0x2ac]
push edi
call fcn.004ac06e
test eax, eax
je 0x4aafff
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x4aafff
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004bd5de
add esp, 8
mov byte [esp + 0xc0], 0xb
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4aa835
push esi
lea ecx, [esp + 0x20]
call fcn.004a2d6e
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
push eax
push edx
call 0x4f225c
add esp, 8
test esi, esi
jl 0x4ab119
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4ab119
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov word [ecx + esi*2], 0
call fcn.004bd5de
add esp, 8
mov byte [esp + 0xc0], 0xc
mov edx, dword [esp + 0x20]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4aa8a4
push esi
lea ecx, [esp + 0x24]
call fcn.004a2d6e
mov edx, dword [esp + 0x20]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f225c
add esp, 0x64
das
in al, 0x51
pushal
les esi, [ecx + ebx + 0x73c900d6]
push esp
pop ss
invalid
jp 0x4aacc2
mov ch, 0xff
pop esp
mov byte [eax], dh
mov word [esi + esi*8], ss
int3
invalid
pop ecx
xor eax, 0x557830fe
cmp dword [eax], edx
into
xlatb
mov word fs:[ecx - 0x602be604], ds
retf 0x326d
movsb byte es:[edi], byte [esi]
int1
popal
ret
aam 0x89
int 0x45
lea eax, [ecx - 0x47670330]
xor dword [ebx - 0x30], edx
out 0xa3, eax
add dword [esi], edx
movsd dword es:[edi], dword [esi]
cmc
adc eax, 0x31b898fc
push ebx
shl bh, 1
mov dword [0xf5a51601], eax
invalid