Function at 0x10018e90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x158
mov eax, dword [esp + 0x15c]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
push ebx
mov ebx, dword [esp + 0x164]
push ebp
lea ebp, [esp + 0x20]
sub ebp, ebx
mov dword [esp + 0x18], ebp
push esi
mov esi, dword [eax + 4]
lea ebp, [esp + 0x28]
sub ebp, ebx
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
xor edi, edi
lea ebp, [esp + 0x30]
sub ebp, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
lea eax, [ebx + 8]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x18]
mov ebx, dword [eax - 8]
mov dword [esp + edi*4 + 0x28], ebx
mov ebx, ebp
xor ebx, ecx
and ebx, esi
xor ebx, ebp
mov ebp, dword [esp + 0x24]
mov edi, edx
rol edi, 5
add edi, dword [eax - 8]
add eax, 0x14
add ebx, edi
mov edi, dword [esp + 0x1c]
lea ebx, [edi + ebx + 0x5a827999]
mov edi, dword [eax - 0x18]
mov dword [esp + ebp*4 + 0x2c], edi
mov dword [esp + 0x1c], ebx
rol esi, 0x1e
rol ebx, 5
add ebx, edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
xor ebp, esi
and ebp, edx
xor ebp, ecx
add ebp, ebx
mov ebx, dword [eax - 0x14]
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x20]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x14]
rol edx, 0x1e
mov dword [esp + 0x18], edi
rol edi, 5
add edi, dword [eax - 0x14]
mov ebx, esi
xor ebx, edx
and ebx, dword [esp + 0x1c]
xor ebx, esi
add ebx, edi
mov edi, dword [esp + 0x1c]
rol edi, 0x1e
lea ecx, [ecx + ebx + 0x5a827999]
mov ebx, dword [eax - 0x10]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
xor edi, edx
and edi, dword [esp + 0x18]
mov ebx, ecx
rol ebx, 5
add ebx, dword [eax - 0x10]
xor edi, edx
add edi, ebx
mov ebx, dword [eax - 0xc]
mov dword [eax + ebp - 0x14], ebx
mov ebp, dword [esp + 0x1c]
lea esi, [esi + edi + 0x5a827999]
mov edi, dword [esp + 0x18]
rol edi, 0x1e
xor ebp, edi
and ebp, ecx
xor ebp, dword [esp + 0x1c]
mov ebx, esi
rol ebx, 5
add ebx, dword [eax - 0xc]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x24]
add ebp, ebx
add edi, 5
rol ecx, 0x1e
cmp edi, 0xf
lea edx, [edx + ebp + 0x5a827999]
mov dword [esp + 0x24], edi
jl 0x10018ee5
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x170]
mov eax, dword [eax + 0x3c]
mov ebx, edx
rol ebx, 5
add ebx, eax
mov ebp, edi
xor ebp, ecx
and ebp, esi
xor ebp, edi
add ebp, ebx
rol esi, 0x1e
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
lea ebx, [eax + ebp + 0x5a827999]
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x30]
mov edi, esi
xor eax, dword [esp + 0x48]
mov esi, ebx
xor eax, dword [esp + 0x5c]
mov ebp, ecx
xor ebp, edi
and ebp, edx
xor ebp, ecx
rol eax, 1
rol esi, 5
add esi, eax
add ebp, esi
mov esi, dword [esp + 0x18]
lea ebp, [esi + ebp + 0x5a827999]
mov esi, dword [esp + 0x2c]
xor esi, dword [esp + 0x34]
rol edx, 0x1e
xor esi, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
xor esi, dword [esp + 0x60]
mov dword [esp + 0x24], edi
xor edi, edx
and edi, ebx
rol esi, 1
rol ebp, 5
add ebp, esi
mov dword [esp + 0x10], edx
mov edx, edi
mov edi, dword [esp + 0x24]
xor edx, edi
add edx, ebp
rol ebx, 0x1e
mov dword [esp + 0x6c], esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
xor ebx, dword [esp + 0x50]
lea ecx, [ecx + edx + 0x5a827999]
xor ebx, dword [esp + 0x30]
mov edx, ecx
xor ebx, dword [esp + 0x64]
mov ebp, esi
xor ebp, dword [esp + 0x10]
rol ebx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
and ebp, ecx
xor ebp, dword [esp + 0x10]
rol edx, 5
add edx, ebx
add ebp, edx
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x3c]
xor ebp, dword [esp + 0x54]
rol ecx, 0x1e
xor ebp, dword [esp + 0x34]
mov dword [esp + 0x68], eax
xor ebp, eax
rol ebp, 1
mov eax, edi
mov dword [esp + 0x70], ebx
mov ebx, ecx
mov dword [esp + 0x74], ebp
rol eax, 5
mov edx, dword [esp + 0x10]
mov ecx, esi
xor ecx, ebx
and ecx, dword [esp + 0x14]
add eax, ebp
mov ebp, dword [esp + 0x14]
xor ecx, esi
add ecx, eax
lea eax, [edx + ecx + 0x5a827999]
rol ebp, 0x1e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x58]
mov dword [esp + 0x20], 4
mov edx, dword [eax - 0x18]
mov ecx, dword [eax - 0x20]
xor ecx, edx
xor ecx, dword [eax + 0x14]
mov edx, ebx
xor ecx, dword [eax]
xor edx, ebp
xor edx, edi
rol ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
rol ecx, 5
add ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
lea esi, [esi + edx + 0x6ed9eba1]
xor ecx, dword [eax + 4]
mov edx, dword [eax - 0x14]
xor ecx, edx
mov edx, dword [esp + 0x14]
rol edi, 0x1e
xor edx, edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
xor edi, edx
rol ecx, 1
mov ebp, esi
rol ebp, 5
add ebp, ecx
add edi, ebp
rol edx, 0x1e
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
lea ebx, [ebx + edi + 0x6ed9eba1]
mov edi, dword [eax - 0x10]
xor edx, edi
xor edx, dword [eax - 0x18]
mov dword [esp + 0x18], ebx
rol edx, 1
rol ebx, 5
add ebx, edx
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x14]
mov edi, esi
xor edi, dword [esp + 0x24]
mov dword [eax + 0x24], ecx
xor edi, dword [esp + 0x10]
add edi, ebx
lea edi, [edx + edi + 0x6ed9eba1]
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
rol esi, 0x1e
xor edx, dword [esp + 0x1c]
mov ebx, esi
xor edx, dword [eax - 0x14]
xor ebx, dword [esp + 0x18]
rol edx, 1
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
rol edi, 5
add edi, edx
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x24]
add ebx, edi
lea edi, [edx + ebx + 0x6ed9eba1]
mov edx, dword [eax + 0x10]
xor edx, dword [eax - 8]
mov ebx, dword [esp + 0x18]
xor edx, ecx
xor edx, dword [eax - 0x10]
rol ebx, 0x1e
rol edx, 1
mov ecx, edi
mov dword [esp + 0x24], edx
mov dword [eax + 0x30], edx
rol ecx, 5
add ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov edx, esi
xor edx, ebx
xor edx, dword [esp + 0x14]
add eax, 0x14
add edx, ecx
mov ecx, dword [esp + 0x10]
rol ebp, 0x1e
sub dword [esp + 0x20], 1
lea edx, [ecx + edx + 0x6ed9eba1]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
jne 0x10019115
lea eax, [esp + 0xa8]
mov dword [esp + 0x18], 4
mov edx, dword [eax - 0x18]
mov ecx, dword [eax - 0x20]
xor ecx, edx
xor ecx, dword [eax]
mov edx, ebp
xor ecx, dword [eax + 0x14]
or edx, edi
and edx, ebx
and ebp, edi
or edx, ebp
rol ecx, 1
mov dword [esp + 0x20], ecx
add edx, dword [esp + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add edx, esi
mov esi, dword [eax - 0x14]
rol ecx, 5
lea edx, [edx + ecx - 0x70e44324]
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
rol edi, 0x1e
xor ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
xor ecx, esi
mov esi, dword [esp + 0x10]
mov ebp, edi
or ebp, esi
and ebp, dword [esp + 0x14]
mov dword [esp + 0x24], edi
and edi, esi
or ebp, edi
mov edi, dword [eax - 0x10]
rol ecx, 1
rol edx, 5
add ebp, ecx
add ebp, ebx
lea ebx, [edx + ebp - 0x70e44324]
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
mov ebp, dword [esp + 0x1c]
xor edx, edi
xor edx, dword [eax - 0x18]
rol esi, 0x1e
or ebp, esi
and ebp, dword [esp + 0x24]
rol edx, 1
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
and esi, dword [esp + 0x10]
mov dword [eax + 0x28], edx
or ebp, esi
mov esi, dword [esp + 0x1c]
add ebp, edx
mov edx, dword [eax - 0xc]
xor edx, dword [eax + 0xc]
add ebp, dword [esp + 0x14]
xor edx, dword [esp + 0x20]
mov edi, ebx
xor edx, dword [eax - 0x14]
rol edi, 5
rol esi, 0x1e
rol edx, 1
mov dword [esp + 0x20], edx
mov dword [eax + 0x2c], edx
lea edi, [edi + ebp - 0x70e44324]
mov edx, esi
or edx, ebx
and edx, dword [esp + 0x10]
mov ebp, esi
and ebp, ebx
or edx, ebp
add edx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
add edx, dword [esp + 0x24]
rol edi, 5
lea edi, [edx + edi - 0x70e44324]
mov edx, dword [eax + 0x10]
rol ebx, 0x1e
xor edx, dword [eax - 8]
mov dword [eax + 0x24], ecx
xor edx, dword [eax - 0x10]
mov ebp, ebx
and ebp, dword [esp + 0x14]
xor edx, ecx
rol edx, 1
mov dword [eax + 0x30], edx
mov dword [esp + 0x20], edx
mov edx, ebx
or edx, dword [esp + 0x14]
mov ecx, edi
and edx, esi
or edx, ebp
add edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
add edx, dword [esp + 0x10]
rol ecx, 5
rol ebp, 0x1e
lea ecx, [edx + ecx - 0x70e44324]
add eax, 0x14
sub dword [esp + 0x18], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
jne 0x10019257
mov eax, 0x3c
cmp eax, 0x50
jge 0x100194fd
mov edx, 0x4f
sub edx, eax
lea ecx, [esp + eax*4 + 8]
mov eax, 0xcccccccd
mul edx
shr edx, 2
inc edx
mov dword [esp + 0x1c], edx
jmp 0x100193d0
mov eax, dword [ecx - 0x20]
xor eax, dword [ecx + 0x14]
mov edx, dword [ecx - 0x18]
xor eax, edx
xor eax, dword [ecx]
mov edx, ebx
xor edx, ebp
xor edx, edi
rol eax, 1
mov dword [esp + 0x20], eax
add edx, dword [esp + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x10]
add edx, esi
rol eax, 5
lea esi, [edx + eax - 0x359d3e2a]
mov eax, dword [ecx - 0x1c]
xor eax, dword [ecx + 0x18]
mov edx, dword [ecx - 0x14]
xor eax, dword [ecx + 4]
rol edi, 0x1e
xor eax, edx
mov edx, dword [esp + 0x14]
xor edx, edi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
rol eax, 1
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
xor edi, edx
add edi, eax
add edi, ebx
mov ebx, dword [ecx - 0x10]
mov ebp, esi
rol ebp, 5
rol edx, 0x1e
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x1c]
xor edx, dword [ecx + 8]
lea edi, [edi + ebp - 0x359d3e2a]
xor edx, ebx
xor edx, dword [ecx - 0x18]
mov ebx, esi
xor ebx, dword [esp + 0x24]
rol edx, 1
xor ebx, dword [esp + 0x10]
mov dword [ecx + 0x28], edx
add ebx, edx
add ebx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
xor edx, dword [ecx + 0xc]
mov dword [esp + 0x18], edi
xor edx, dword [esp + 0x20]
rol edi, 5
xor edx, dword [ecx - 0x14]
lea edi, [ebx + edi - 0x359d3e2a]
rol esi, 0x1e
rol edx, 1
mov ebx, esi
xor ebx, dword [esp + 0x18]
mov dword [ecx + 0x2c], edx
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
add ebx, edx
add ebx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
xor edx, dword [ecx - 8]
rol edi, 5
xor edx, eax
xor edx, dword [ecx - 0x10]
lea edi, [ebx + edi - 0x359d3e2a]
mov ebx, dword [esp + 0x18]
rol ebx, 0x1e
rol edx, 1
mov dword [ecx + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [ecx + 0x30], edx
mov eax, edi
mov edx, esi
rol eax, 5
xor edx, ebx
xor edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
add edx, dword [esp + 0x20]
add ecx, 0x14
add edx, dword [esp + 0x10]
rol ebp, 0x1e
sub dword [esp + 0x1c], 1
lea eax, [edx + eax - 0x359d3e2a]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
jne 0x100193d0
mov ecx, dword [esp + 0x16c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x174]
mov dword [eax], edx
mov edx, dword [ecx + 4]
add edx, edi
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
add edx, ebp
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
add edx, ebx
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0x10]
pop edi
add ecx, esi
pop esi
pop ebp
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x158
ret 0xc