Function at 0x1d15290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, ecx
mov dword [ebp - 0x28], 0x10
push ebx
push esi
push edi
mov eax, dword [edx + 0xd4]
lea edi, [edx + 0x120]
mov esi, dword [edx + 0xd0]
mov ebx, edi
mov ecx, dword [edx + 0xe0]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0xd8]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0xdc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0xe4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xec]
mov dword [ebp - 0x20], eax
mov eax, 0x1e40a28
sub eax, edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], 0x10
nop dword [eax]
cmp byte [edx + 0xd], 0
je 0x1d1531a
mov eax, dword [eax]
jmp 0x1d15324
mov ecx, dword [eax]
call fcn.01d16140
mov ecx, dword [ebp - 8]
mov dword [ebx], eax
mov edi, ecx
mov eax, ecx
ror edi, 0x19
ror eax, 0xb
xor edi, eax
ror esi, 0x16
mov eax, ecx
not ecx
and ecx, dword [ebp - 0x14]
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x30]
add edi, ecx
add edi, dword [eax + ebx]
mov eax, dword [ebp - 4]
add edi, dword [ebx]
add ebx, 4
add edi, dword [ebp - 0x20]
ror eax, 0xd
xor esi, eax
mov eax, dword [ebp - 4]
ror eax, 2
xor esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
and eax, dword [ebp - 4]
xor ecx, dword [ebp - 4]
and ecx, dword [ebp - 0xc]
xor ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
add esi, ecx
mov eax, dword [ebp - 0x10]
add esi, edi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
add ecx, edi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 8], ecx
sub dword [ebp - 0x28], 1
mov dword [ebp - 4], esi
mov dword [ebp + 8], eax
jne 0x1d15310
mov edx, esi
mov esi, 0x10
mov ebx, dword [ebp - 0x2c]
lea eax, [esi + 1]
mov dword [ebp + 8], eax
and eax, 0xf
mov edi, dword [ebx + eax*4]
lea eax, [esi - 2]
and eax, 0xf
and esi, 0xf
mov ecx, dword [ebx + eax*4]
lea ebx, [ebx + esi*4]
mov esi, ecx
mov eax, ecx
ror eax, 0x11
shr ecx, 0xa
ror esi, 0x13
xor esi, eax
mov eax, edi
xor esi, ecx
ror eax, 7
mov ecx, edi
shr edi, 3
ror ecx, 0x12
xor ecx, eax
mov eax, dword [ebp - 0x24]
xor ecx, edi
add eax, 0xfffffff9
mov edi, dword [ebp - 0x2c]
and eax, 0xf
add esi, ecx
add esi, dword [edi + eax*4]
add dword [ebx], esi
mov esi, dword [ebp - 8]
mov edi, esi
mov eax, esi
ror edi, 0x19
ror eax, 0xb
mov ecx, esi
xor edi, eax
not ecx
and ecx, dword [ebp - 0x14]
mov eax, esi
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, esi
mov esi, edx
xor ecx, eax
ror esi, 0x16
mov eax, dword [ebp - 0x24]
add edi, ecx
add edi, dword [eax*4 + 0x1e40a28]
mov eax, edx
add edi, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
add edi, dword [ebp - 0x20]
xor ecx, edx
and ecx, dword [ebp - 0xc]
ror eax, 0xd
xor esi, eax
mov eax, edx
ror eax, 2
xor esi, eax
mov eax, ebx
and eax, edx
xor ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
add esi, ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
add ecx, edi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
lea edx, [esi + edi]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], esi
cmp esi, 0x40
jl 0x1d153c6
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
pop edi
pop esi
add dword [edx + 0xd0], eax
mov eax, dword [ebp - 0xc]
add dword [edx + 0xd8], eax
mov eax, dword [ebp - 0x1c]
add dword [edx + 0xdc], eax
mov eax, dword [ebp - 0x10]
add dword [edx + 0xe4], eax
mov eax, dword [ebp - 0x14]
add dword [edx + 0xe8], eax
add dword [edx + 0xd4], ebx
add dword [edx + 0xe0], ecx
mov eax, dword [ebp - 0x20]
add dword [edx + 0xec], eax
pop ebx
mov esp, ebp
pop ebp
ret 4