Function at 0x552bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xfc
mov eax, dword [0x616930]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov dword [esp + 0xc], eax
xor ebp, ebp
cmp dword [esp + 0x118], 0x1c
mov eax, dword [esp + 0x114]
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
jae 0x552c1c
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.005bca10
add esp, 0xfc
ret
push esi
mov esi, dword [esp + 0x128]
mov edx, 0x20
cmp esi, edx
cmova esi, edx
lea edx, [esp + 0x94]
push edx
push eax
push ecx
call fcn.004d1230
add esp, 0xc
test eax, eax
js 0x552e93
push 0x3f
xorps xmm0, xmm0
mov byte [esp + 0x23], 4
lea eax, [esp + 0x55]
mov dword [esp + 0x24], 0x1000000
push 0
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x58], ebp
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], 0
call fcn.005be800
lea eax, [esp + 0x30]
mov dword [esp + 0x9c], ebp
push eax
call fcn.004d0000
push 1
lea eax, [esp + 0x33]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004d0040
push 0x38
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004d0040
add esp, 0x28
test edi, edi
je 0x552d14
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x3c], ebp
movups xmm0, xmmword [esp + 0x94]
mov eax, dword [esp + 0xac]
movups xmmword [edi], xmm0
movq xmm0, qword [esp + 0xa4]
movq qword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0xb0]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0xc8]
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [esp + 0xc0]
movq qword [edi + 0x30], xmm0
mov dword [edi + 0x38], eax
mov ecx, dword [esp + 0x14]
push 0
mov eax, dword [ecx + 0x18]
movups xmm0, xmmword [ecx]
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xf0]
movups xmmword [esp + 0x98], xmm0
push eax
movq xmm0, qword [ecx + 0x10]
lea eax, [esp + 0x9c]
movq qword [esp + 0xac], xmm0
movups xmm0, xmmword [ecx + 0x20]
push eax
push dword [esp + 0x24]
movups xmmword [esp + 0xc0], xmm0
movq xmm0, qword [ecx + 0x30]
push dword [esp + 0x20]
movq qword [esp + 0xd4], xmm0
call fcn.004d1000
add esp, 0x14
test eax, eax
je 0x552e93
push 0x1c
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004d0040
push 4
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004d0040
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.004cff10
add esp, 0x20
xor edx, edx
test esi, esi
je 0x552e8e
cmp esi, 0x40
jb 0x552e6c
lea ecx, [ebx - 1]
lea eax, [esp + esi + 0xcb]
add ecx, esi
cmp ebx, eax
ja 0x552df1
lea eax, [esp + 0xcc]
cmp ecx, eax
jae 0x552e6c
mov ecx, esi
lea edi, [esp + 0xcc]
lea ebp, [esp + 0xdc]
and ecx, 0xffffffc0
sub edi, ebx
lea eax, [ebx + 0x20]
sub ebp, ebx
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + edx + 0xcc]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + edx + 0xdc]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, ecx
jb 0x552e10
mov dword [esp + 0x10], edx
cmp edx, esi
jae 0x552e8e
lea edi, [esp + 0xcc]
sub edi, ebx
lea ecx, [ebx + edx]
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x552e80
mov ebp, 1
mov ecx, dword [esp + 0x108]
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005bca10
add esp, 0xfc
ret