Function at 0x590e0190
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.5908a310
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [ecx + 8]
push ebp
mov ebp, dword [ecx + 4]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x590e0b23
inc edx
push edi
mov dword [esp + 0x4c], edx
xor edx, edx
mov dl, byte [eax]
inc eax
mov esi, edx
xor edx, edx
mov dh, byte [eax]
or esi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or esi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
or esi, edx
inc eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dl, byte [eax]
inc eax
mov edi, edx
xor edx, edx
mov dh, byte [eax]
or edi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or edi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
or edi, edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x24], edi
mov edi, edx
xor edi, ebx
inc eax
and edi, ebp
xor edi, edx
mov edx, dword [ecx]
add edi, esi
lea esi, [edi + edx - 0x28955b88]
xor edx, edx
mov dl, byte [eax]
rol esi, 7
add esi, ebp
mov edi, edx
inc eax
xor edx, edx
mov dh, byte [eax]
or edi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or edi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x18
or edi, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edi
mov edi, ebx
xor edi, ebp
inc eax
and edi, esi
xor edi, ebx
add edi, edx
mov edx, dword [ecx + 0xc]
lea edi, [edi + edx - 0x173848aa]
xor edx, edx
mov dl, byte [eax]
rol edi, 0xc
add edi, esi
inc eax
xor ebx, ebx
mov bh, byte [eax]
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, ebp
xor ebx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
and ebx, edi
xor ebx, ebp
mov ebp, dword [esp + 0x40]
add ebx, ebp
inc eax
lea ebp, [ebx + edx + 0x242070db]
xor edx, edx
mov dl, byte [eax]
xor ebx, ebx
mov bh, byte [eax + 1]
rol ebp, 0x11
add ebp, edi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, edi
xor ebx, esi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
and ebx, ebp
xor ebx, esi
inc eax
add ebx, edx
mov edx, dword [ecx + 4]
lea edx, [ebx + edx - 0x3e423112]
xor ebx, ebx
rol edx, 0x16
add edx, ebp
mov bh, byte [eax + 1]
mov dword [esp + 0x58], edx
xor edx, edx
mov dl, byte [eax]
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov edx, edi
xor edx, ebp
inc eax
and edx, ebx
mov ebx, dword [esp + 0x38]
xor edx, edi
add edx, ebx
lea esi, [edx + esi - 0xa83f051]
mov edx, dword [esp + 0x58]
rol esi, 7
add esi, edx
xor edx, edx
mov dl, byte [eax]
inc eax
xor ebx, ebx
mov bh, byte [eax]
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x30], edx
mov edx, ebp
xor edx, ebx
mov ebx, dword [esp + 0x14]
and edx, esi
inc eax
xor edx, ebp
add edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
lea edi, [edx + edi + 0x4787c62a]
xor edx, edx
mov dl, byte [eax]
rol edi, 0xc
add edi, esi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
inc eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
mov edx, dword [esp + 0x30]
add ebx, edx
xor edx, edx
mov dl, byte [eax]
lea ebp, [ebx + ebp - 0x57cfb9ed]
xor ebx, ebx
mov bh, byte [eax + 1]
rol ebp, 0x11
add ebp, edi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
mov edx, edi
xor edx, esi
inc eax
and edx, ebp
xor edx, esi
add edx, ebx
mov ebx, dword [esp + 0x58]
lea edx, [edx + ebx - 0x2b96aff]
xor ebx, ebx
rol edx, 0x16
add edx, ebp
mov bh, byte [eax + 1]
mov dword [esp + 0x58], edx
xor edx, edx
mov dl, byte [eax]
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
mov edx, edi
xor edx, ebp
inc eax
and edx, ebx
mov ebx, dword [esp + 0x28]
xor edx, edi
add edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
lea esi, [edx + esi + 0x698098d8]
mov edx, dword [esp + 0x58]
rol esi, 7
add esi, edx
xor edx, edx
mov dl, byte [eax]
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x20], edx
mov edx, ebp
xor edx, ebx
mov ebx, dword [esp + 0x44]
and edx, esi
inc eax
xor edx, ebp
add edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
lea edi, [edx + edi - 0x74bb0851]
xor edx, edx
mov dl, byte [eax]
rol edi, 0xc
add edi, esi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
inc eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x58]
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
mov edx, dword [esp + 0x20]
add ebx, edx
xor edx, edx
mov dl, byte [eax]
lea ebp, [ebx + ebp - 0xa44f]
xor ebx, ebx
mov bh, byte [eax + 1]
rol ebp, 0x11
add ebp, edi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov edx, edi
xor edx, esi
inc eax
and edx, ebp
xor edx, esi
add edx, ebx
mov ebx, dword [esp + 0x58]
lea edx, [edx + ebx - 0x76a32842]
xor ebx, ebx
rol edx, 0x16
add edx, ebp
mov bh, byte [eax + 1]
mov dword [esp + 0x58], edx
xor edx, edx
mov dl, byte [eax]
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], edx
mov edx, edi
xor edx, ebp
inc eax
and edx, ebx
mov ebx, dword [esp + 0x18]
xor edx, edi
add edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
lea esi, [edx + esi + 0x6b901122]
mov edx, dword [esp + 0x58]
rol esi, 7
add esi, edx
xor edx, edx
mov dl, byte [eax]
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, ebp
xor edx, ebx
mov ebx, dword [esp + 0x34]
and edx, esi
inc eax
xor edx, ebp
add edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
lea edi, [edx + edi - 0x2678e6d]
xor edx, edx
mov dl, byte [eax]
rol edi, 0xc
add edi, esi
inc eax
or edx, ebx
inc eax
xor ebx, ebx
mov dword [esp + 0x54], edi
mov bl, byte [eax]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
shl ebx, 0x18
or edx, ebx
inc eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
mov edx, dword [esp + 0x10]
add ebx, edx
mov edx, edi
xor edx, esi
lea ebp, [ebx + ebp - 0x5986bc72]
mov ebx, dword [esp + 0x2c]
rol ebp, 0x11
add ebp, edi
and edx, ebp
xor edx, esi
add edx, ebx
mov ebx, dword [esp + 0x58]
lea edx, [edx + ebx + 0x49b40821]
mov ebx, ebp
rol edx, 0x16
add edx, ebp
xor ebx, edx
and ebx, edi
mov edi, dword [esp + 0x24]
xor ebx, ebp
add ebx, edi
mov edi, edx
lea esi, [ebx + esi - 0x9e1da9e]
mov ebx, dword [esp + 0x30]
rol esi, 5
add esi, edx
xor edi, esi
and edi, ebp
xor edi, edx
add edi, ebx
mov ebx, dword [esp + 0x54]
lea edi, [edi + ebx - 0x3fbf4cc0]
mov ebx, dword [esp + 0x3c]
rol edi, 9
add edi, esi
mov dword [esp + 0x54], edi
xor edi, esi
and edi, edx
xor edi, esi
add edi, ebx
lea ebp, [edi + ebp + 0x265e5a51]
mov edi, dword [esp + 0x54]
rol ebp, 0xe
add ebp, edi
mov ebx, edi
xor ebx, ebp
and ebx, esi
xor ebx, edi
mov edi, dword [esp + 0x48]
add ebx, edi
mov edi, ebp
lea edx, [ebx + edx - 0x16493856]
mov ebx, dword [esp + 0x54]
rol edx, 0x14
add edx, ebp
xor edi, edx
and edi, ebx
mov ebx, dword [esp + 0x14]
xor edi, ebp
add edi, ebx
mov ebx, dword [esp + 0x20]
lea esi, [edi + esi - 0x29d0efa3]
mov edi, edx
rol esi, 5
add esi, edx
xor edi, esi
and edi, ebp
xor edi, edx
add edi, ebx
mov ebx, dword [esp + 0x54]
lea edi, [edi + ebx + 0x2441453]
mov ebx, dword [esp + 0x2c]
rol edi, 9
add edi, esi
mov dword [esp + 0x54], edi
xor edi, esi
and edi, edx
xor edi, esi
add edi, ebx
lea ebp, [edi + ebp - 0x275e197f]
mov edi, dword [esp + 0x54]
rol ebp, 0xe
add ebp, edi
mov ebx, edi
xor ebx, ebp
and ebx, esi
xor ebx, edi
mov edi, dword [esp + 0x38]
add ebx, edi
mov edi, ebp
lea edx, [ebx + edx - 0x182c0438]
mov ebx, dword [esp + 0x54]
rol edx, 0x14
add edx, ebp
xor edi, edx
and edi, ebx
mov ebx, dword [esp + 0x44]
xor edi, ebp
add edi, ebx
mov ebx, dword [esp + 0x10]
lea esi, [edi + esi + 0x21e1cde6]
mov edi, edx
rol esi, 5
add esi, edx
xor edi, esi
and edi, ebp
xor edi, edx
add edi, ebx
mov ebx, dword [esp + 0x54]
lea edi, [edi + ebx - 0x3cc8f82a]
mov ebx, dword [esp + 0x1c]
rol edi, 9
add edi, esi
mov dword [esp + 0x54], edi
xor edi, esi
and edi, edx
xor edi, esi
add edi, ebx
lea ebp, [edi + ebp - 0xb2af279]
mov edi, dword [esp + 0x54]
rol ebp, 0xe
add ebp, edi
mov ebx, edi
xor ebx, ebp
and ebx, esi
xor ebx, edi
mov edi, dword [esp + 0x28]
add ebx, edi
mov edi, ebp
lea edx, [ebx + edx + 0x455a14ed]
mov ebx, dword [esp + 0x54]
rol edx, 0x14
add edx, ebp
xor edi, edx
and edi, ebx
mov ebx, dword [esp + 0x34]
xor edi, ebp
add edi, ebx
mov ebx, dword [esp + 0x40]
lea esi, [edi + esi - 0x561c16fb]
mov edi, edx
rol esi, 5
add esi, edx
xor edi, esi
and edi, ebp
xor edi, edx
add edi, ebx
mov ebx, dword [esp + 0x54]
lea edi, [edi + ebx - 0x3105c08]
mov ebx, dword [esp + 0x5c]
rol edi, 9
add edi, esi
mov dword [esp + 0x54], edi
xor edi, esi
and edi, edx
xor edi, esi
add edi, ebx
lea ebp, [edi + ebp + 0x676f02d9]
mov edi, dword [esp + 0x54]
rol ebp, 0xe
add ebp, edi
mov ebx, edi
xor ebx, ebp
mov dword [esp + 0x58], ebx
and ebx, esi
xor ebx, edi
mov edi, dword [esp + 0x18]
add ebx, edi
mov edi, dword [esp + 0x58]
lea edx, [ebx + edx - 0x72d5b376]
mov ebx, dword [esp + 0x14]
rol edx, 0x14
add edx, ebp
xor edi, edx
add edi, ebx
mov ebx, dword [esp + 0x28]
lea esi, [edi + esi - 0x5c6be]
mov edi, ebp
rol esi, 4
add esi, edx
xor edi, edx
xor edi, esi
add edi, ebx
mov ebx, dword [esp + 0x54]
lea edi, [edi + ebx - 0x788e097f]
rol edi, 0xb
add edi, esi
mov ebx, edi
xor ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x3c]
lea ebp, [ebx + ebp + 0x6d9d6122]
mov ebx, edi
rol ebp, 0x10
add ebp, edi
xor ebx, ebp
mov dword [esp + 0x58], ebx
xor ebx, esi
add ebx, dword [esp + 0x10]
lea edx, [ebx + edx - 0x21ac7f4]
mov ebx, dword [esp + 0x58]
rol edx, 0x17
add edx, ebp
xor ebx, edx
add ebx, dword [esp + 0x24]
lea esi, [ebx + esi - 0x5b4115bc]
mov ebx, ebp
rol esi, 4
xor ebx, edx
add esi, edx
xor ebx, esi
add ebx, dword [esp + 0x38]
lea edi, [ebx + edi + 0x4bdecfa9]
rol edi, 0xb
add edi, esi
mov ebx, edi
xor ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x5c]
lea ebp, [ebx + ebp - 0x944b4a0]
mov ebx, edi
rol ebp, 0x10
add ebp, edi
xor ebx, ebp
mov dword [esp + 0x58], ebx
xor ebx, esi
add ebx, dword [esp + 0x20]
lea edx, [ebx + edx - 0x41404390]
mov ebx, dword [esp + 0x58]
rol edx, 0x17
add edx, ebp
xor ebx, edx
add ebx, dword [esp + 0x34]
lea esi, [ebx + esi + 0x289b7ec6]
mov ebx, ebp
rol esi, 4
add esi, edx
xor ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x48]
lea edi, [ebx + edi - 0x155ed806]
rol edi, 0xb
add edi, esi
mov ebx, edi
xor ebx, edx
xor ebx, esi
add ebx, dword [esp + 0x1c]
lea ebp, [ebx + ebp - 0x2b10cf7b]
mov ebx, edi
rol ebp, 0x10
add ebp, edi
xor ebx, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
xor ebx, esi
add ebx, dword [esp + 0x30]
lea edx, [ebx + edx + 0x4881d05]
mov ebx, dword [esp + 0x58]
rol edx, 0x17
add edx, ebp
xor ebx, edx
xor ebp, edx
add ebx, dword [esp + 0x44]
lea esi, [ebx + esi - 0x262b2fc7]
mov ebx, dword [esp + 0x18]
rol esi, 4
add esi, edx
xor ebp, esi
add ebp, ebx
lea edi, [edi + ebp - 0x1924661b]
mov ebp, dword [esp + 0x2c]
rol edi, 0xb
add edi, esi
mov ebx, edi
xor ebx, edx
xor ebx, esi
add ebx, ebp
mov ebp, dword [esp + 0x54]
lea ebx, [ebx + ebp + 0x1fa27cf8]
mov ebp, edi
rol ebx, 0x10
add ebx, edi
xor ebp, ebx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x40]
xor ebp, esi
add ebp, ebx
mov ebx, dword [esp + 0x54]
lea edx, [edx + ebp - 0x3b53a99b]
mov ebp, dword [esp + 0x54]
rol edx, 0x17
add edx, ebx
mov ebx, edi
not ebx
or ebx, edx
xor ebx, ebp
mov ebp, dword [esp + 0x48]
add ebx, ebp
lea esi, [ebx + esi - 0xbd6ddbc]
mov ebx, dword [esp + 0x54]
rol esi, 6
mov ebp, ebx
add esi, edx
not ebp
or ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x5c]
lea edi, [edi + ebp + 0x432aff97]
mov ebp, edx
rol edi, 0xa
not ebp
add edi, esi
or ebp, edi
xor ebp, esi
add ebp, dword [esp + 0x10]
lea ebx, [ebx + ebp - 0x546bdc59]
mov ebp, esi
rol ebx, 0xf
add ebx, edi
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x14]
lea edx, [edx + ebp - 0x36c5fc7]
mov ebp, edi
rol edx, 0x15
add edx, ebx
not ebp
or ebp, edx
xor ebp, ebx
add ebp, dword [esp + 0x18]
lea esi, [esi + ebp + 0x655b59c3]
mov ebp, ebx
rol esi, 6
add esi, edx
not ebp
or ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x1c]
lea edi, [edi + ebp - 0x70f3336e]
mov ebp, edx
rol edi, 0xa
add edi, esi
not ebp
or ebp, edi
xor ebp, esi
add ebp, dword [esp + 0x20]
lea ebx, [ebx + ebp - 0x100b83]
mov ebp, esi
rol ebx, 0xf
add ebx, edi
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x24]
lea edx, [edx + ebp - 0x7a7ba22f]
mov ebp, edi
rol edx, 0x15
add edx, ebx
not ebp
or ebp, edx
xor ebp, ebx
add ebp, dword [esp + 0x28]
lea esi, [esi + ebp + 0x6fa87e4f]
mov ebp, ebx
rol esi, 6
add esi, edx
not ebp
or ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x2c]
lea edi, [edi + ebp - 0x1d31920]
mov ebp, edx
rol edi, 0xa
not ebp
add edi, esi
or ebp, edi
xor ebp, esi
add ebp, dword [esp + 0x30]
lea ebx, [ebx + ebp - 0x5cfebcec]
mov ebp, esi
rol ebx, 0xf
add ebx, edi
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x34]
lea edx, [edx + ebp + 0x4e0811a1]
mov ebp, edi
rol edx, 0x15
add edx, ebx
not ebp
or ebp, edx
xor ebp, ebx
add ebp, dword [esp + 0x38]
lea esi, [esi + ebp - 0x8ac817e]
mov ebp, ebx
rol esi, 6
add esi, edx
not ebp
or ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x3c]
lea edi, [edi + ebp - 0x42c50dcb]
mov ebp, edx
rol edi, 0xa
add edi, esi
not ebp
or ebp, edi
xor ebp, esi
add ebp, dword [esp + 0x40]
lea ebx, [ebx + ebp + 0x2ad7d2bb]
mov ebp, esi
rol ebx, 0xf
add ebx, edi
not ebp
or ebp, ebx
xor ebp, edi
add ebp, dword [esp + 0x44]
lea ebp, [edx + ebp - 0x14792c6f]
mov edx, dword [ecx]
rol ebp, 0x15
add edx, esi
mov esi, dword [ecx + 4]
add ebp, ebx
mov dword [ecx], edx
mov edx, dword [ecx + 8]
add esi, ebp
add edx, ebx
mov dword [ecx + 4], esi
mov ebp, esi
mov esi, dword [ecx + 0xc]
mov dword [ecx + 8], edx
mov ebx, edx
mov edx, dword [esp + 0x4c]
add esi, edi
dec edx
mov dword [ecx + 0xc], esi
mov dword [esp + 0x4c], edx
jne 0x590e01c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret