Function at 0x558f8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x558f94
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x559292
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 0x20]
mov eax, dword [0x56254c]
call fcn.00451f54
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x5592ac
call fcn.00502f14
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00404f0c
test eax, eax
je 0x55924a
lea edx, [ebp - 0x28]
mov eax, dword [0x56254c]
call fcn.00451f54
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x5592bc
call fcn.00502f14
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.00404f0c
test eax, eax
jg 0x55924a
mov dl, 1
mov eax, dword [0x41bd00]
call fcn.004039e4
mov dword [ebp - 0x14], eax
mov eax, dword [0x560298]
mov eax, dword [eax]
call fcn.00409b64
test al, al
jne 0x559032
mov byte [ebp - 1], 1
mov eax, dword [0x560298]
mov eax, dword [eax]
call fcn.00409b64
test al, al
je 0x5591f7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
push ebp
push 0x559086
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x560298]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0xc]
mov edx, 3
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x559090
call fcn.00502c7c
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 0x30]
call fcn.004095e4
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 0x5592cc
call fcn.00404c14
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404d14
xor eax, eax
push ebp
push 0x559100
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x560298]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x34]
mov edx, 1
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.00409214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x559111
mov eax, dword [ebp - 0xc]
call fcn.00404bc8
mov ebx, eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004095e4
call fcn.00503b40
lea ecx, [ebp - 0x38]
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.00503c68
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.004049a0
mov esi, ebx
xor esi, 0x2a6
mov ebx, 1
lea eax, [ebx + ebx*2]
add eax, 0x2a6
xor esi, eax
inc ebx
cmp ebx, 0x2a7
jne 0x559152
xor eax, eax
push ebp
push 0x5591a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00409774
test al, al
je 0x559196
mov eax, dword [ebp - 8]
call fcn.00409720
xor esi, 0x556e081
xor eax, esi
mov esi, eax
jmp 0x55919b
mov esi, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5591b4
xor eax, eax
push ebp
push 0x5591e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.004095e4
mov eax, dword [ebp - 0x3c]
call fcn.00409888
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5591ef
lea eax, [ebp - 0xc]
call fcn.00404908
call fcn.00502c7c
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 0x1c]
call fcn.004095e4
mov eax, dword [0x560580]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
call fcn.00503630
test al, al
jne 0x559220
mov byte [ebp - 1], 1
xor eax, eax
push ebp
push 0x559240
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00403a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55924a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559299
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.0040492c
lea eax, [ebp - 0x28]
call fcn.00404908
lea eax, [ebp - 0x24]
call fcn.00404908
lea eax, [ebp - 0x20]
call fcn.00404908
lea eax, [ebp - 0x1c]
call fcn.00404908
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040492c
ret