Function at 0x404f10
Capabilities:
Encode data using xor

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