Function at 0x46a530
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
lea esi, [edi + 0x8c]
shl ecx, 8
or ecx, eax
movzx ebx, byte [edx + 0xc]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
shl ebx, 8
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
xor ecx, dword [esi]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, dword [esi + 4]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, dword [esi + 8]
or ebx, eax
movzx eax, byte [edx + 0xe]
shl ebx, 8
or ebx, eax
mov dword [ebp - 4], ecx
movzx eax, byte [edx + 0xf]
shl ebx, 8
or ebx, eax
mov eax, ecx
xor ebx, dword [esi + 0xc]
add esi, 0x10
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0x10]
movzx eax, al
mov edx, dword [ebp - 8]
xor ecx, dword [eax*4 + 0x510790]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 4]
xor edx, dword [ebx*4 + 0x50fb90]
mov ebx, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + 0x510790]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x14]
xor edx, dword [esi + 0xc]
add esi, 0x10
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x510390]
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
shr ebx, 8
movzx ecx, bl
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x510390]
xor ebx, dword [eax*4 + 0x50ff90]
xor ebx, dword [edx*4 + 0x50fb90]
mov eax, dword [ebp - 8]
movzx eax, al
mov edx, dword [ebp - 0x14]
xor ebx, dword [eax*4 + 0x510790]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
xor ebx, dword [esi + 0xc]
add esi, 0x10
mov ecx, dword [ecx*4 + 0x510390]
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, edx
mov edx, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
mov dword [ebp - 4], ecx
movzx ecx, dl
movzx eax, al
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x14]
xor edx, dword [ebx*4 + 0x50fb90]
mov ebx, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x510790]
xor edx, dword [esi + 0xc]
add esi, 0x10
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
mov ebx, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x510390]
xor ebx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 4]
xor ebx, dword [edx*4 + 0x50fb90]
mov edx, dword [ebp - 8]
movzx eax, al
xor ebx, dword [eax*4 + 0x510790]
mov eax, edx
xor ebx, dword [esi + 0xc]
add esi, 0x10
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
mov dword [ebp - 0xc], ecx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, edx
mov edx, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
xor edx, dword [ebx*4 + 0x50fb90]
mov ebx, dword [ebp - 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x510790]
mov eax, ebx
shr eax, 8
xor edx, dword [esi + 0xc]
add esi, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x50ff90]
shr eax, 8
movzx eax, al
shr edx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
shr eax, 0x18
mov ebx, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 4], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x510390]
xor ebx, dword [eax*4 + 0x50ff90]
xor ebx, dword [edx*4 + 0x50fb90]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
movzx eax, al
xor ebx, dword [eax*4 + 0x510790]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
xor ebx, dword [esi + 0xc]
add esi, 0x10
mov ecx, dword [ecx*4 + 0x510390]
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
xor ecx, dword [eax*4 + 0x510390]
mov eax, edx
mov edx, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
movzx ecx, dl
shr eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 4]
movzx eax, al
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x50fb90]
xor edx, dword [eax*4 + 0x510790]
mov ebx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor edx, dword [esi + 0xc]
add esi, 0x10
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, edx
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [esi + 8]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x510390]
xor ebx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x18]
xor ebx, dword [edx*4 + 0x50fb90]
mov edx, dword [ebp - 0x14]
movzx eax, al
xor ebx, dword [eax*4 + 0x510790]
mov eax, edx
xor ebx, dword [esi + 0xc]
add esi, 0x10
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor edx, dword [eax*4 + 0x510790]
mov eax, edx
mov dword [ebp - 4], edx
xor eax, dword [esi + 8]
mov ecx, dword [ecx*4 + 0x510390]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
xor ecx, dword [ebx*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, dword [edi + 0x28c]
mov edi, esi
xor ecx, dword [esi + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], eax
cmp eax, 0xa
jle 0x46b08a
mov esi, dword [ebp - 4]
mov eax, esi
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov ebx, dword [ecx*4 + 0x50ff90]
mov ecx, dword [ebp - 0xc]
xor ebx, dword [eax*4 + 0x510390]
mov eax, esi
shr eax, 0x18
xor ebx, dword [eax*4 + 0x50fb90]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x510790]
xor ebx, dword [edi + 0x18]
movzx eax, dl
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor edx, dword [eax*4 + 0x50fb90]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + 0x510790]
mov eax, ebx
xor edx, dword [edi + 0x1c]
add edi, 0x20
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [edi]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
mov ecx, dword [ecx*4 + 0x510390]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [edi + 4]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor esi, dword [eax*4 + 0x510790]
mov eax, esi
mov dword [ebp - 4], esi
xor eax, dword [edi + 8]
mov ecx, dword [ecx*4 + 0x510390]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
xor ecx, dword [edx*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
cmp eax, 0xc
jle 0x46b281
mov eax, dword [ebp - 4]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov ebx, dword [ecx*4 + 0x50ff90]
mov ecx, dword [ebp - 0xc]
xor ebx, dword [eax*4 + 0x510390]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x50fb90]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x510790]
xor ebx, dword [edi + 0x18]
movzx eax, dl
mov edx, dword [ecx*4 + 0x510390]
xor edx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor edx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x510790]
mov eax, ebx
xor edx, dword [edi + 0x1c]
add edi, 0x20
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x510390]
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [edi]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x510390]
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x510790]
mov eax, edx
xor ecx, dword [edi + 4]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x50ff90]
shr edx, 0x18
xor ecx, dword [eax*4 + 0x510390]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x50fb90]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor esi, dword [eax*4 + 0x510790]
mov eax, esi
mov dword [ebp - 4], esi
xor eax, dword [edi + 8]
mov ecx, dword [ecx*4 + 0x510390]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x50ff90]
xor ecx, dword [edx*4 + 0x50fb90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x510790]
xor ecx, dword [edi + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov ebx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
mov edx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl edx, 8
xor edx, dword [ecx*4 + str.cwko0]
shl edx, 8
xor edx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 8]
movzx eax, al
shl edx, 8
xor edx, dword [eax*4 + str.cwko0]
xor edx, dword [edi + 0x10]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov dword [ebp + 8], edx
mov esi, dword [ebp + 8]
mov edx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
shl edx, 8
xor edx, dword [ecx*4 + str.cwko0]
shl edx, 8
xor edx, dword [eax*4 + str.cwko0]
shl edx, 8
movzx eax, bl
xor edx, dword [eax*4 + str.cwko0]
xor edx, dword [edi + 0x14]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x18
shr edx, 0x18
mov ebx, dword [eax*4 + str.cwko0]
mov edx, dword [edx*4 + str.cwko0]
shl ebx, 8
xor ebx, dword [ecx*4 + str.cwko0]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 8
movzx eax, al
shl ebx, 8
shr ecx, 0x10
shl edx, 8
xor ebx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 0xc]
movzx eax, al
shl ebx, 8
xor ebx, dword [eax*4 + str.cwko0]
xor ebx, dword [edi + 0x18]
movzx eax, cl
mov ecx, dword [ebp + 0xc]
xor edx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
shl edx, 8
xor edx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 4]
movzx eax, al
shl edx, 8
xor edx, dword [eax*4 + str.cwko0]
mov eax, esi
xor edx, dword [edi + 0x1c]
shr eax, 0x18
mov byte [ecx], al
mov eax, esi
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, esi
shr eax, 8
mov byte [ecx + 2], al
mov eax, esi
mov esi, dword [ebp - 0x1c]
mov byte [ecx + 3], al
mov eax, esi
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, esi
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, esi
shr eax, 8
mov byte [ecx + 6], al
mov eax, esi
mov byte [ecx + 7], al
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 8], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 9], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, edx
pop edi
shr eax, 8
pop esi
mov byte [ecx + 0xb], bl
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], dl
pop ebx
mov esp, ebp
pop ebp
ret 8