Function at 0x4030bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
movzx ebx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
movzx edx, byte [ecx + 7]
shl ebx, 8
or ebx, eax
mov esi, dword [esi + 4]
movzx eax, byte [ecx + 1]
shl ebx, 8
or ebx, eax
shl edx, 8
movzx eax, byte [ecx]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 6]
or edx, eax
xor ebx, dword [esi]
movzx eax, byte [ecx + 5]
shl edx, 8
or edx, eax
mov dword [ebp - 8], ebx
movzx eax, byte [ecx + 4]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
shl eax, 8
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 0xa]
or dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, byte [ecx + 9]
or dword [ebp + 0x10], eax
movzx eax, byte [ecx + 8]
shl dword [ebp + 0x10], 8
or dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi + 8]
xor edx, dword [esi + 4]
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 0xf]
shl eax, 8
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 0xe]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [ecx + 0xd]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [ecx + 0xc]
mov ecx, dword [ebp - 4]
or ecx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
xor ecx, dword [esi + 0xc]
add esi, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [eax]
sar eax, 1
dec eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], eax
jne 0x4035c6
mov edi, 0xff
test eax, eax
jle 0x403395
mov eax, dword [ebp + 0x10]
shr ecx, 8
and ecx, edi
shr eax, 0x10
and eax, 0xff
mov edi, 0xff
mov ecx, dword [ecx*4 + 0x6aaee8]
xor ecx, dword [eax*4 + 0x6ab2e8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x6aaae8]
mov eax, ebx
xor ecx, dword [esi]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
shr eax, 8
and eax, 0xff
mov ecx, dword [ecx*4 + 0x6ab2e8]
xor ecx, dword [eax*4 + 0x6aaee8]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x6aaae8]
mov eax, ebx
xor ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
mov ecx, edx
shr ecx, 8
and ecx, edi
shr eax, 0x10
and eax, edi
shr edx, 0x10
and edx, edi
mov dword [ebp - 0xc], edx
mov ebx, dword [ecx*4 + 0x6aaee8]
xor ebx, dword [eax*4 + 0x6ab2e8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x6ab6e8]
movzx eax, cl
shr ecx, 8
and ecx, edi
mov edi, dword [ebp - 0xc]
xor ebx, dword [eax*4 + 0x6aaae8]
mov eax, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x6aaee8]
xor edx, dword [edi*4 + 0x6ab2e8]
mov edi, dword [ebp - 8]
xor ebx, dword [esi + 8]
movzx eax, al
shr edi, 0x18
xor edx, dword [edi*4 + 0x6ab6e8]
mov edi, 0xff
xor edx, dword [eax*4 + 0x6aaae8]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 0x10
mov ecx, edx
shr ecx, 8
and eax, edi
and ecx, edi
mov ecx, dword [ecx*4 + 0x6aaee8]
xor ecx, dword [eax*4 + 0x6ab2e8]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x6aaae8]
xor ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov ecx, edx
shr ecx, 0x10
and ecx, edi
shr eax, 8
and eax, edi
mov edi, dword [ecx*4 + 0x6ab2e8]
mov ecx, dword [ebp + 0xc]
xor edi, dword [eax*4 + 0x6aaee8]
mov eax, ebx
shr eax, 0x18
xor edi, dword [eax*4 + 0x6ab6e8]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*4 + 0x6aaae8]
xor edi, dword [esi + 0x14]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0xc], edi
mov edi, 0xff
and ecx, edi
and eax, edi
mov ecx, dword [ecx*4 + 0x6aaee8]
xor ecx, dword [eax*4 + 0x6ab2e8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
movzx eax, bl
shr ebx, 8
and ebx, edi
xor ecx, dword [eax*4 + 0x6aaae8]
xor ecx, dword [esi + 0x18]
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, edi
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx*4 + 0x6aaee8]
mov ebx, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x6ab2e8]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
movzx eax, dl
mov edx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x6aaae8]
xor ecx, dword [esi + 0x1c]
add esi, 0x20
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x403199
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xff
shr ecx, 8
and ecx, edi
mov edi, dword [ebp - 0xc]
shr edi, 0x10
mov ecx, dword [ecx*4 + 0x6aaee8]
xor ecx, dword [eax*4 + 0x6ab2e8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6ab6e8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x6aaae8]
mov eax, ebx
xor ecx, dword [esi]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x6ab2e8]
mov ecx, edx
xor ebx, dword [eax*4 + 0x6aaee8]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
shr ecx, 8
xor ebx, dword [eax*4 + 0x6ab6e8]
movzx eax, dl
mov edx, 0xff
and ecx, edx
xor ebx, dword [eax*4 + 0x6aaae8]
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, edx
xor ebx, dword [esi + 4]
mov edx, dword [ecx*4 + 0x6aaee8]
mov ecx, dword [ebp + 0x10]
xor edx, dword [eax*4 + 0x6ab2e8]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x6ab6e8]
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*4 + 0x6aaae8]
mov eax, 0xff
and ecx, eax
xor edx, dword [esi + 8]
and edi, eax
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x6aaee8]
xor ecx, dword [edi*4 + 0x6ab2e8]
mov edi, 0xff
xor ecx, dword [eax*4 + 0x6ab6e8]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x6aaae8]
mov eax, edx
xor ecx, dword [esi + 0xc]
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6aa9e8]
mov dword [ebp + 8], eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x6aa9e8]
shl eax, 8
xor dword [ebp + 8], eax
mov eax, ecx
shl dword [ebp + 8], 8
shr eax, 8
and eax, edi
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
shl dword [ebp + 8], 8
movzx eax, al
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 8], eax
mov eax, dword [ebp + 8]
xor eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6aa9e8]
mov dword [ebp + 0x10], eax
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x6aa9e8]
shl eax, 8
xor dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
shl dword [ebp + 0x10], 8
shr eax, 8
and eax, edi
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, bl
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6aa9e8]
mov dword [ebp + 0xc], eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x6aa9e8]
shl eax, 8
xor dword [ebp + 0xc], eax
mov eax, ebx
shl dword [ebp + 0xc], 8
shr eax, 8
and eax, edi
shr ebx, 0x10
and ebx, edi
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 0xc], eax
shl dword [ebp + 0xc], 8
movzx ebx, byte [ebx + 0x6aa9e8]
movzx eax, dl
shr edx, 8
and edx, edi
movzx eax, byte [eax + 0x6aa9e8]
xor dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
movzx eax, byte [eax + 0x6aa9e8]
shl eax, 8
xor ebx, eax
movzx eax, byte [edx + 0x6aa9e8]
shl ebx, 8
xor ebx, eax
movzx eax, cl
movzx eax, byte [eax + 0x6aa9e8]
jmp 0x403a0a
test eax, eax
jle 0x4037d5
mov ecx, dword [ebp + 0x10]
mov eax, edx
shr ecx, 0x10
mov edi, 0xff
shr eax, 8
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx*4 + 0x6aa1e8]
xor ecx, dword [eax*4 + 0x6a9de8]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6aa5e8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x6a99e8]
xor ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
shr eax, 8
and ecx, 0xff
and eax, edi
mov ecx, dword [ecx*4 + 0x6aa1e8]
xor ecx, dword [eax*4 + 0x6a9de8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6aa5e8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x6a99e8]
mov eax, ebx
xor ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
shr eax, 0x10
shr ecx, 8
and eax, edi
and ecx, edi
mov ebx, dword [ecx*4 + 0x6a9de8]
xor ebx, dword [eax*4 + 0x6aa1e8]
mov eax, edx
mov ecx, dword [ebp + 0x10]
shr eax, 0x18
shr edx, 0x10
and edx, edi
xor ebx, dword [eax*4 + 0x6aa5e8]
movzx eax, cl
mov edx, dword [edx*4 + 0x6aa1e8]
shr ecx, 0x18
xor ebx, dword [eax*4 + 0x6a99e8]
mov eax, dword [ebp - 8]
xor ebx, dword [esi + 8]
shr eax, 8
and eax, edi
xor edx, dword [eax*4 + 0x6a9de8]
xor edx, dword [ecx*4 + 0x6aa5e8]
mov ecx, ebx
mov eax, dword [ebp - 4]
movzx eax, al
shr ecx, 0x10
and ecx, edi
xor edx, dword [eax*4 + 0x6a99e8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx*4 + 0x6aa1e8]
xor edx, dword [esi + 0xc]
shr eax, 8
and eax, edi
xor ecx, dword [eax*4 + 0x6a9de8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6aa5e8]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x6a99e8]
mov eax, ebx
xor ecx, dword [esi + 0x10]
mov dword [ebp - 8], ecx
mov ecx, edx
shr ecx, 0x10
shr eax, 8
and ecx, edi
and eax, edi
mov edi, dword [ecx*4 + 0x6aa1e8]
mov ecx, edx
xor edi, dword [eax*4 + 0x6a9de8]
mov eax, dword [ebp + 8]
shr eax, 0x18
shr ecx, 8
xor edi, dword [eax*4 + 0x6aa5e8]
mov eax, dword [ebp + 0xc]
movzx eax, al
xor edi, dword [eax*4 + 0x6a99e8]
xor edi, dword [esi + 0x14]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0xc], edi
mov edi, 0xff
and ecx, edi
and eax, edi
mov ecx, dword [ecx*4 + 0x6a9de8]
xor ecx, dword [eax*4 + 0x6aa1e8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edi, dword [ebp + 0x10]
shr eax, 0x18
shr ecx, 0x10
xor edi, dword [eax*4 + 0x6aa5e8]
movzx eax, bl
shr ebx, 0x18
xor edi, dword [eax*4 + 0x6a99e8]
mov eax, edi
mov dword [ebp + 0x10], edi
xor eax, dword [esi + 0x18]
mov edi, 0xff
mov dword [ebp + 0x10], eax
and ecx, edi
mov eax, dword [ebp + 8]
shr eax, 8
and eax, edi
mov ecx, dword [ecx*4 + 0x6aa1e8]
xor ecx, dword [eax*4 + 0x6a9de8]
xor ecx, dword [ebx*4 + 0x6aa5e8]
mov ebx, dword [ebp - 8]
movzx eax, dl
mov edx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x6a99e8]
xor ecx, dword [esi + 0x1c]
add esi, 0x20
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x4035ce
mov ecx, dword [ebp + 0x10]
mov eax, edx
shr eax, 8
and eax, 0xff
shr ecx, 0x10
and ecx, 0xff
mov edi, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x6aa1e8]
xor ecx, dword [eax*4 + 0x6a9de8]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6aa5e8]
movzx eax, bl
mov ebx, 0xff
xor ecx, dword [eax*4 + 0x6a99e8]
xor ecx, dword [esi]
mov eax, dword [ebp + 0x10]
shr eax, 8
and eax, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x6aa1e8]
xor ebx, dword [eax*4 + 0x6a9de8]
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ebx, dword [eax*4 + 0x6aa5e8]
movzx eax, dl
mov edx, 0xff
and ecx, edx
xor ebx, dword [eax*4 + 0x6a99e8]
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, edx
xor ebx, dword [esi + 4]
mov edx, dword [ecx*4 + 0x6a9de8]
mov ecx, 0xff
xor edx, dword [eax*4 + 0x6aa1e8]
mov eax, edi
shr eax, 0x18
shr edi, 0x10
and edi, ecx
xor edx, dword [eax*4 + 0x6aa5e8]
mov eax, dword [ebp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x6a99e8]
mov eax, dword [ebp - 8]
shr eax, 8
and eax, ecx
xor edx, dword [esi + 8]
mov ecx, dword [edi*4 + 0x6aa1e8]
mov edi, 0xff
xor ecx, dword [eax*4 + 0x6a9de8]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6aa5e8]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x6a99e8]
mov eax, edx
xor ecx, dword [esi + 0xc]
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6a98e8]
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x6a98e8]
shl eax, 8
xor dword [ebp + 8], eax
mov eax, ebx
shl dword [ebp + 8], 8
shr eax, 8
and eax, edi
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 8], eax
shl dword [ebp + 8], 8
mov eax, dword [ebp - 0x10]
movzx eax, al
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 8], eax
mov eax, dword [ebp + 8]
xor eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6a98e8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
movzx eax, byte [eax + 0x6a98e8]
shl eax, 8
xor dword [ebp + 0x10], eax
mov eax, edx
shr eax, 8
shl dword [ebp + 0x10], 8
and eax, edi
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, bl
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, edi
movzx eax, byte [eax + 0x6a98e8]
mov dword [ebp + 0xc], eax
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
and ebx, edi
movzx eax, byte [eax + 0x6a98e8]
shl eax, 8
xor dword [ebp + 0xc], eax
mov eax, ecx
shl dword [ebp + 0xc], 8
shr eax, 8
and eax, edi
movzx ebx, byte [ebx + 0x6a98e8]
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 0xc], eax
shl dword [ebp + 0xc], 8
movzx eax, dl
shr edx, 0x18
movzx eax, byte [eax + 0x6a98e8]
xor dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
movzx eax, byte [edx + 0x6a98e8]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, edi
shl ebx, 8
movzx eax, byte [eax + 0x6a98e8]
xor ebx, eax
movzx eax, cl
movzx eax, byte [eax + 0x6a98e8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
shl ebx, 8
xor ebx, eax
mov eax, edx
xor ebx, dword [esi + 0x1c]
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 + 0x10]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, dword [ebp + 0xc]
mov eax, edx
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
mov byte [ecx + 8], dl
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
mov esp, ebp
pop ebp
ret