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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f3e7
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x48cc80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [0x48f4f0]
push eax
lea ecx, [esp + 0x3c]
call 0x4cf361
lea esi, [esp + 0x70]
mov dword [esp + 0xc0], 0
call fcn.004adf01
push 0x47ba28
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xcc], 1
call fcn.004a47f1
add esp, 0xc
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ac319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa0]
call 0x4e0477
mov eax, dword [ebp + 8]
add eax, 0x2d8
push 0x47ba68
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xcc], 4
call fcn.004a47f1
add esp, 0xc
lea edx, [esp + 0xa0]
mov byte [esp + 0xc0], 5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x40]
call 0x4cf291
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac38c
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 0x4ace2e
lea ebx, [ebx]
call 0x4d5899
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4acead
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.004a7821
mov eax, dword [ebp + 8]
push 0x47ba68
add eax, 0x2d8
push eax
lea edx, [esp + 0x94]
push edx
call fcn.004a47f1
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 0x4cf401
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 0x4ac453
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 0x4acdca
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004bf381
adc dword [edi], ebp
add dword [eax], eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004a4b11
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f3fff
add esp, 8
test esi, esi
jl 0x4acebc
mov eax, dword [esp + 0x28]
cmp esi, dword [eax - 8]
jg 0x4acebc
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 0x4acda2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x23c]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4ac532
test esi, esi
jl 0x4aceb7
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx + 0x23c]
jge 0x4aceb7
mov edx, ecx
mov eax, dword [edx + 0x238]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx + 0x1d8]
push edi
push eax
call 0x4f378c
add esp, 8
test eax, eax
je 0x4ac9e5
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x4ac4ef
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x25c]
push edi
call fcn.004adc91
pop ss
add byte [eax], al
sbb al, 5
or al, 0xf7
sahf
xor byte [edx], cl
pop es
mov al, dh
or byte [esi - 0x2b3d0876], al
retf
retf 0xbed5
mov bl, 0xc2