Function at 0x49c130
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x55b090]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x134]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x140]
push esi
mov dword [esp + 0x4c], eax
mov esi, ecx
mov eax, dword [esp + 0x148]
push edi
mov edi, edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], eax
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xd8], 0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xdc], 0
movups xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0xa0]
sub edx, 1
jne 0x49c1c0
cmp dword [esp + 0xa0], edi
jne 0x49c1e6
mov dword [ebp], edx
mov dword [ebx], edx
xor eax, eax
jmp 0x49c5d6
mov eax, dword [ebx]
mov ecx, 1
nop dword [eax]
cmp dword [esp + ecx*4 + 0xa0], 0
jne 0x49c200
inc ecx
cmp ecx, 0xf
jbe 0x49c1f0
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov edx, ecx
cmovae edx, eax
mov eax, 0xf
cmp dword [esp + eax*4 + 0xa0], 0
jne 0x49c21f
sub eax, 1
jne 0x49c210
cmp edx, eax
mov dword [esp + 0x30], eax
mov ebp, eax
cmovbe ebp, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x1c], ebp
mov dword [ebx], ebp
cmp ecx, eax
jae 0x49c254
nop dword [eax + eax]
sub edx, dword [esp + ecx*4 + 0xa0]
js 0x49c5d1
inc ecx
add edx, edx
cmp ecx, eax
jb 0x49c240
lea ebx, [eax*4]
mov ecx, edx
sub edx, dword [esp + ebx + 0xa0]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], edx
js 0x49c5d1
xor edx, edx
mov dword [esp + ebx + 0xa0], ecx
mov dword [esp + 0xe4], edx
sub eax, 1
je 0x49c2a6
xor ecx, ecx
nop dword [eax]
add edx, dword [esp + ecx + 0xa4]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0xe4], edx
sub eax, 1
jne 0x49c290
mov ebx, dword [esp + 0x40]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x49c2cb
mov eax, dword [esp + edx*4 + 0xe0]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0xe0], eax
inc ecx
cmp ecx, edi
jb 0x49c2b0
mov ebx, dword [esp + 0x34]
xor edx, edx
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x20], edx
xor esi, esi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + ebx + 0xe0]
mov ebx, edi
mov dword [esp + 0x5c], eax
neg ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe0], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ebp
cmp eax, dword [esp + 0x30]
jg 0x49c5b4
lea eax, [esp + eax*4 + 0xa0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
je 0x49c5a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
dec eax
mov dword [esp + 0x28], eax
lea eax, [edi + ebx]
cmp dword [esp + 0x14], eax
jle 0x49c461
nop dword [eax + eax]
mov edi, dword [esp + 0x30]
mov ebx, eax
mov edx, dword [esp + 0x14]
inc ecx
sub edi, ebx
mov dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x1c]
mov eax, 1
mov dword [esp + 0x48], ebx
cmova edi, dword [esp + 0x1c]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x4c]
jbe 0x49c3c8
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x28]
add eax, ecx
cmp edx, edi
jae 0x49c3c8
inc edx
cmp edx, edi
jae 0x49c3c8
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x49c3c8
inc edx
sub eax, ecx
cmp edx, edi
jb 0x49c3b5
mov edi, dword [esp + 0x50]
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x49c5d1
mov ebp, dword [esp + 0x54]
mov dword [edi], ecx
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + eax*4 + 0x64], ebp
test ecx, ecx
je 0x49c447
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0xe0], edi
mov ecx, ebx
sub ecx, eax
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], dl
mov edx, edi
shr edx, cl
mov edi, ebp
mov ecx, dword [esp + eax*4 + 0x60]
sub edi, ecx
mov eax, dword [esp + 0x38]
sar edi, 3
sub edi, edx
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
jmp 0x49c44d
mov eax, dword [esp + 0x58]
mov dword [eax], ebp
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp dword [esp + 0x14], eax
jg 0x49c370
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x5c]
sub al, bl
mov edi, dword [esp + 0x44]
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x40]
lea eax, [eax + ecx*4]
cmp edi, eax
jb 0x49c485
mov byte [esp + 0x38], 0xc0
jmp 0x49c4d3
mov ecx, dword [edi]
add edi, 4
mov eax, dword [esp + 0x130]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], edi
cmp ecx, eax
jae 0x49c4af
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x38], al
jmp 0x49c4d3
sub ecx, eax
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x138]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
mov edi, 1
mov ecx, eax
sub ecx, ebx
shl edi, cl
mov ecx, ebx
shr edx, cl
cmp edx, esi
jae 0x49c517
mov ebx, dword [esp + 0x24]
lea eax, [edx*8]
add eax, ebp
lea ecx, [edi*8]
mov ebp, dword [esp + 0x38]
mov dword [eax], ebp
add edx, edi
mov dword [eax + 4], ebx
add eax, ecx
cmp edx, esi
jb 0x49c502
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x49c538
nop dword [eax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x49c530
xor edi, eax
mov ecx, ebx
mov eax, 1
mov dword [esp + 0x20], edi
shl eax, cl
mov ecx, dword [esp + 0x18]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xe0]
je 0x49c584
mov ebp, dword [esp + 0x1c]
nop dword [eax + eax]
dec ecx
sub ebx, ebp
mov dword [esp + 0x18], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x18]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0xe0]
jne 0x49c560
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x49c352
mov eax, dword [esp + 0x14]
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x30]
jle 0x49c338
cmp dword [esp + 0x60], 0
je 0x49c1df
cmp dword [esp + 0x30], 1
je 0x49c1df
mov eax, 0xfffffffb
jmp 0x49c5d6
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00489916
add esp, 0x11c
ret