Function at 0x476e70
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 + 8], 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 - 0xc], 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 - 8], 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 - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, bl
xor ecx, dword [eax*4 + 0x643440]
mov eax, esi
xor ecx, dword [eax]
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov edx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
shr eax, 8
xor edx, dword [ecx*4 + 0x642840]
movzx eax, al
mov ecx, dword [ebp - 0xc]
shr ebx, 0x18
xor edx, dword [eax*4 + 0x643040]
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*4 + 0x643440]
xor edx, dword [esi + 8]
movzx eax, cl
mov dword [ebp - 0x18], edx
mov edx, dword [ebx*4 + 0x642840]
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + 0x643440]
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 + 0x643040]
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
mov dword [ebp - 8], ecx
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x14]
movzx eax, al
shr edx, 0x18
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x642840]
xor ecx, dword [esi + 8]
mov dword [ebp - 0xc], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
mov ebx, dword [ebp - 0xc]
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor edx, dword [esi + 0xc]
add esi, 0x10
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
shr eax, 8
mov edx, dword [edx*4 + 0x642840]
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 8]
xor ecx, dword [esi + 8]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor edx, dword [esi + 0xc]
add esi, 0x10
mov ebx, dword [ebp - 0x14]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 0xc]
xor ecx, dword [esi + 8]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
xor edx, 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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
mov ebx, dword [ebp - 0x14]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 8]
xor ecx, dword [esi + 8]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
mov ebx, dword [ebp - 0x14]
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
xor edx, dword [esi + 0xc]
add esi, 0x10
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ebp - 0x14]
mov edx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 0xc]
shr eax, 8
xor ecx, dword [esi + 8]
movzx eax, al
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
mov ebx, dword [ebp - 0x14]
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
xor edx, dword [esi + 0xc]
add esi, 0x10
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x643040]
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 8]
movzx eax, al
shr edx, 0x18
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x642840]
xor ecx, dword [esi + 8]
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
mov ebx, dword [ebp - 0x14]
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor edx, dword [esi + 0xc]
add esi, 0x10
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [edx*4 + 0x642840]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [ebp - 0xc]
xor ecx, dword [esi + 8]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], ecx
xor edx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor edx, dword [eax*4 + 0x643440]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor edx, dword [esi + 0xc]
add esi, 0x10
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
mov eax, esi
xor ecx, dword [eax]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov eax, dword [eax*4 + 0x642c40]
shr edx, 0x18
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*4 + 0x643440]
mov eax, ebx
mov dword [ebp + 8], ebx
xor eax, dword [esi + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
movzx eax, cl
mov ecx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x643440]
mov eax, dword [edi + 0x28c]
mov edi, esi
xor ecx, dword [esi + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jle 0x477a02
mov esi, dword [ebp + 8]
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 + 0x643040]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, esi
shr ecx, 0x18
shr dword [ebp - 8], 0x18
mov ebx, dword [eax*4 + 0x642c40]
xor ebx, dword [ecx*4 + 0x642840]
mov ecx, edx
mov edx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
xor ebx, dword [eax*4 + 0x643040]
movzx eax, dl
shr edx, 8
xor ebx, dword [eax*4 + 0x643440]
xor ebx, dword [edi + 0x18]
movzx eax, dl
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x642840]
xor edx, dword [eax*4 + 0x643040]
movzx eax, cl
xor edx, dword [eax*4 + 0x642c40]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + 0x643440]
mov eax, ebx
xor edx, dword [edi + 0x1c]
add edi, 0x20
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [edi]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov ecx, dword [ecx*4 + 0x643040]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [edi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx eax, cl
shr ecx, 8
xor esi, dword [eax*4 + 0x643440]
mov eax, esi
mov dword [ebp + 8], esi
xor eax, dword [edi + 8]
mov dword [ebp + 8], eax
movzx eax, cl
mov ecx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
cmp eax, 0xc
jle 0x477c02
mov eax, dword [ebp + 8]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
shr ecx, 0x18
mov ebx, dword [eax*4 + 0x642c40]
shr dword [ebp - 8], 0x18
xor ebx, dword [ecx*4 + 0x642840]
mov ecx, edx
mov edx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
xor ebx, dword [eax*4 + 0x643040]
movzx eax, dl
shr edx, 8
xor ebx, dword [eax*4 + 0x643440]
xor ebx, dword [edi + 0x18]
movzx eax, dl
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x642840]
xor edx, dword [eax*4 + 0x643040]
movzx eax, cl
xor edx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp + 8]
movzx eax, al
xor edx, dword [eax*4 + 0x643440]
mov eax, ebx
xor edx, dword [edi + 0x1c]
add edi, 0x20
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x643040]
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
movzx eax, dl
xor ecx, dword [eax*4 + 0x643440]
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 + 0x643040]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x642840]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x643440]
mov eax, edx
xor ecx, dword [edi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x642c40]
xor eax, dword [ecx*4 + 0x642840]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x643040]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx eax, cl
shr ecx, 8
xor esi, dword [eax*4 + 0x643440]
mov eax, esi
mov dword [ebp + 8], esi
xor eax, dword [edi + 8]
mov dword [ebp + 8], eax
movzx eax, cl
mov ecx, dword [edx*4 + 0x642840]
xor ecx, dword [eax*4 + 0x643040]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x642c40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x643440]
xor ecx, dword [edi + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, edx
shr eax, 0x18
mov ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 8]
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
movzx eax, dl
mov edx, dword [ebp - 8]
shl ecx, 8
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 8]
xor ecx, dword [edi + 0x14]
shr eax, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax*4 + str.cwko0]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ebx, 8
shr edx, 0x18
xor ebx, dword [eax*4 + str.cwko0]
mov eax, ecx
shr eax, 8
mov edx, dword [edx*4 + str.cwko0]
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 + 8]
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 - 0x14]
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