Function at 0x561b55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x13c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.00559a30
mov eax, esp
mov dword [0x65c498], 0x5e5
mov dword [0x65c49c], 0x1322
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, eax, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xdc
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x567
mov ecx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x561bb2
mov dword [0x65c498], 0x8fa
mov dword [0x65c49c], 0xd98
xor eax, eax
mov dword [ebp - 0x128], eax
jmp 0x561c29
mov eax, dword [ebp - 0x128]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x60fba4]
mov dh, byte [eax + 0x60fb75]
sub dh, dl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dh
cmp ecx, 0xe
mov dword [ebp - 0x128], ecx
jne 0x561c29
mov dword [0x65c49c], 0x238
mov dword [0x65c498], 0xfffffc53
call fcn.005618bb
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.0056198e
add esp, 8
mov dword [0x65c4b8], eax
mov dword [0x65c49c], 0x25
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x124]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
xor ecx, ecx
mov edx, dword [0x65c498]
add edx, 0xffffe42b
mov dword [0x65c49c], edx
mov edx, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
lea edx, section..data
imul esi, ecx, 0xdc
mov edi, edx
add edi, esi
add edi, 0xa0
imul esi, ecx, 0xdc
mov ebx, edx
add ebx, esi
add ebx, 0x40
imul esi, ecx, 0xdc
add edx, esi
add edx, 0x54
add ecx, 1
mov esi, dword [ebp - 0x12c]
add esi, eax
mov edi, dword [edi]
mov ebx, dword [ebx]
movzx edx, word [edx]
xor edx, edi
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], edx
call fcn.00561efc
add esp, 0xc
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x138]
add eax, ecx
mov edx, dword [ebp - 0x13c]
cmp edx, 0x567
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], eax
jne 0x561cea
lea eax, [0x60fb83]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x65c49c], 0x74b
mov dword [0x65c498], 0x23ed
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], ecx
call fcn.0056146d
add esp, 0xc
mov dword [0x65c49c], 0x7e4
mov dword [0x65c498], 0x48b
sub esp, 0x10
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x124]
mov dword [esp + 0xc], edx
call fcn.005622ab
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x61b95
mov edx, dword [ebp - 0x110]
mov dword [edx], ecx
mov dword [edx + 4], 0x133800
mov ecx, dword [ebp - 0x12c]
add ecx, 0x92cc
mov dword [edx + 8], ecx
mov dword [0x65c498], 0x1dad
mov dword [edx + 0xc], 0x2080
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret