Function at 0x10055d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
lea edx, [ecx + eax]
mov dword [edi], edx
cmp edx, 0x10
ja 0x10055db1
push eax
lea eax, [esi + 0x28]
add eax, ecx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jne 0x10055dc4
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov dword [edi], edx
add eax, 0x28
mov edi, 0x10
add eax, ecx
sub edi, ecx
push edi
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [ebp - 8]
add ebx, edi
mov edi, dword [ebp - 4]
add ecx, 0xfffffff0
add dword [ebp + 8], ecx
add esp, 0xc
mov edx, esi
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x3c]
mov dword [esi], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0xc], eax
call fcn.100545c0
mov eax, dword [edi + 0x18]
xor dword [esi], eax
mov eax, dword [edi + 0x1c]
xor dword [esi + 4], eax
mov eax, dword [edi + 0x20]
xor dword [esi + 8], eax
mov eax, dword [edi + 0x24]
xor dword [esi + 0xc], eax
cmp dword [ebp + 8], 0x10
ja 0x10055e46
mov eax, dword [edi + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
jmp 0x10055f00
mov eax, dword [ebx]
lea edx, [esi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [edi + 0x3c]
mov eax, dword [ebx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x1c], eax
call fcn.100545c0
mov eax, dword [edi + 0x28]
add ebx, 0x10
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x2c]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x30]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0x34]
xor dword [esi + 0x1c], eax
add esi, 0x20
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp + 8], eax
cmp eax, 0x10
jbe 0x10055eeb
mov edi, eax
lea eax, [edi - 0x11]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebx]
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
call fcn.100545c0
mov eax, dword [ebx - 0x10]
sub edi, 0x10
xor dword [esi], eax
mov eax, dword [ebx - 0xc]
xor dword [esi + 4], eax
mov eax, dword [ebx - 8]
xor dword [esi + 8], eax
mov eax, dword [ebx - 4]
add ebx, 0x10
xor dword [esi + 0xc], eax
add esi, 0x10
dec dword [ebp + 8]
jne 0x10055ea0
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov eax, dword [ebx - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebx - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx - 8]
mov dword [edi + 0x20], eax
mov eax, dword [ebx - 4]
mov esi, dword [ebp + 8]
push esi
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [edi + 0x38]
add esp, 0xc
and eax, 0xf0000000
add eax, esi
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
sub dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret