Function at 0x4119d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004075d0
add esp, 0xc
lea ecx, [ebp - 0x148]
push 0x40
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
add eax, eax
shr edi, 0x1f
or edi, eax
dec edx
mov dword [ecx + 0x34], edi
jne 0x411a03
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
lea edx, [ebp - 0x150]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0x14
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
shr edx, 0x1b
shl ebx, 5
or edx, ebx
mov ebx, dword [ebp + 8]
xor ebx, edi
mov edi, dword [ebp - 4]
and ebx, eax
add dword [ebp - 4], 4
xor ebx, dword [ebp + 8]
add edx, ebx
add edx, dword [edi]
mov edi, dword [ebp - 0x10]
lea edx, [edx + ecx + 0x5a827999]
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, eax
shl edi, 0x1e
shr eax, 2
or edi, eax
mov eax, dword [ebp - 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
jne 0x411a47
lea ebx, [ebp - 0x100]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], ebx
mov ebx, edx
shr ebx, 0x1b
shl edx, 5
or ebx, edx
mov edx, dword [ebp + 8]
xor edx, edi
xor edx, eax
add ebx, edx
mov edx, dword [ebp - 4]
add dword [ebp - 4], 4
add ebx, dword [edx]
lea edx, [ebx + ecx + 0x6ed9eba1]
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, eax
shl edi, 0x1e
shr eax, 2
or edi, eax
mov eax, dword [ebp - 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], edx
jne 0x411aa2
lea ebx, [ebp - 0xb0]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x14
mov ebx, edi
and edi, eax
or ebx, eax
and ebx, dword [ebp + 8]
or ebx, edi
mov edi, edx
shr edi, 0x1b
shl edx, 5
or edi, edx
mov edx, dword [ebp - 4]
add ebx, edi
mov edi, dword [ebp - 0x10]
add ebx, dword [edx]
add dword [ebp - 4], 4
lea edx, [ebx + ecx - 0x70e44324]
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, eax
shl edi, 0x1e
shr eax, 2
or edi, eax
mov eax, dword [ebp - 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
jne 0x411af3
lea ebx, [ebp - 0x60]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], ebx
mov ebx, edx
shr ebx, 0x1b
shl edx, 5
or ebx, edx
mov edx, dword [ebp + 8]
xor edx, edi
xor edx, eax
add ebx, edx
mov edx, dword [ebp - 4]
add dword [ebp - 4], 4
add ebx, dword [edx]
lea edx, [ebx + ecx - 0x359d3e2a]
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, eax
shl edi, 0x1e
shr eax, 2
or edi, eax
mov eax, dword [ebp - 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], edx
jne 0x411b48
mov ebx, dword [esi]
add ebx, edx
mov edx, dword [esi + 4]
add edx, eax
mov eax, dword [esi + 8]
add eax, edi
mov dword [esi + 4], edx
mov edx, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [esi], ebx
add eax, edx
pop edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, ecx
mov dword [esi + 0x10], eax
pop esi
pop ebx
leave
ret