Function at 0x4132ca
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x8c], ecx
mov dword [eax + 0x88], ecx
mov dword [eax + 0x84], ecx
lea ecx, [eax + 0x44]
push ebx
add eax, 4
push esi
mov dword [ebp - 0x1c], eax
mov eax, 0x9e3779b9
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov edx, eax
mov esi, eax
mov ecx, eax
mov edi, eax
mov dword [ebp - 0x14], 4
jmp 0x41331a
mov edx, dword [ebp - 0x10]
mov ebx, ecx
shl ebx, 0xb
xor edi, ebx
add esi, edi
add ecx, eax
mov ebx, eax
shr ebx, 2
xor ecx, ebx
add edx, ecx
add eax, esi
mov ebx, esi
shl ebx, 8
xor eax, ebx
add dword [ebp - 0xc], eax
mov ebx, edx
shr ebx, 0x10
add esi, edx
xor esi, ebx
mov ebx, dword [ebp - 0xc]
add dword [ebp - 4], esi
add edx, ebx
shl ebx, 0xa
xor edx, ebx
add dword [ebp - 8], edx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
add ebx, edx
shr edx, 4
xor ebx, edx
mov edx, dword [ebp - 8]
add edi, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
add ebx, edx
shl edx, 8
xor ebx, edx
mov edx, dword [ebp - 8]
add ecx, ebx
mov dword [ebp - 4], ebx
mov ebx, edi
add edx, edi
shr ebx, 9
xor edx, ebx
add eax, edx
add edi, ecx
dec dword [ebp - 0x14]
mov dword [ebp - 8], edx
jne 0x413317
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp - 0x18]
je 0x41358c
lea ebx, [edx + 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 8
sub edx, dword [ebp - 0x1c]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 2
mov edx, ebx
add ecx, dword [edx - 4]
mov ebx, dword [edx - 8]
add eax, dword [edx]
add ebx, edi
mov edi, ecx
shl edi, 0xb
xor edi, ebx
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
add ebx, edi
add esi, ebx
add ecx, eax
mov ebx, eax
shr ebx, 2
xor ecx, ebx
add edx, ecx
add dword [ebp - 0x10], edx
mov ebx, dword [ebp - 0x10]
add eax, esi
mov edx, esi
shl edx, 8
xor eax, edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
add edx, eax
add dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
add esi, edx
shr edx, 0x10
xor esi, edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x10]
add edx, esi
add dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
add ebx, edx
shl edx, 0xa
xor ebx, edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
add edx, ebx
add dword [ebp - 8], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
add ebx, edx
shr edx, 4
xor ebx, edx
mov edx, dword [ebp - 8]
add edi, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
add ebx, edx
shl edx, 8
xor ebx, edx
mov edx, dword [ebp - 8]
add ecx, ebx
mov dword [ebp - 4], ebx
add edx, edi
mov ebx, edi
shr ebx, 9
xor edx, ebx
mov ebx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x14]
mov dword [edx - 8], ecx
add edi, ecx
mov dword [edx - 0xc], edi
mov edx, dword [ebp + 0xc]
mov dword [edx + ebx], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [ebx + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebx + 0xc], edx
mov edx, dword [ebp - 8]
mov dword [ebx], esi
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0xc]
add edx, 0x20
add ebx, 0x20
dec dword [ebp - 0x1c]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], ebx
jne 0x4133bd
mov edx, dword [ebp - 0x18]
add edx, 8
mov dword [ebp - 0x1c], 2
add ecx, dword [edx - 4]
mov ebx, dword [edx - 8]
add ebx, edi
add eax, dword [edx]
mov edi, ecx
shl edi, 0xb
xor ebx, edi
mov edi, dword [edx + 4]
add edi, ebx
add esi, edi
add ecx, eax
mov edi, eax
shr edi, 2
xor ecx, edi
mov edi, dword [edx + 8]
add edi, ecx
add dword [ebp - 0x10], edi
add eax, esi
mov edi, esi
shl edi, 8
xor eax, edi
mov edi, dword [edx + 0xc]
add edi, eax
add dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x10]
add esi, edi
shr edi, 0x10
xor esi, edi
mov edi, dword [edx + 0x10]
add edi, esi
add dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x10]
add ebx, edi
shl edi, 0xa
xor ebx, edi
mov edi, dword [edx + 0x14]
add edi, ebx
add dword [ebp - 8], edi
mov edi, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr edi, 4
xor edi, ebx
add dword [ebp + 0xc], edi
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
add ebx, edi
shl edi, 8
xor ebx, edi
mov edi, dword [ebp + 0xc]
add ecx, ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
add ebx, edi
shr edi, 9
xor ebx, edi
mov edi, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
mov dword [edx + 8], ebx
mov ebx, dword [ebp - 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [edx + 0x10], ebx
mov ebx, dword [ebp - 8]
add edi, ecx
mov dword [edx - 8], edi
mov dword [edx - 4], ecx
mov dword [edx], eax
mov dword [edx + 4], esi
mov dword [edx + 0x14], ebx
add edx, 0x20
dec dword [ebp - 0x1c]
jne 0x4134b5
jmp 0x413644
add edx, 8
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x1c], 2
mov edx, ecx
shl edx, 0xb
xor edi, edx
add esi, edi
add ecx, eax
mov edx, eax
shr edx, 2
xor ecx, edx
mov edx, dword [ebp - 0x10]
add edx, ecx
add eax, esi
mov ebx, esi
shl ebx, 8
xor eax, ebx
add dword [ebp - 0xc], eax
mov ebx, edx
shr ebx, 0x10
add esi, edx
xor esi, ebx
mov ebx, dword [ebp - 0xc]
add dword [ebp - 4], esi
add edx, ebx
shl ebx, 0xa
xor edx, ebx
add dword [ebp - 8], edx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
add ebx, edx
shr edx, 4
xor ebx, edx
mov edx, dword [ebp - 8]
add edi, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
add ebx, edx
shl edx, 8
xor ebx, edx
mov edx, dword [ebp - 8]
add ecx, ebx
mov dword [ebp - 4], ebx
add edx, edi
mov ebx, edi
shr ebx, 9
xor edx, ebx
mov ebx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ebx
mov ebx, dword [ebp - 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [edx + 0x10], ebx
mov ebx, dword [ebp - 8]
add edi, ecx
mov dword [edx - 8], edi
mov dword [edx - 4], ecx
mov dword [edx], eax
mov dword [edx + 4], esi
mov dword [edx + 0x14], ebx
add edx, 0x20
dec dword [ebp - 0x1c]
mov dword [ebp + 0xc], edx
jne 0x413599
mov esi, dword [ebp + 8]
push esi
call fcn.0041304a
pop edi
mov dword [esi], 0x10
pop esi
pop ebx
leave
ret 8