Function at 0x617240
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov ecx, dword [ecx + 0xbc]
mov eax, dword [esp + 0x28]
push ebx
mov dword [esp + 0x10], ecx
mov ebx, dword [ecx]
add ebx, dword [eax]
mov dword [esp + 0x2c], ebx
mov edx, ebx
push ebp
mov ebp, dword [ecx + 8]
add ebp, dword [eax + 8]
push esi
mov esi, dword [eax + 0xc]
push edi
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x38]
rol eax, 8
mov dword [esp + 0x38], eax
movzx eax, al
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x1c]
movzx ecx, bl
shr edx, 8
shr ebx, 0x10
mov edi, dword [edi + 0xc]
add edi, esi
mov esi, edi
xor esi, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x20]
xor eax, dword [ecx*4 + 0x691d58]
mov dword [esp + 0x38], eax
mov ecx, eax
movzx eax, dl
add ecx, dword [eax*4 + 0x692158]
movzx eax, bl
mov edx, ecx
rol edx, 8
mov ebx, dword [eax*4 + 0x691d58]
movzx eax, cl
add ebx, ebp
xor ebx, dword [eax*4 + 0x691d58]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
add ebx, dword [eax*4 + 0x692158]
mov eax, ebx
mov dword [esp + 0x38], ebx
rol eax, 8
mov dword [esp + 0x18], eax
movzx eax, cl
mov ecx, dword [esp + 0x38]
mov ebx, dword [eax*4 + 0x691d58]
movzx eax, cl
add ebx, esi
xor ebx, dword [eax*4 + 0x691d58]
mov eax, ecx
shr eax, 8
movzx eax, al
add ebx, dword [eax*4 + 0x692158]
mov eax, ebx
rol eax, 8
mov dword [esp + 0x20], eax
mov eax, ecx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
mov ecx, dword [ecx*4 + 0x691d58]
mov eax, dword [eax*4 + 0x692158]
xor eax, dword [esp + 0x24]
add ecx, eax
movzx eax, bl
xor ecx, dword [eax*4 + 0x691d58]
mov eax, ebx
shr eax, 8
movzx eax, al
add ecx, dword [eax*4 + 0x692158]
add edx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
rol ecx, 8
movzx eax, cl
shr ebx, 0x10
mov esi, dword [eax*4 + 0x692158]
xor esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx eax, al
lea edi, [esi + ecx]
movzx ecx, bl
mov ebx, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x692158]
xor eax, edx
mov edx, dword [ecx*4 + 0x691d58]
add edx, eax
movzx eax, bl
xor edx, dword [eax*4 + 0x691d58]
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
add edx, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x20]
movzx eax, al
mov ecx, dword [eax*4 + 0x692158]
xor ecx, dword [esp + 0x18]
movzx eax, bl
mov ebx, edx
rol ebx, 8
add ecx, dword [eax*4 + 0x691d58]
movzx eax, dl
xor ecx, dword [eax*4 + 0x691d58]
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
add ecx, dword [eax*4 + 0x692158]
mov eax, ecx
mov dword [esp + 0x24], ecx
rol eax, 8
mov dword [esp + 0x38], eax
movzx eax, dl
mov edx, dword [eax*4 + 0x691d58]
movzx eax, cl
add edx, esi
xor edx, dword [eax*4 + 0x691d58]
mov eax, ecx
shr eax, 8
add ecx, ebx
movzx eax, al
add edx, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x38]
movzx eax, al
mov dword [esp + 0x20], edx
xor ecx, dword [eax*4 + 0x692158]
mov eax, edx
shr eax, 0x10
movzx eax, al
rol edx, 8
mov dword [esp + 0x14], edx
add ecx, dword [eax*4 + 0x691d58]
movzx eax, bl
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x24]
xor ebx, edi
shr eax, 0x10
movzx eax, al
add ebx, dword [eax*4 + 0x691d58]
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*4 + 0x691d58]
movzx eax, cl
add ebx, dword [eax*4 + 0x692158]
movzx eax, dl
mov dword [esp + 0x10], ebx
mov eax, dword [eax*4 + 0x692158]
xor eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
xor edx, edx
add ebx, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
nop
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x14]
mov ecx, dword [ebx + 4]
mov eax, esi
mov ebp, dword [ebx]
rol eax, 0xd
add ebp, esi
imul ecx, eax
lea esi, [esp + 0x18]
rol ecx, 0xa
cmp edx, 8
mov ebx, ecx
mov dword [esp + 0x10], ecx
cmovae esi, edi
movzx ecx, cl
mov edi, dword [esp + 0x10]
mov edx, ebp
and edx, 0x1ff
ror ebx, 5
and ecx, 0x1f
mov edx, dword [edx*4 + 0x691d58]
xor edx, ebx
xor edx, edi
rol edx, cl
lea ecx, [esp + 0x14]
add dword [esi], edx
lea esi, [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp edx, 8
cmovae ecx, esi
inc edx
mov dword [esp + 0x20], edx
xor dword [ecx], edi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
movzx ecx, bl
mov ebx, dword [esp + 0x24]
and ecx, 0x1f
rol ebp, cl
add ebx, 8
mov ecx, dword [esp + 0x14]
add edi, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
cmp edx, 0x10
jb 0x6174c0
mov edx, dword [esp + 0x10]
mov esi, edx
mov ebp, dword [esp + 0x38]
mov ecx, edx
ror ecx, 8
mov ebx, edx
mov dword [esp + 0x18], ecx
movzx ecx, cl
mov dword [esp + 0x24], ecx
movzx ecx, dl
shr esi, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + 0x692158]
xor ecx, edi
sub ebp, dword [esi*4 + 0x691d58]
mov edx, ecx
mov edi, ecx
ror edx, 8
mov dword [esp + 0x10], edx
mov edx, ecx
movzx ecx, cl
shr edx, 0x10
shr edi, 0x18
xor ebp, dword [ecx*4 + 0x692158]
mov ecx, ebp
mov dword [esp + 0x38], ebp
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x38]
movzx ecx, dl
mov edx, dword [esp + 0x18]
sub edx, dword [ecx*4 + 0x692158]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x691d58]
mov ecx, esi
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x691d58]
mov ecx, esi
ror ecx, 8
mov dword [esp + 0x14], ecx
mov ecx, esi
shr ecx, 0x10
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
movzx ebp, cl
movzx ecx, bl
mov dword [esp + 0x18], edx
sub eax, dword [ecx*4 + 0x692158]
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx*4 + 0x691d58]
mov ecx, esi
sub eax, dword [edi*4 + 0x691d58]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x692158]
sub eax, edx
mov edx, eax
mov ecx, eax
mov ebx, eax
ror ecx, 8
movzx eax, al
mov dword [esp + 0x20], ecx
movzx edi, cl
shr ebx, 0x10
mov ecx, dword [eax*4 + 0x692158]
xor ecx, dword [esp + 0x18]
mov eax, ecx
shr edx, 0x18
ror eax, 8
mov esi, ecx
mov dword [esp + 0x38], eax
mov eax, ecx
shr esi, 0x18
shr eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x38]
movzx eax, bl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
movzx eax, al
mov ebx, dword [esp + 0x10]
sub ebx, dword [eax*4 + 0x692158]
xor ebx, dword [ebp*4 + 0x691d58]
sub ebx, dword [edx*4 + 0x691d58]
movzx eax, cl
xor ebx, dword [eax*4 + 0x692158]
mov eax, ebx
mov dword [esp + 0x10], ebx
ror eax, 8
mov edx, ebx
mov dword [esp + 0x18], eax
mov ecx, ebx
mov ebx, dword [esp + 0x24]
movzx eax, bl
mov ebx, dword [esp + 0x14]
shr ecx, 0x10
shr edx, 0x18
sub ebx, dword [eax*4 + 0x692158]
xor ebx, dword [edi*4 + 0x691d58]
sub ebx, dword [esi*4 + 0x691d58]
mov eax, dword [esp + 0x10]
movzx eax, al
mov esi, dword [esp + 0x20]
xor ebx, dword [eax*4 + 0x692158]
sub ebx, dword [esp + 0x18]
movzx eax, cl
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
sub ebx, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x18]
movzx eax, al
xor ebx, dword [eax*4 + 0x691d58]
mov eax, ecx
shr eax, 0x18
sub ebx, dword [eax*4 + 0x691d58]
mov eax, ecx
ror eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
movzx eax, al
shr ecx, 0x10
sub esi, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x30]
xor esi, dword [eax*4 + 0x691d58]
sub esi, dword [edx*4 + 0x691d58]
mov eax, dword [esp + 0x14]
mov edx, esi
movzx eax, al
mov dword [esp + 0x20], esi
xor edx, dword [eax*4 + 0x692158]
movzx eax, cl
sub edx, ebx
mov ecx, dword [esp + 0x18]
sub ecx, dword [eax*4 + 0x692158]
mov eax, dword [esp + 0x38]
movzx eax, al
xor ecx, dword [eax*4 + 0x691d58]
mov eax, edx
shr eax, 0x18
sub ecx, dword [eax*4 + 0x691d58]
mov eax, edx
ror eax, 8
mov dword [esp + 0x18], ecx
mov ecx, edx
mov dword [esp + 0x14], eax
movzx eax, dl
mov edx, dword [esp + 0x14]
shr ecx, 0x10
mov edi, dword [eax*4 + 0x692158]
movzx eax, cl
xor edi, ebx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
sub ecx, dword [eax*4 + 0x692158]
movzx eax, dl
xor ecx, dword [eax*4 + 0x691d58]
mov eax, dword [esp + 0x1c]
sub ebx, dword [eax + 0x94]
sub ecx, dword [eax + 0x98]
mov dword [esp + 0x38], ecx
sub edx, dword [eax + 0x9c]
sub edi, dword [eax + 0x90]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x617839
mov eax, dword [edx]
lea ecx, [edx + 4]
xor eax, edi
lea edx, [esi + 8]
mov dword [esi], eax
test ecx, ecx
je 0x617856
xor ebx, dword [ecx]
mov eax, edx
mov dword [esi + 4], ebx
add ecx, 4
je 0x617872
mov eax, dword [ecx]
xor eax, dword [esp + 0x38]
mov dword [edx], eax
add ecx, 4
je 0x617878
mov eax, dword [ecx]
xor eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx + 4], eax
pop ebx
add esp, 0x24
ret 0xc
mov dword [esi], edi
lea edx, [esi + 8]
mov dword [esi + 4], ebx
mov eax, edx
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x38]
mov eax, edx
mov dword [esi + 4], ebx
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
pop ebp
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc