Function at 0x402184
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [edx + ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
lea edx, [eax + esi - 0x28955b88]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor eax, esi
mov esi, dword [ebp - 0x10]
and eax, esi
mov esi, dword [ebp - 0x1c]
xor eax, esi
mov esi, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0x1c]
rol eax, 7
add eax, esi
mov esi, dword [edi + 4]
xor ecx, eax
lea edx, [esi + edx - 0x173848aa]
mov esi, dword [ebp - 0x10]
xor ebx, esi
mov esi, dword [ebp - 0x18]
and ebx, eax
xor ebx, esi
mov esi, dword [edi + 8]
add ebx, edx
mov edx, dword [ebp - 0x18]
rol ebx, 0xc
add ebx, eax
lea edx, [esi + edx + 0x242070db]
mov esi, dword [ebp - 0x10]
and ecx, ebx
xor ecx, esi
mov esi, dword [edi + 0xc]
add ecx, edx
mov edx, dword [ebp - 0x10]
ror ecx, 0xf
lea esi, [esi + edx - 0x3e423112]
mov edx, eax
add ecx, ebx
xor edx, ebx
and edx, ecx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x10]
ror edx, 0xa
lea esi, [esi + eax - 0xa83f051]
mov eax, ebx
add edx, ecx
xor eax, ecx
and eax, edx
xor eax, ebx
add eax, esi
mov esi, dword [edi + 0x14]
rol eax, 7
lea esi, [esi + ebx + 0x4787c62a]
mov ebx, ecx
add eax, edx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, dword [edi + 0x18]
rol ebx, 0xc
lea esi, [esi + ecx - 0x57cfb9ed]
mov ecx, edx
add ebx, eax
xor ecx, eax
and ecx, ebx
xor ecx, edx
add ecx, esi
mov esi, dword [edi + 0x1c]
ror ecx, 0xf
lea esi, [esi + edx - 0x2b96aff]
mov edx, eax
add ecx, ebx
xor edx, ebx
and edx, ecx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x20]
ror edx, 0xa
lea esi, [esi + eax + 0x698098d8]
mov eax, ebx
add edx, ecx
xor eax, ecx
and eax, edx
xor eax, ebx
add eax, esi
mov esi, dword [edi + 0x24]
rol eax, 7
lea esi, [esi + ebx - 0x74bb0851]
mov ebx, ecx
add eax, edx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, dword [edi + 0x28]
rol ebx, 0xc
lea esi, [esi + ecx - 0xa44f]
mov ecx, edx
add ebx, eax
xor ecx, eax
and ecx, ebx
xor ecx, edx
add ecx, esi
mov esi, dword [edi + 0x2c]
ror ecx, 0xf
lea esi, [esi + edx - 0x76a32842]
mov edx, eax
add ecx, ebx
xor edx, ebx
and edx, ecx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x30]
ror edx, 0xa
lea esi, [esi + eax + 0x6b901122]
mov eax, ebx
add edx, ecx
xor eax, ecx
and eax, edx
xor eax, ebx
add eax, esi
mov esi, dword [edi + 0x34]
rol eax, 7
lea ebx, [esi + ebx - 0x2678e6d]
mov esi, ecx
add eax, edx
xor esi, edx
and esi, eax
xor esi, ecx
add esi, ebx
mov ebx, dword [edi + 0x38]
rol esi, 0xc
lea ebx, [ebx + ecx - 0x5986bc72]
mov ecx, edx
add esi, eax
xor ecx, eax
and ecx, esi
xor ecx, edx
add ecx, ebx
mov ebx, dword [edi + 0x3c]
ror ecx, 0xf
lea ebx, [ebx + edx + 0x49b40821]
mov edx, eax
add ecx, esi
xor edx, esi
and edx, ecx
xor edx, eax
add edx, ebx
mov ebx, dword [edi + 4]
ror edx, 0xa
add edx, ecx
lea eax, [ebx + eax - 0x9e1da9e]
mov ebx, ecx
xor ebx, edx
and ebx, esi
xor ebx, ecx
add ebx, eax
mov eax, dword [edi + 0x18]
rol ebx, 5
add ebx, edx
lea esi, [eax + esi - 0x3fbf4cc0]
mov eax, edx
xor eax, ebx
and eax, ecx
xor eax, edx
add eax, esi
mov esi, dword [edi + 0x2c]
rol eax, 9
add eax, ebx
lea esi, [esi + ecx + 0x265e5a51]
mov ecx, ebx
xor ecx, eax
and ecx, edx
xor ecx, ebx
add ecx, esi
mov esi, dword [edi]
rol ecx, 0xe
add ecx, eax
lea esi, [esi + edx - 0x16493856]
mov edx, eax
xor edx, ecx
and edx, ebx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x14]
ror edx, 0xc
add edx, ecx
lea esi, [esi + ebx - 0x29d0efa3]
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, dword [edi + 0x28]
rol ebx, 5
add ebx, edx
lea esi, [esi + eax + 0x2441453]
mov eax, edx
xor eax, ebx
and eax, ecx
xor eax, edx
add eax, esi
mov esi, dword [edi + 0x3c]
rol eax, 9
add eax, ebx
lea esi, [esi + ecx - 0x275e197f]
mov ecx, ebx
xor ecx, eax
and ecx, edx
xor ecx, ebx
add ecx, esi
mov esi, dword [edi + 0x10]
rol ecx, 0xe
add ecx, eax
lea esi, [esi + edx - 0x182c0438]
mov edx, eax
xor edx, ecx
and edx, ebx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x24]
ror edx, 0xc
add edx, ecx
lea esi, [esi + ebx + 0x21e1cde6]
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, dword [edi + 0x38]
rol ebx, 5
add ebx, edx
lea esi, [esi + eax - 0x3cc8f82a]
mov eax, edx
xor eax, ebx
and eax, ecx
xor eax, edx
add eax, esi
mov esi, dword [edi + 0xc]
rol eax, 9
add eax, ebx
lea esi, [esi + ecx - 0xb2af279]
mov ecx, ebx
xor ecx, eax
and ecx, edx
xor ecx, ebx
add ecx, esi
mov esi, dword [edi + 0x20]
rol ecx, 0xe
add ecx, eax
lea esi, [esi + edx + 0x455a14ed]
mov edx, eax
xor edx, ecx
and edx, ebx
xor edx, eax
add edx, esi
mov esi, dword [edi + 0x34]
ror edx, 0xc
add edx, ecx
lea esi, [esi + ebx - 0x561c16fb]
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, dword [edi + 8]
rol ebx, 5
add ebx, edx
lea esi, [esi + eax - 0x3105c08]
mov eax, edx
xor eax, ebx
and eax, ecx
xor eax, edx
add eax, esi
mov esi, dword [edi + 0x1c]
rol eax, 9
add eax, ebx
lea esi, [esi + ecx + 0x676f02d9]
mov ecx, ebx
xor ecx, eax
and ecx, edx
xor ecx, ebx
add ecx, esi
mov esi, dword [edi + 0x30]
rol ecx, 0xe
add ecx, eax
lea esi, [esi + edx - 0x72d5b376]
mov edx, eax
xor edx, ecx
and edx, ebx
xor edx, eax
add edx, esi
ror edx, 0xc
lea esi, [edx + ecx]
mov dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x20]
mov esi, ecx
xor esi, edx
mov edx, dword [edi + 0x14]
lea ebx, [edx + ebx - 0x5c6be]
mov edx, esi
xor edx, eax
add ebx, edx
mov edx, dword [ebp - 0x20]
rol ebx, 4
add ebx, edx
mov edx, dword [edi + 0x20]
xor esi, ebx
lea eax, [edx + eax - 0x788e097f]
mov edx, dword [ebp - 0x20]
add esi, eax
rol esi, 0xb
lea eax, [ebx + esi]
mov esi, ebx
xor esi, eax
mov dword [ebp - 0x24], esi
mov esi, dword [edi + 0x2c]
lea ecx, [esi + ecx + 0x6d9d6122]
mov esi, dword [ebp - 0x24]
xor esi, edx
mov edx, dword [edi + 0x38]
add esi, ecx
mov ecx, dword [ebp - 0x20]
rol esi, 0x10
lea edx, [edx + ecx - 0x21ac7f4]
mov ecx, dword [ebp - 0x24]
add esi, eax
xor ecx, esi
add edx, ecx
ror edx, 9
lea ecx, [esi + edx]
mov edx, esi
xor edx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
lea ebx, [ecx + ebx - 0x5b4115bc]
mov ecx, edx
xor ecx, eax
add ebx, ecx
mov ecx, dword [ebp - 0x20]
rol ebx, 4
add ebx, ecx
mov ecx, dword [edi + 0x10]
xor edx, ebx
lea eax, [ecx + eax + 0x4bdecfa9]
mov ecx, dword [edi + 0x1c]
add edx, eax
mov eax, ebx
rol edx, 0xb
lea esi, [ecx + esi - 0x944b4a0]
add edx, ebx
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x20]
xor eax, edx
mov ecx, eax
xor ecx, esi
mov esi, dword [ebp - 0x24]
add esi, ecx
mov ecx, dword [ebp - 0x20]
rol esi, 0x10
add esi, edx
mov dword [ebp - 0x24], esi
mov esi, dword [edi + 0x28]
lea ecx, [esi + ecx - 0x41404390]
mov esi, dword [ebp - 0x24]
xor eax, esi
add eax, ecx
mov ecx, esi
ror eax, 9
add eax, esi
mov esi, dword [edi + 0x34]
xor ecx, eax
lea ebx, [esi + ebx + 0x289b7ec6]
mov esi, ecx
xor esi, edx
add esi, ebx
mov ebx, dword [edi]
rol esi, 4
add esi, eax
lea ebx, [ebx + edx - 0x155ed806]
mov edx, dword [ebp - 0x24]
xor ecx, esi
add ecx, ebx
rol ecx, 0xb
lea ebx, [esi + ecx]
mov ecx, esi
mov dword [ebp - 0x20], ebx
xor ecx, ebx
mov ebx, dword [edi + 0xc]
lea ebx, [ebx + edx - 0x2b10cf7b]
mov edx, ecx
xor edx, eax
add ebx, edx
mov edx, dword [ebp - 0x20]
rol ebx, 0x10
add ebx, edx
mov edx, dword [edi + 0x18]
xor ecx, ebx
lea eax, [edx + eax + 0x4881d05]
mov edx, dword [edi + 0x24]
add ecx, eax
mov eax, ebx
ror ecx, 9
lea esi, [edx + esi - 0x262b2fc7]
add ecx, ebx
xor eax, ecx
mov dword [ebp - 0x24], eax
mov edx, eax
mov eax, dword [ebp - 0x20]
xor edx, eax
add esi, edx
mov edx, dword [edi + 0x30]
rol esi, 4
lea edx, [edx + eax - 0x1924661b]
mov eax, dword [ebp - 0x24]
add esi, ecx
xor eax, esi
add eax, edx
rol eax, 0xb
add eax, esi
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, esi
xor eax, edx
mov edx, dword [edi + 0x3c]
lea ebx, [edx + ebx + 0x1fa27cf8]
mov edx, eax
xor edx, ecx
add ebx, edx
mov edx, dword [ebp - 0x20]
rol ebx, 0x10
add ebx, edx
mov edx, dword [edi + 8]
xor eax, ebx
lea ecx, [edx + ecx - 0x3b53a99b]
mov edx, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [edi]
ror eax, 9
not edx
add eax, ebx
lea esi, [ecx + esi - 0xbd6ddbc]
mov ecx, edx
mov edx, dword [ebp - 0x20]
or ecx, eax
xor ecx, ebx
add ecx, esi
mov esi, dword [edi + 0x1c]
rol ecx, 6
lea edx, [esi + edx + 0x432aff97]
mov esi, ebx
add ecx, eax
not esi
or esi, ecx
xor esi, eax
add esi, edx
mov edx, dword [edi + 0x38]
rol esi, 0xa
lea edx, [edx + ebx - 0x546bdc59]
mov ebx, eax
add esi, ecx
not ebx
or ebx, esi
xor ebx, ecx
add ebx, edx
mov edx, dword [edi + 0x14]
rol ebx, 0xf
lea eax, [edx + eax - 0x36c5fc7]
mov edx, ecx
add ebx, esi
not edx
or edx, ebx
xor edx, esi
add edx, eax
mov eax, dword [edi + 0x30]
ror edx, 0xb
lea eax, [eax + ecx + 0x655b59c3]
mov ecx, esi
add edx, ebx
not ecx
or ecx, edx
xor ecx, ebx
add ecx, eax
mov eax, dword [edi + 0xc]
rol ecx, 6
lea eax, [eax + esi - 0x70f3336e]
mov esi, ebx
add ecx, edx
not esi
or esi, ecx
xor esi, edx
add esi, eax
mov eax, dword [edi + 0x28]
rol esi, 0xa
lea ebx, [eax + ebx - 0x100b83]
mov eax, edx
add esi, ecx
not eax
or eax, esi
xor eax, ecx
add eax, ebx
mov ebx, dword [edi + 4]
rol eax, 0xf
lea edx, [ebx + edx - 0x7a7ba22f]
mov ebx, ecx
add eax, esi
not ebx
or ebx, eax
xor ebx, esi
add ebx, edx
mov edx, dword [edi + 0x20]
ror ebx, 0xb
lea edx, [edx + ecx + 0x6fa87e4f]
mov ecx, esi
add ebx, eax
not ecx
or ecx, ebx
xor ecx, eax
add ecx, edx
mov edx, dword [edi + 0x3c]
rol ecx, 6
lea esi, [edx + esi - 0x1d31920]
mov edx, eax
add ecx, ebx
not edx
or edx, ecx
xor edx, ebx
add edx, esi
mov esi, dword [edi + 0x18]
rol edx, 0xa
lea eax, [esi + eax - 0x5cfebcec]
mov esi, ebx
add edx, ecx
not esi
or esi, edx
xor esi, ecx
add esi, eax
mov eax, dword [edi + 0x34]
rol esi, 0xf
lea eax, [eax + ebx + 0x4e0811a1]
mov ebx, ecx
add esi, edx
not ebx
or ebx, esi
xor ebx, edx
add ebx, eax
mov eax, dword [edi + 0x10]
ror ebx, 0xb
lea ecx, [eax + ecx - 0x8ac817e]
mov eax, edx
add ebx, esi
not eax
or eax, ebx
add edi, 0x40
xor eax, esi
add eax, ecx
mov ecx, dword [edi - 0x14]
rol eax, 6
lea ecx, [ecx + edx - 0x42c50dcb]
mov edx, esi
add eax, ebx
add dword [ebp - 0x28], eax
not edx
or edx, eax
xor edx, ebx
add edx, ecx
mov ecx, dword [edi - 0x38]
rol edx, 0xa
lea esi, [ecx + esi + 0x2ad7d2bb]
mov ecx, ebx
add edx, eax
add dword [ebp - 0x1c], edx
not ecx
or ecx, edx
xor ecx, eax
add ecx, esi
mov esi, dword [edi - 0x1c]
rol ecx, 0xf
lea esi, [esi + ebx - 0x14792c6f]
mov ebx, eax
add ecx, edx
add dword [ebp - 0x18], ecx
not ebx
or ebx, ecx
xor ebx, edx
add ebx, esi
mov esi, dword [ebp - 0x10]
ror ebx, 0xb
add esi, ecx
lea eax, [ebx + esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jne 0x4021b9
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov dword [eax + 8], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x10], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [eax + 0x14], ebx
add esp, 0x20
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret