Function at 0xd367c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov eax, dword [ebp + 0x48]
lea esi, [ebp + 0x28]
mov edx, dword [ebp + 4]
add eax, 0x28
mov ecx, dword [ebp]
add eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], eax
test edx, edx
jne 0xd3680c
cmp ecx, 0x20
jae 0xd3680c
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
add ebx, 0x165667c5
adc edi, 0x27d4eb2f
jmp 0xd368ea
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x24]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov ecx, ebp
mov eax, dword [ebp + 8]
mov ebp, dword [ecx + 0xc]
shld eax, ebp, 1
mov ebp, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ebp, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
shld eax, ebp, 1
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, edi
shld eax, ebx, 7
shld ecx, ebp, 0x12
mov dword [esp + 0x18], eax
mov eax, ebp
mov ebp, dword [esp + 0x38]
shld ebx, edi, 7
mov edi, esi
shld edi, edx, 0xc
shld edx, esi, 0xc
mov esi, dword [ebp + 0x20]
mov ebp, dword [esp + 0x10]
shld eax, esi, 0x12
mov esi, dword [esp + 0x38]
add ecx, edi
push ebp
adc eax, edx
add ecx, dword [esp + 0x1c]
mov ebp, dword [esi + 0x20]
adc eax, ebx
add ecx, dword [esp + 0x20]
push ebp
push dword [esi + 0x1c]
mov ebp, dword [esi + 0xc]
push dword [esi + 0x18]
adc eax, dword [esp + 0x30]
push dword [esi + 0x14]
push dword [esi + 0x10]
push ebp
mov ebp, dword [esi + 8]
push ebp
push eax
push ecx
call fcn.00d36a60
add esp, 0x10
push edx
push eax
call fcn.00d36a60
add esp, 0x10
push edx
push eax
call fcn.00d36a60
add esp, 0x10
push edx
push eax
call fcn.00d36a60
mov esi, dword [esp + 0x34]
mov edi, edx
mov ebp, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov edx, dword [esp + 0x2c]
add ebx, ecx
lea eax, [ebp + 0x30]
mov ebp, dword [esp + 0x30]
adc edi, edx
mov dword [esp + 0x10], eax
cmp eax, ebp
ja 0xd36972
nop dword [eax]
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 4]
push dword [esi]
call fcn.00d36ef0
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.00d36ef0
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.00d36ef0
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 0x10]
add ebx, 0xc2b2ae63
adc edi, 0x85ebca77
add eax, 8
add esi, 8
mov dword [esp + 0x10], eax
cmp eax, ebp
jbe 0xd36900
lea eax, [esi + 4]
mov dword [esp + 0x30], eax
cmp eax, ebp
ja 0xd369c4
mov ecx, dword [esi]
mov eax, 0x9e3779b1
mul ecx
push 0xc2b2ae3d
mov esi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
add esi, edx
xor eax, ebx
xor esi, edi
mov ecx, eax
shld ecx, esi, 0x17
shld esi, eax, 0x17
push esi
push ecx
call fcn.00d36ef0
mov esi, dword [esp + 0x30]
mov ebx, eax
add ebx, 0x9e3779f9
mov edi, edx
adc edi, 0x165667b1
cmp esi, ebp
jae 0xd36a0f
nop dword [eax + eax]
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.00d36ef0
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0xb
shld edx, ecx, 0xb
push 0x85ebca87
push edx
push eax
call fcn.00d36ef0
inc esi
mov ebx, eax
mov edi, edx
cmp esi, ebp
jb 0xd369d0
push 0xc2b2ae3d
xor eax, eax
mov ecx, edi
push 0x27d4eb4f
shr ecx, 1
xor eax, edi
xor ecx, ebx
push eax
push ecx
call fcn.00d36ef0
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.00d36ef0
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret