Function at 0x590704
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x591070
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ecx
push edi
mov edi, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
movzx eax, byte [edi + 1]
shl eax, 8
movzx ecx, byte [edi]
or ecx, eax
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or edx, eax
mov dword [ebp - 0x20], ecx
movzx eax, byte [edi + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
or edx, eax
mov eax, dword [ebp - 0x1c]
xor eax, esi
mov dword [ebp - 0x38], edx
and eax, ebx
movzx esi, byte [edi + 8]
xor eax, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0xd76aa478
add ecx, eax
movzx eax, byte [edi + 9]
shl eax, 8
or esi, eax
rol ecx, 7
movzx eax, byte [edi + 0xa]
add ecx, ebx
shl eax, 0x10
or esi, eax
movzx eax, byte [edi + 0xb]
shl eax, 0x18
or esi, eax
mov eax, dword [ebp - 0xc]
xor eax, ebx
mov dword [ebp - 0x3c], esi
movzx ebx, byte [edi + 0xc]
and eax, ecx
xor eax, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 0x1c]
add edx, 0xe8c7b756
add edx, eax
movzx eax, byte [edi + 0xd]
shl eax, 8
or ebx, eax
rol edx, 0xc
movzx eax, byte [edi + 0xe]
add edx, ecx
shl eax, 0x10
or ebx, eax
movzx eax, byte [edi + 0xf]
shl eax, 0x18
add edi, 0x10
or ebx, eax
mov dword [ebp + 0xc], edi
mov eax, dword [ebp - 0x10]
xor eax, ecx
mov dword [ebp - 0x30], ebx
movzx edi, byte [edi]
and eax, edx
xor eax, dword [ebp - 0x10]
add eax, esi
mov esi, dword [ebp - 0xc]
add esi, 0x242070db
add esi, eax
mov eax, dword [ebp + 0xc]
ror esi, 0xf
add esi, edx
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or edi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or edi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or edi, eax
inc dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov eax, edx
xor eax, ecx
mov edi, dword [ebp - 0x10]
and eax, esi
add edi, 0xc1bdceee
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [ebp + 0xc]
ror edi, 0xa
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 0x28], ebx
xor eax, esi
and eax, edi
xor eax, edx
add eax, 0xf57c0faf
add eax, dword [ebp - 0x18]
add ecx, eax
mov eax, dword [ebp + 0xc]
rol ecx, 7
add ecx, edi
movzx eax, byte [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 0xc], eax
inc dword [ebp + 0xc]
add ebx, 0x4787c62a
mov eax, esi
xor eax, edi
and eax, ecx
xor eax, esi
add eax, ebx
add edx, eax
mov eax, dword [ebp + 0xc]
rol edx, 0xc
add edx, ecx
movzx ebx, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp + 0xc]
mov eax, edi
mov dword [ebp - 0x24], ebx
xor eax, ecx
add ebx, 0xfd469501
and eax, edx
xor eax, edi
add eax, 0xa8304613
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp + 0xc]
ror esi, 0xf
add esi, edx
movzx eax, byte [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 4], eax
mov eax, edx
inc dword [ebp + 0xc]
xor eax, ecx
and eax, esi
xor eax, ecx
add eax, ebx
add edi, eax
mov eax, dword [ebp + 0xc]
ror edi, 0xa
add edi, esi
movzx ebx, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
inc dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 0x1c], ebx
xor eax, esi
lea ebx, [ecx + 0x698098d8]
and eax, edi
xor eax, edx
add eax, dword [ebp - 4]
add ebx, eax
mov eax, dword [ebp + 0xc]
rol ebx, 7
add ebx, edi
movzx ecx, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or ecx, eax
inc dword [ebp + 0xc]
mov eax, esi
mov dword [ebp - 0x34], ecx
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x8b44f7af
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, dword [ebp + 0xc]
rol edx, 0xc
add edx, ebx
mov dword [ebp - 0x40], edx
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 0x10], eax
mov eax, edi
inc dword [ebp + 0xc]
xor eax, ebx
and eax, edx
xor eax, edi
add eax, ecx
lea ecx, [esi - 0xa44f]
add ecx, eax
ror ecx, 0xf
add ecx, edx
mov eax, dword [ebp + 0xc]
movzx esi, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or esi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or esi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or esi, eax
inc dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 0x2c], esi
xor eax, ebx
lea edx, [edi - 0x76a32842]
and eax, ecx
xor eax, ebx
add eax, dword [ebp - 0x10]
add edx, eax
mov eax, dword [ebp + 0xc]
ror edx, 0xa
add edx, ecx
movzx edi, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or edi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or edi, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or edi, eax
inc dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x40]
mov eax, edi
xor eax, ecx
and eax, edx
xor eax, edi
add eax, esi
lea esi, [ebx + 0x6b901122]
add esi, eax
mov eax, dword [ebp + 0xc]
rol esi, 7
add esi, edx
movzx ebx, byte [eax]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or ebx, eax
mov dword [ebp - 0x40], ebx
inc dword [ebp + 0xc]
mov eax, ecx
xor eax, edx
add edi, 0xfd987193
and eax, esi
xor eax, ecx
add eax, dword [ebp - 0x14]
add edi, eax
mov eax, dword [ebp + 0xc]
rol edi, 0xc
add edi, esi
movzx eax, byte [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 8
or dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x10
or dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
shl eax, 0x18
or dword [ebp - 8], eax
mov eax, edx
xor eax, esi
inc dword [ebp + 0xc]
and eax, edi
xor eax, edx
add eax, 0xa679438e
add eax, ebx
add ecx, eax
mov eax, edi
xor eax, esi
ror ecx, 0xf
add ecx, edi
and eax, ecx
xor eax, esi
add eax, 0x49b40821
add eax, dword [ebp - 8]
add edx, eax
mov eax, ecx
ror edx, 0xa
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xf61e2562
add eax, dword [ebp - 0x38]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc040b340
add eax, dword [ebp - 0xc]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x265e5a51
add eax, dword [ebp - 0x10]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, ecx
ror edx, 0xc
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xd62f105d
add eax, dword [ebp - 0x28]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0x2441453
add eax, dword [ebp - 0x34]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xd8a1e681
add eax, dword [ebp - 8]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x18]
add edx, eax
mov eax, ecx
ror edx, 0xc
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0x21e1cde6
add eax, dword [ebp - 0x1c]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xc33707d6
add eax, ebx
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xf4d50d87
add eax, dword [ebp - 0x30]
add ecx, eax
mov eax, edi
rol ecx, 0xe
add ecx, edi
xor eax, ecx
and eax, esi
xor eax, edi
add eax, 0x455a14ed
add eax, dword [ebp - 4]
add edx, eax
mov eax, ecx
ror edx, 0xc
add edx, ecx
xor eax, edx
and eax, edi
xor eax, ecx
add eax, 0xa9e3e905
lea ebx, [ecx + 0x676f02d9]
add eax, dword [ebp - 0x14]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ecx
xor eax, edx
add eax, 0xfcefa3f8
add eax, dword [ebp - 0x3c]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, dword [ebp - 0x24]
add ebx, eax
rol ebx, 0xe
add ebx, edi
xor ecx, ebx
mov eax, ecx
and eax, esi
xor eax, edi
add eax, 0x8d2a4c8a
add eax, dword [ebp - 0x2c]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0xfffa3942
add ecx, dword [ebp - 0x28]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x8771f681
add eax, dword [ebp - 4]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, edx
xor eax, esi
add eax, 0x6d9d6122
add eax, dword [ebp - 0x10]
add ebx, eax
rol ebx, 0x10
add ebx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xfde5380c
add eax, dword [ebp - 0x40]
add edx, eax
mov eax, ebx
ror edx, 9
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, 0xa4beea44
add ecx, dword [ebp - 0x38]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x18]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
xor eax, edx
xor eax, esi
add eax, 0xf6bb4b60
mov ecx, edi
add eax, dword [ebp - 0x24]
add ebx, eax
rol ebx, 0x10
add ebx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add eax, 0xbebfbc70
add eax, dword [ebp - 0x34]
add edx, eax
mov eax, ebx
ror edx, 9
add edx, ebx
xor eax, edx
xor ecx, edx
add ecx, 0x289b7ec6
add ecx, dword [ebp - 0x14]
add esi, ecx
rol esi, 4
add esi, edx
xor eax, esi
add eax, 0xeaa127fa
add eax, dword [ebp - 0x20]
add edi, eax
rol edi, 0xb
add edi, esi
mov eax, edi
mov ecx, edi
xor eax, edx
xor eax, esi
add eax, 0xd4ef3085
add eax, dword [ebp - 0x30]
add ebx, eax
rol ebx, 0x10
add ebx, edi
xor ecx, ebx
mov eax, ecx
xor eax, esi
add esi, 0xd9d4d039
add eax, 0x4881d05
add eax, dword [ebp - 0xc]
add edx, eax
mov eax, ebx
ror edx, 9
add edx, ebx
xor ecx, edx
xor eax, edx
add ecx, dword [ebp - 0x1c]
add ecx, esi
lea esi, [edi - 0x1924661b]
rol ecx, 4
add ecx, edx
xor eax, ecx
add eax, dword [ebp - 0x2c]
add esi, eax
rol esi, 0xb
add esi, ecx
mov edi, esi
mov eax, esi
xor edi, edx
xor edi, ecx
add edi, 0x1fa27cf8
add edi, dword [ebp - 8]
add edi, ebx
rol edi, 0x10
add edi, esi
xor eax, edi
xor eax, ecx
add eax, 0xc4ac5665
add eax, dword [ebp - 0x3c]
add edx, eax
mov eax, esi
ror edx, 9
not eax
add edx, edi
or eax, edx
xor eax, edi
add eax, 0xf4292244
add eax, dword [ebp - 0x20]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0x432aff97
add eax, dword [ebp - 0x24]
add esi, eax
mov eax, edx
not eax
rol esi, 0xa
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xab9423a7
add eax, dword [ebp - 0x40]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfc93a039
add eax, dword [ebp - 0x28]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x655b59c3
add eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, edi
not eax
rol ecx, 6
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0x8f0ccc92
add eax, dword [ebp - 0x30]
add esi, eax
mov eax, edx
not eax
rol esi, 0xa
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xffeff47d
add eax, dword [ebp - 0x34]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x85845dd1
add eax, dword [ebp - 0x38]
add edx, eax
mov eax, esi
not eax
ror edx, 0xb
add edx, edi
or eax, edx
xor eax, edi
add eax, 0x6fa87e4f
add eax, dword [ebp - 4]
add ecx, eax
mov eax, edi
rol ecx, 6
not eax
add ecx, edx
or eax, ecx
xor eax, edx
add eax, 0xfe2ce6e0
add eax, dword [ebp - 8]
add esi, eax
lea ebx, [edx + 0x4e0811a1]
mov eax, edx
rol esi, 0xa
not eax
lea edx, [ecx - 0x8ac817e]
add esi, ecx
or eax, esi
xor eax, ecx
add eax, 0xa3014314
add eax, dword [ebp - 0xc]
add edi, eax
mov eax, ecx
not eax
rol edi, 0xf
add edi, esi
or eax, edi
xor eax, esi
add eax, dword [ebp - 0x14]
add ebx, eax
mov eax, esi
not eax
ror ebx, 0xb
add ebx, edi
or eax, ebx
mov ecx, ebx
xor eax, edi
not ecx
add eax, dword [ebp - 0x18]
add edx, eax
mov eax, edi
not eax
rol edx, 6
add edx, ebx
or eax, edx
xor eax, ebx
add ebx, 0xeb86d391
add eax, 0xbd3af235
add eax, dword [ebp - 0x10]
add esi, eax
mov eax, edx
rol esi, 0xa
not eax
add esi, edx
or ecx, esi
xor ecx, edx
add ecx, 0x2ad7d2bb
add ecx, dword [ebp - 0x3c]
add ecx, edi
rol ecx, 0xf
add ecx, esi
or eax, ecx
xor eax, esi
add eax, dword [ebp - 0x1c]
add eax, ebx
mov ebx, dword [ebp + 8]
ror eax, 0xb
add eax, ecx
add dword [ebx], edx
mov edx, dword [ebx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x44]
add edx, eax
mov eax, dword [ebp - 0x48]
add eax, ecx
mov dword [ebx + 4], edx
mov dword [ebp - 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
add eax, esi
mov dword [ebp - 0x44], edx
mov esi, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov ebx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x59073b
pop edi
pop esi
pop ebx
leave
ret