Function at 0x10031a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x160
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x30]
sub edi, edx
mov eax, ecx
mov esi, dword [eax + 0xc]
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x28], edi
lea edi, [esp + 0x34]
sub edi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], esi
xor esi, esi
lea edi, [esp + 0x38]
sub edi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
lea eax, [edx + 8]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
mov edx, dword [eax - 8]
mov dword [esp + esi*4 + 0x30], edx
mov esi, edi
xor esi, ebx
and esi, ecx
xor esi, edi
mov edi, dword [esp + 0x20]
mov edx, ebp
rol edx, 5
add edx, dword [eax - 8]
add eax, 0x14
add esi, edx
mov edx, dword [esp + 0x1c]
lea esi, [edx + esi + 0x5a827999]
mov edx, dword [eax - 0x18]
mov dword [esp + edi*4 + 0x34], edx
mov dword [esp + 0x1c], esi
rol ecx, 0x1e
rol esi, 5
add esi, edx
mov edx, dword [esp + 0x18]
mov edi, ebx
xor edi, ecx
and edi, ebp
xor edi, ebx
add edi, esi
mov esi, dword [eax - 0x14]
lea edx, [edx + edi + 0x5a827999]
mov edi, dword [esp + 0x28]
mov dword [edi + eax - 0x14], esi
mov edi, dword [esp + 0x14]
rol ebp, 0x1e
mov dword [esp + 0x18], edx
rol edx, 5
add edx, dword [eax - 0x14]
mov esi, ecx
xor esi, ebp
and esi, dword [esp + 0x1c]
xor esi, ecx
add esi, edx
mov edx, dword [esp + 0x1c]
lea ebx, [ebx + esi + 0x5a827999]
mov esi, dword [eax - 0x10]
mov dword [edi + eax - 0x14], esi
mov edi, dword [esp + 0x10]
rol edx, 0x1e
mov dword [esp + 0x1c], edx
xor edx, ebp
and edx, dword [esp + 0x18]
mov esi, ebx
rol esi, 5
add esi, dword [eax - 0x10]
xor edx, ebp
add edx, esi
mov esi, dword [eax - 0xc]
mov dword [edi + eax - 0x14], esi
mov edi, dword [esp + 0x1c]
lea ecx, [ecx + edx + 0x5a827999]
mov edx, dword [esp + 0x18]
rol edx, 0x1e
xor edi, edx
and edi, ebx
xor edi, dword [esp + 0x1c]
mov esi, ecx
rol esi, 5
add esi, dword [eax - 0xc]
mov dword [esp + 0x18], edx
add edi, esi
mov esi, dword [esp + 0x20]
add esi, 5
rol ebx, 0x1e
lea ebp, [edi + ebp + 0x5a827999]
mov dword [esp + 0x20], esi
cmp esi, 0xf
jb 0x10031ab1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x3c]
mov esi, ebp
rol esi, 5
add esi, eax
mov edi, edx
xor edi, ebx
and edi, ecx
xor edi, edx
mov edx, dword [esp + 0x1c]
add edi, esi
rol ecx, 0x1e
lea edi, [edx + edi + 0x5a827999]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
xor eax, dword [esp + 0x38]
mov esi, ebx
xor eax, dword [esp + 0x50]
xor esi, ecx
xor eax, dword [esp + 0x64]
and esi, ebp
rol eax, 1
xor esi, ebx
mov edx, edi
rol edx, 5
add edx, eax
add esi, edx
mov edx, dword [esp + 0x18]
lea esi, [edx + esi + 0x5a827999]
mov edx, dword [esp + 0x34]
xor edx, dword [esp + 0x3c]
rol ebp, 0x1e
xor edx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
xor edx, dword [esp + 0x68]
xor ecx, ebp
and ecx, edi
rol edx, 1
mov dword [esp + 0x18], esi
rol esi, 5
mov dword [esp + 0x10], ebp
mov ebp, esi
mov esi, dword [esp + 0x20]
xor ecx, esi
add ebp, edx
add ecx, ebp
rol edi, 0x1e
lea ebx, [ebx + ecx + 0x5a827999]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
mov edx, edi
mov edi, dword [esp + 0x40]
xor edi, dword [esp + 0x58]
mov ebp, edx
xor edi, dword [esp + 0x38]
xor ebp, dword [esp + 0x10]
xor edi, dword [esp + 0x6c]
and ebp, ecx
xor ebp, dword [esp + 0x10]
rol edi, 1
mov dword [esp + 0x14], ebx
rol ebx, 5
add ebx, edi
add ebp, ebx
rol ecx, 0x1e
mov dword [esp + 0x78], edi
mov edi, ecx
mov ecx, dword [esp + 0x44]
xor ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
xor ecx, dword [esp + 0x3c]
lea esi, [esi + ebp + 0x5a827999]
xor ecx, eax
rol ecx, 1
mov ebx, edx
mov eax, esi
xor ebx, edi
rol eax, 5
and ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
add eax, ecx
mov ecx, dword [esp + 0x10]
xor ebx, edx
add ebx, eax
lea eax, [ecx + ebx + 0x5a827999]
mov ebx, dword [esp + 0x14]
rol ebx, 0x1e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x60]
mov dword [esp + 0x28], 4
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov ebp, dword [eax - 0x18]
xor ecx, ebp
xor ecx, dword [eax]
mov ebp, edi
xor ebp, ebx
rol ecx, 1
xor ebp, esi
mov ebx, dword [eax - 0x14]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
rol ecx, 5
add ecx, dword [esp + 0x1c]
add ebp, ecx
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
rol esi, 0x1e
xor ecx, dword [eax + 4]
mov dword [esp + 0x20], esi
xor ecx, ebx
rol ecx, 1
lea edx, [edx + ebp + 0x6ed9eba1]
mov ebp, dword [esp + 0x14]
xor ebp, esi
mov esi, dword [esp + 0x10]
xor ebp, esi
mov ebx, edx
rol ebx, 5
add ebx, ecx
add ebp, ebx
mov ebx, dword [eax + 0x1c]
xor ebx, dword [eax + 8]
rol esi, 0x1e
mov dword [esp + 0x10], esi
mov esi, dword [eax - 0x10]
xor ebx, esi
xor ebx, dword [eax - 0x18]
lea edi, [edi + ebp + 0x6ed9eba1]
rol ebx, 1
mov dword [esp + 0x18], edi
rol edi, 5
add edi, ebx
mov dword [eax + 0x28], ebx
mov ebx, dword [eax - 0xc]
xor ebx, dword [eax + 0xc]
mov esi, edx
xor esi, dword [esp + 0x20]
xor ebx, dword [esp + 0x1c]
xor esi, dword [esp + 0x10]
xor ebx, dword [eax - 0x14]
add esi, edi
mov edi, dword [esp + 0x14]
lea esi, [edi + esi + 0x6ed9eba1]
rol edx, 0x1e
rol ebx, 1
mov dword [esp + 0x14], esi
rol esi, 5
add esi, ebx
mov dword [eax + 0x2c], ebx
mov ebx, dword [eax + 0x10]
xor ebx, dword [eax - 8]
mov edi, edx
xor edi, dword [esp + 0x18]
xor ebx, ecx
xor edi, dword [esp + 0x10]
xor ebx, dword [eax - 0x10]
add edi, esi
mov esi, dword [esp + 0x20]
lea esi, [esi + edi + 0x6ed9eba1]
mov edi, dword [esp + 0x18]
rol edi, 0x1e
rol ebx, 1
mov dword [eax + 0x24], ecx
mov dword [esp + 0x24], ebx
mov dword [eax + 0x30], ebx
mov ecx, esi
mov ebx, edx
rol ecx, 5
xor ebx, edi
xor ebx, dword [esp + 0x14]
add ecx, dword [esp + 0x24]
add eax, 0x14
add ebx, ecx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ebx + 0x6ed9eba1]
mov ebx, dword [esp + 0x14]
rol ebx, 0x1e
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jne 0x10031cd6
lea eax, [esp + 0xb0]
mov dword [esp + 0x18], 4
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax]
mov ebp, dword [eax - 0x18]
xor ecx, dword [eax + 0x14]
xor ecx, ebp
rol ecx, 1
mov ebp, ebx
or ebp, esi
and ebx, esi
and ebp, edi
or ebp, ebx
mov ebx, dword [eax - 0x14]
mov dword [esp + 0x28], ecx
add ebp, dword [esp + 0x28]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ebp, edx
rol ecx, 5
lea edx, [ecx + ebp - 0x70e44324]
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
rol esi, 0x1e
xor ecx, dword [eax + 4]
mov ebp, esi
xor ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov ebx, edx
mov edx, dword [esp + 0x10]
and esi, edx
or ebp, edx
and ebp, dword [esp + 0x14]
rol ecx, 1
or ebp, esi
mov esi, dword [eax + 0x1c]
xor esi, dword [eax + 8]
add ebp, ecx
add ebp, edi
rol ebx, 5
lea edi, [ebx + ebp - 0x70e44324]
mov ebx, dword [eax - 0x10]
mov ebp, dword [esp + 0x1c]
xor esi, ebx
xor esi, dword [eax - 0x18]
rol edx, 0x1e
or ebp, edx
and ebp, dword [esp + 0x20]
rol esi, 1
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
and edx, dword [esp + 0x10]
mov dword [eax + 0x28], esi
or ebp, edx
mov edx, dword [esp + 0x1c]
add ebp, esi
mov esi, dword [eax - 0xc]
xor esi, dword [eax + 0xc]
add ebp, dword [esp + 0x14]
xor esi, dword [esp + 0x28]
mov ebx, edi
xor esi, dword [eax - 0x14]
rol ebx, 5
rol edx, 0x1e
rol esi, 1
mov dword [esp + 0x24], esi
mov dword [eax + 0x2c], esi
lea ebx, [ebx + ebp - 0x70e44324]
mov esi, edx
or esi, edi
and esi, dword [esp + 0x10]
mov ebp, edx
and ebp, edi
or esi, ebp
add esi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
add esi, dword [esp + 0x20]
rol ebx, 5
lea esi, [esi + ebx - 0x70e44324]
mov ebx, dword [eax + 0x10]
mov dword [eax + 0x24], ecx
rol edi, 0x1e
xor ebx, dword [eax - 8]
mov ebp, edi
and ebp, dword [esp + 0x14]
xor ebx, ecx
xor ebx, dword [eax - 0x10]
mov ecx, esi
rol ebx, 1
mov dword [eax + 0x30], ebx
mov dword [esp + 0x24], ebx
mov ebx, edi
or ebx, dword [esp + 0x14]
rol ecx, 5
and ebx, edx
or ebx, ebp
add ebx, dword [esp + 0x24]
add eax, 0x14
add ebx, dword [esp + 0x10]
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, dword [esp + 0x14]
rol ebx, 0x1e
sub dword [esp + 0x18], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jne 0x10031e10
lea eax, [esp + 0x100]
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax]
mov ebp, dword [eax - 0x18]
xor ecx, dword [eax + 0x14]
xor ecx, ebp
rol ecx, 1
mov ebp, edi
xor ebp, ebx
xor ebp, esi
mov ebx, dword [eax - 0x14]
mov dword [esp + 0x28], ecx
add ebp, dword [esp + 0x28]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ebp, edx
rol ecx, 5
lea edx, [ecx + ebp - 0x359d3e2a]
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax + 0x18]
mov ebp, dword [esp + 0x14]
xor ecx, dword [eax + 4]
rol esi, 0x1e
xor ecx, ebx
xor ebp, esi
xor ebp, dword [esp + 0x10]
rol ecx, 1
add ebp, ecx
add ebp, edi
mov edi, dword [esp + 0x10]
mov ebx, edx
rol ebx, 5
lea ebp, [ebx + ebp - 0x359d3e2a]
mov ebx, dword [eax + 0x1c]
xor ebx, dword [eax + 8]
rol edi, 0x1e
mov dword [esp + 0x10], edi
mov edi, dword [eax - 0x10]
xor ebx, edi
xor ebx, dword [eax - 0x18]
mov edi, edx
rol ebx, 1
xor edi, esi
xor edi, dword [esp + 0x10]
mov dword [eax + 0x28], ebx
add edi, ebx
add edi, dword [esp + 0x14]
mov ebx, dword [eax - 0xc]
xor ebx, dword [eax + 0xc]
mov dword [esp + 0x18], ebp
xor ebx, dword [esp + 0x28]
rol ebp, 5
xor ebx, dword [eax - 0x14]
rol edx, 0x1e
rol ebx, 1
mov dword [esp + 0x20], esi
lea esi, [edi + ebp - 0x359d3e2a]
mov dword [eax + 0x2c], ebx
mov edi, edx
xor edi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
xor edi, dword [esp + 0x10]
rol esi, 5
add edi, ebx
add edi, dword [esp + 0x20]
mov ebx, dword [eax + 0x10]
xor ebx, dword [eax - 8]
lea esi, [edi + esi - 0x359d3e2a]
mov edi, dword [esp + 0x18]
xor ebx, ecx
xor ebx, dword [eax - 0x10]
rol edi, 0x1e
rol ebx, 1
mov dword [esp + 0x24], ebx
mov dword [eax + 0x30], ebx
mov ebx, edx
xor ebx, edi
xor ebx, dword [esp + 0x14]
mov dword [eax + 0x24], ecx
mov ecx, esi
rol ecx, 5
add ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x10]
add eax, 0x14
lea ecx, [ebx + ecx - 0x359d3e2a]
mov ebx, dword [esp + 0x14]
rol ebx, 0x1e
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jne 0x10031f70
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
add ecx, eax
mov eax, dword [esp + 0x174]
mov dword [eax], ecx
mov ecx, dword [ebp + 4]
add ecx, esi
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
add ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
add ecx, edi
pop edi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x10]
pop esi
add ecx, edx
pop ebp
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x160
ret 4