Function at 0x554400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 4]
test al, al
jne 0x55442d
push 0x771bd8
lea ecx, [ebp - 0x10]
call fcn.00714ba1
lea eax, [ebp - 0x10]
push 0x75de60
push eax
call fcn.00714a95
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
je 0x55462d
mov ecx, dword [ebx + 0x3cc]
mov eax, edi
xor edx, edx
div ecx
test edx, edx
jne 0x55462d
mov eax, dword [ebp + 0x14]
cmp eax, 1
jne 0x554512
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov dword [ebp + 8], eax
mov eax, edi
xor edx, edx
div ecx
mov dword [ebp + 0x14], esi
test eax, eax
jbe 0x5544ee
mov dl, byte [ebx + 4]
lea eax, [ebx + 0x3f4]
test dl, dl
je 0x5544f7
xor edi, edi
test ecx, ecx
jle 0x5544a0
mov esi, dword [ebp - 4]
sub esi, eax
mov cl, byte [esi + eax]
mov dl, byte [eax]
xor dl, cl
mov byte [eax], dl
mov ecx, dword [ebx + 0x3cc]
inc eax
inc edi
cmp edi, ecx
jl 0x55448b
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x3f4]
push esi
push edi
mov ecx, ebx
call fcn.00553e30
mov ecx, dword [ebx + 0x3cc]
mov eax, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x3cc]
mov esi, dword [ebp + 0x14]
add edx, ecx
add eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
div ecx
inc esi
mov dword [ebp + 0x14], esi
cmp esi, eax
jb 0x554473
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x771bd8
lea ecx, [ebp - 0x10]
call fcn.00714ba1
lea eax, [ebp - 0x10]
push 0x75de60
push eax
call fcn.00714a95
cmp eax, 2
mov dword [ebp + 0x14], esi
jne 0x5545df
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], edx
xor edx, edx
div ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], esi
test eax, eax
jbe 0x5544ee
jmp 0x554539
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x3f4]
push esi
push eax
mov ecx, ebx
call fcn.00553e30
mov cl, byte [ebx + 4]
mov eax, esi
test cl, cl
je 0x5545c4
mov ecx, dword [ebx + 0x3cc]
xor edi, edi
test ecx, ecx
jle 0x554575
mov ecx, dword [ebp - 4]
mov dl, byte [edi + ecx]
mov cl, byte [eax]
xor cl, dl
mov byte [eax], cl
mov ecx, dword [ebx + 0x3cc]
inc eax
inc edi
cmp edi, ecx
jl 0x55455d
mov ecx, dword [ebx + 0x3cc]
lea edi, [ebx + 0x3f4]
mov eax, ecx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x3cc]
mov esi, dword [ebp + 8]
div ecx
mov edi, dword [ebp - 4]
add esi, ecx
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0x14]
add edi, ecx
inc esi
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], esi
cmp esi, eax
jb 0x554536
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x771bd8
lea ecx, [ebp - 0x10]
call fcn.00714ba1
lea ecx, [ebp - 0x10]
push 0x75de60
push ecx
call fcn.00714a95
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp + 8], edx
mov eax, edi
xor edx, edx
div ecx
test eax, eax
jbe 0x5544ee
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
push esi
call fcn.00553e30
mov ecx, dword [ebx + 0x3cc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add esi, ecx
add eax, ecx
inc edx
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], edx
mov eax, edi
xor edx, edx
div ecx
cmp dword [ebp + 0x14], eax
jb 0x5545f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x771bdc
lea ecx, [ebp - 0x10]
call fcn.00714ba1
lea ecx, [ebp - 0x10]
push 0x75de60
push ecx
call fcn.00714a95
nop
nop
nop
nop
nop
nop
nop
nop