Function at 0x50d198
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
or eax, eax
je 0x50d1ab
dec eax
jne 0x50d1d0
mov edi, dword [ebp + 0x14]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 8], al
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x5c]
mov ecx, 0x10
mov ebx, dword [ebp - 4]
lea edx, [ebx + 4]
cmp edx, dword [ebp + 0xc]
ja 0x50d1fd
mov eax, dword [ebx + esi]
bswap eax
stosd dword es:[edi], eax
mov ebx, edx
loop 0x50d1e6
mov dword [ebp - 4], ebx
jmp 0x50d256
mov eax, dword [ebp + 0x18]
or eax, eax
je 0x50d20d
cmp eax, 3
jne 0x50dff5
mov edx, ecx
cmp ebx, dword [ebp + 0xc]
ja 0x50d23e
sub eax, eax
mov ch, 4
cmp ebx, dword [ebp + 0xc]
je 0x50d228
shl eax, 8
mov al, byte [ebx + esi]
inc ebx
dec ch
jmp 0x50d218
inc ebx
mov dword [ebp - 4], ebx
shl eax, 8
mov al, 0x80
dec ch
je 0x50d23a
shl eax, 8
jmp 0x50d231
stosd dword es:[edi], eax
dec ecx
je 0x50d256
sub eax, eax
rep stosd dword es:[edi], eax
cmp dl, 3
jb 0x50d256
mov al, 8
mul dword [ebp + 0x10]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov byte [ebp - 8], 1
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
rol ecx, 5
xor edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x5c]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x5a827999
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x58]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x5a827999
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x54]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x5a827999
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x50]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x5a827999
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x4c]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x5a827999
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x48]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x5a827999
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x44]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x5a827999
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x40]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x5a827999
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x3c]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x5a827999
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x38]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x5a827999
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x5a827999
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x30]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x5a827999
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x5a827999
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x28]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x5a827999
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x24]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x5a827999
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x5a827999
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
xor ebx, ebx
add bl, 8
and bl, 0x3f
mov eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x18
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x14
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
sub bl, 0x34
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
rol eax, 1
mov dword ss:[ebx + ebp - 0x5c], eax
add bl, 4
test bl, 0x3f
jne 0x50d4f8
rol ecx, 5
xor edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x5c]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x5a827999
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x58]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x5a827999
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x54]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x5a827999
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x50]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x5a827999
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x4c]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x6ed9eba1
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x48]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x6ed9eba1
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x44]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x6ed9eba1
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x40]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x6ed9eba1
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x3c]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x6ed9eba1
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x38]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x6ed9eba1
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x6ed9eba1
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x30]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x6ed9eba1
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x6ed9eba1
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x28]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x6ed9eba1
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x24]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x6ed9eba1
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x20]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x6ed9eba1
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
xor ebx, ebx
add bl, 8
and bl, 0x3f
mov eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x18
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x14
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
sub bl, 0x34
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
rol eax, 1
mov dword ss:[ebx + ebp - 0x5c], eax
add bl, 4
test bl, 0x3f
jne 0x50d791
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x5c]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x6ed9eba1
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x58]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x6ed9eba1
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x54]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x6ed9eba1
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x50]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x6ed9eba1
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x4c]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x6ed9eba1
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x48]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x6ed9eba1
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x44]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x6ed9eba1
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x40]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x6ed9eba1
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
mov eax, dword [ebp - 0x10]
or edx, eax
and edx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
or edx, eax
add edx, dword [ebp - 0x3c]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
mov eax, dword [ebp - 0xc]
or edx, eax
and edx, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
or edx, eax
add edx, dword [ebp - 0x38]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
mov eax, dword [ebp - 0x1c]
or edx, eax
and edx, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
or edx, eax
add edx, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
mov eax, dword [ebp - 0x18]
or edx, eax
and edx, dword [ebp - 0xc]
and eax, dword [ebp - 0x1c]
or edx, eax
add edx, dword [ebp - 0x30]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
mov eax, dword [ebp - 0x14]
or edx, eax
and edx, dword [ebp - 0x1c]
and eax, dword [ebp - 0x18]
or edx, eax
add edx, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x8f1bbcdc
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
mov eax, dword [ebp - 0x10]
or edx, eax
and edx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
or edx, eax
add edx, dword [ebp - 0x28]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
mov eax, dword [ebp - 0xc]
or edx, eax
and edx, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
or edx, eax
add edx, dword [ebp - 0x24]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
mov eax, dword [ebp - 0x1c]
or edx, eax
and edx, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
or edx, eax
add edx, dword [ebp - 0x20]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
xor ebx, ebx
add bl, 8
and bl, 0x3f
mov eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x18
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x14
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
sub bl, 0x34
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
rol eax, 1
mov dword ss:[ebx + ebp - 0x5c], eax
add bl, 4
test bl, 0x3f
jne 0x50da56
rol ecx, 5
mov eax, dword [ebp - 0x18]
or edx, eax
and edx, dword [ebp - 0xc]
and eax, dword [ebp - 0x1c]
or edx, eax
add edx, dword [ebp - 0x5c]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
mov eax, dword [ebp - 0x14]
or edx, eax
and edx, dword [ebp - 0x1c]
and eax, dword [ebp - 0x18]
or edx, eax
add edx, dword [ebp - 0x58]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x8f1bbcdc
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
mov eax, dword [ebp - 0x10]
or edx, eax
and edx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
or edx, eax
add edx, dword [ebp - 0x54]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
mov eax, dword [ebp - 0xc]
or edx, eax
and edx, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
or edx, eax
add edx, dword [ebp - 0x50]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
mov eax, dword [ebp - 0x1c]
or edx, eax
and edx, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
or edx, eax
add edx, dword [ebp - 0x4c]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
mov eax, dword [ebp - 0x18]
or edx, eax
and edx, dword [ebp - 0xc]
and eax, dword [ebp - 0x1c]
or edx, eax
add edx, dword [ebp - 0x48]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
mov eax, dword [ebp - 0x14]
or edx, eax
and edx, dword [ebp - 0x1c]
and eax, dword [ebp - 0x18]
or edx, eax
add edx, dword [ebp - 0x44]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x8f1bbcdc
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
mov eax, dword [ebp - 0x10]
or edx, eax
and edx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
or edx, eax
add edx, dword [ebp - 0x40]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
mov eax, dword [ebp - 0xc]
or edx, eax
and edx, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
or edx, eax
add edx, dword [ebp - 0x3c]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
mov eax, dword [ebp - 0x1c]
or edx, eax
and edx, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
or edx, eax
add edx, dword [ebp - 0x38]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
mov eax, dword [ebp - 0x18]
or edx, eax
and edx, dword [ebp - 0xc]
and eax, dword [ebp - 0x1c]
or edx, eax
add edx, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
mov eax, dword [ebp - 0x14]
or edx, eax
and edx, dword [ebp - 0x1c]
and eax, dword [ebp - 0x18]
or edx, eax
add edx, dword [ebp - 0x30]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0x8f1bbcdc
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0xca62c1d6
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x28]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0xca62c1d6
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x24]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0xca62c1d6
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0xca62c1d6
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
xor ebx, ebx
add bl, 8
and bl, 0x3f
mov eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x18
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
add bl, 0x14
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
sub bl, 0x34
and bl, 0x3f
xor eax, dword ss:[ebx + ebp - 0x5c]
rol eax, 1
mov dword ss:[ebx + ebp - 0x5c], eax
add bl, 4
test bl, 0x3f
jne 0x50dd37
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x5c]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0xca62c1d6
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x58]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0xca62c1d6
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x54]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0xca62c1d6
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x50]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0xca62c1d6
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x4c]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0xca62c1d6
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x48]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0xca62c1d6
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x44]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0xca62c1d6
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x40]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0xca62c1d6
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x3c]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0xca62c1d6
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x38]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0xca62c1d6
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x34]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0xca62c1d6
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
rol ecx, 5
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x30]
add edx, ecx
add edx, dword [ebp - 0x1c]
add edx, 0xca62c1d6
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov edx, dword [ebp - 0x10]
rol edx, 0x1e
mov dword [ebp - 0x10], edx
rol ecx, 5
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebp - 0x18]
add edx, 0xca62c1d6
mov dword [ebp - 0x18], edx
mov ecx, edx
mov edx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 0xc], edx
rol ecx, 5
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x28]
add edx, ecx
add edx, dword [ebp - 0x14]
add edx, 0xca62c1d6
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, dword [ebp - 0x1c]
rol edx, 0x1e
mov dword [ebp - 0x1c], edx
rol ecx, 5
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x24]
add edx, ecx
add edx, dword [ebp - 0x10]
add edx, 0xca62c1d6
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, dword [ebp - 0x18]
rol edx, 0x1e
mov dword [ebp - 0x18], edx
rol ecx, 5
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x20]
add edx, ecx
add edx, dword [ebp - 0xc]
add edx, 0xca62c1d6
mov dword [ebp - 0xc], edx
mov ecx, edx
mov edx, dword [ebp - 0x14]
rol edx, 0x1e
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
mov ecx, dword [ebp - 0x10]
add dword [eax + 4], ecx
add dword [eax + 8], edx
mov edx, dword [ebp - 0x18]
add dword [eax + 0xc], edx
mov edx, dword [ebp - 0x1c]
add dword [eax + 0x10], edx
cmp byte [ebp - 8], 0
je 0x50d1d8
mov edi, dword [ebp + 0x14]
mov ecx, 5
mov eax, dword [edi]
bswap eax
stosd dword es:[edi], eax
loop 0x50dfee
pop edi
pop esi
pop ebx
leave
ret 0x14