Function at 0x57b66b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
movzx ebx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 7]
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 6]
or dword [ebp - 8], eax
shl dword [ebp - 8], 8
movzx eax, byte [esi + 5]
or dword [ebp - 8], eax
shl dword [ebp - 8], 8
movzx eax, byte [esi + 4]
or dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [edi + 4]
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0xb]
shl eax, 8
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0xa]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [esi + 9]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [esi + 8]
or dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, dword [edi + 8]
xor ebx, dword [edi]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0xf]
shl eax, 8
mov dword [ebp + 8], eax
movzx eax, byte [esi + 0xe]
or dword [ebp + 8], eax
shl dword [ebp + 8], 8
movzx eax, byte [esi + 0xd]
or dword [ebp + 8], eax
shl dword [ebp + 8], 8
movzx eax, byte [esi + 0xc]
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
xor eax, dword [edi + 0xc]
add edi, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ecx]
sar eax, 1
dec eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
test edx, edx
jne 0x57bb4c
mov ecx, dword [ebp + 8]
test eax, eax
jle 0x57b947
mov eax, ecx
mov edx, dword [ebp - 8]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf074b0]
mov esi, dword [ebp - 0xc]
shr esi, 0x18
xor ecx, dword [eax*4 + 0xf084b0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf078b0]
xor ecx, dword [edi]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf084b0]
xor ecx, dword [eax*4 + 0xf074b0]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
movzx eax, dl
xor ecx, dword [eax*4 + 0xf078b0]
mov eax, edx
xor ecx, dword [edi + 4]
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr edx, 0x10
mov ebx, dword [ecx*4 + 0xf074b0]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0xf084b0]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ebx, dword [eax*4 + 0xf06788]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0xf078b0]
xor ebx, dword [edi + 8]
movzx eax, dl
mov edx, dword [ecx*4 + 0xf074b0]
xor edx, dword [eax*4 + 0xf084b0]
mov eax, dword [ebp + 8]
xor edx, dword [esi*4 + 0xf06788]
movzx eax, al
xor edx, dword [eax*4 + 0xf078b0]
xor edx, dword [edi + 0xc]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf074b0]
xor ecx, dword [eax*4 + 0xf084b0]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0xf078b0]
mov eax, edx
xor ecx, dword [edi + 0x10]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf084b0]
xor ecx, dword [eax*4 + 0xf074b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
movzx eax, cl
xor esi, dword [eax*4 + 0xf078b0]
mov eax, esi
mov dword [ebp - 8], esi
xor eax, dword [edi + 0x14]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf074b0]
xor ecx, dword [eax*4 + 0xf084b0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0xf078b0]
xor ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0xf074b0]
xor ecx, dword [eax*4 + 0xf084b0]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
movzx eax, dl
xor ecx, dword [eax*4 + 0xf078b0]
xor ecx, dword [edi + 0x1c]
add edi, 0x20
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x57b74b
mov edx, dword [ebp - 8]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf074b0]
mov esi, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0xf084b0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06788]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf078b0]
xor ecx, dword [edi]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0xf084b0]
xor ebx, dword [eax*4 + 0xf074b0]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ebx, dword [eax*4 + 0xf06788]
movzx eax, dl
xor ebx, dword [eax*4 + 0xf078b0]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
xor ebx, dword [edi + 4]
mov edx, dword [ecx*4 + 0xf074b0]
mov ecx, dword [ebp - 4]
xor edx, dword [eax*4 + 0xf084b0]
mov eax, dword [ebp + 8]
shr eax, 0x18
shr esi, 0x18
xor edx, dword [eax*4 + 0xf06788]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor edx, dword [eax*4 + 0xf078b0]
mov eax, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0xf074b0]
xor edx, dword [edi + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0xf084b0]
xor ecx, dword [esi*4 + 0xf06788]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0xf078b0]
mov eax, edx
xor ecx, dword [edi + 0xc]
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + 0xf06b88]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0xf06b88]
shl eax, 8
xor esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
mov eax, dword [ebp - 0x10]
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
xor esi, dword [edi + 0x10]
mov dword [ebp + 8], esi
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + 0xf06b88]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0xf06b88]
shl eax, 8
xor esi, eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
movzx eax, bl
shl esi, 8
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
mov eax, dword [ebp - 0x10]
xor esi, dword [edi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], esi
movzx esi, byte [eax + 0xf06b88]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0xf06b88]
shl eax, 8
xor esi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl esi, 8
shr ebx, 0x10
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
movzx eax, dl
shl esi, 8
shr edx, 8
movzx eax, byte [eax + 0xf06b88]
xor esi, eax
movzx eax, bl
movzx ebx, byte [eax + 0xf06b88]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
movzx eax, byte [eax + 0xf06b88]
shl eax, 8
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + 0xf06b88]
xor ebx, eax
movzx eax, cl
movzx eax, byte [eax + 0xf06b88]
jmp 0x57bf64
test eax, eax
jle 0x57bd5e
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov edx, dword [ebp - 8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf070b0]
push 4
pop esi
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf080b0]
xor ecx, dword [edi]
add edi, 4
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf070b0]
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xf080b0]
xor ecx, dword [edi]
add edi, esi
mov eax, dword [ebp + 8]
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0xf07cb0]
xor ebx, dword [eax*4 + 0xf070b0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
movzx ecx, dl
xor ebx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp - 4]
mov edx, dword [ecx*4 + 0xf070b0]
movzx eax, al
xor ebx, dword [eax*4 + 0xf080b0]
mov eax, dword [ebp - 0xc]
shr eax, 8
xor ebx, dword [edi]
add edi, esi
movzx eax, al
xor edx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp + 8]
movzx eax, al
xor edx, dword [eax*4 + 0xf080b0]
mov eax, ebx
xor edx, dword [edi]
add edi, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf070b0]
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0xf080b0]
xor ecx, dword [edi]
mov dword [ebp - 0xc], ecx
mov eax, edx
shr eax, 0x10
add edi, esi
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf070b0]
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0xf080b0]
mov eax, edx
xor ecx, dword [edi]
add edi, esi
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf07cb0]
xor ecx, dword [eax*4 + 0xf070b0]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov esi, dword [ebp - 4]
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor esi, dword [eax*4 + 0xf06cb0]
movzx eax, bl
mov ecx, dword [ecx*4 + 0xf070b0]
shr ebx, 0x18
xor esi, dword [eax*4 + 0xf080b0]
mov eax, esi
mov dword [ebp - 4], esi
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0xf07cb0]
xor ecx, dword [ebx*4 + 0xf06cb0]
mov ebx, dword [ebp - 0xc]
movzx eax, dl
xor ecx, dword [eax*4 + 0xf080b0]
xor ecx, dword [edi + 4]
add edi, 8
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x57bb54
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov edx, dword [ebp - 8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf070b0]
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf080b0]
xor ecx, dword [edi]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0xf070b0]
xor ebx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ebx, dword [eax*4 + 0xf06cb0]
movzx eax, dl
xor ebx, dword [eax*4 + 0xf080b0]
mov eax, dword [ebp + 8]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0xf07cb0]
mov ecx, dword [ebp - 8]
xor ebx, dword [edi + 4]
xor edx, dword [eax*4 + 0xf070b0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0xf070b0]
movzx eax, al
xor edx, dword [eax*4 + 0xf080b0]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [edi + 8]
xor ecx, dword [eax*4 + 0xf07cb0]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf06cb0]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0xf080b0]
mov eax, edx
xor ecx, dword [edi + 0xc]
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + 0xf06688]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0xf06688]
shl eax, 8
xor esi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06688]
xor esi, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06688]
xor esi, eax
xor esi, dword [edi + 0x10]
mov dword [ebp + 8], esi
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + 0xf06688]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
movzx eax, byte [eax + 0xf06688]
shl eax, 8
xor esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06688]
xor esi, eax
movzx eax, bl
shl esi, 8
movzx eax, byte [eax + 0xf06688]
xor esi, eax
mov eax, dword [ebp - 0x14]
xor esi, dword [edi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], esi
movzx esi, byte [eax + 0xf06688]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
movzx eax, byte [eax + 0xf06688]
shl eax, 8
xor esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0xf06688]
xor esi, eax
movzx eax, dl
shl esi, 8
shr edx, 0x18
movzx eax, byte [eax + 0xf06688]
xor esi, eax
movzx eax, bl
movzx ebx, byte [eax + 0xf06688]
movzx eax, byte [edx + 0xf06688]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0xf06688]
xor ebx, eax
movzx eax, cl
movzx eax, byte [eax + 0xf06688]
xor esi, dword [edi + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
shl ebx, 8
xor ebx, eax
mov dword [ebp - 0xc], esi
xor ebx, dword [edi + 0x1c]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0x18]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 4], dl
mov byte [ecx + 6], al
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, esi
mov eax, edx
mov byte [ecx + 8], dl
shr eax, 8
mov byte [ecx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, ebx
shr edx, 0x18
mov byte [ecx + 0xc], bl
shr eax, 0x10
pop edi
shr ebx, 0x18
pop esi
mov byte [ecx + 0xf], bl
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xe], al
pop ebx
leave
ret