Function at 0x4866de
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], edi
mov eax, dword [edi + 0xf0]
shr eax, 1
mov dword [ebp - 0x18], eax
cmp eax, 7
ja 0x487648
test eax, eax
je 0x487648
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
push ebx
mov ebx, eax
rol eax, 8
and eax, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, eax
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
xor ebx, dword [edi]
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov ecx, 0xff00ff00
xor eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, edx
ror eax, 8
and eax, ecx
rol edx, 8
and edx, 0xff00ff
or eax, edx
xor eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
ror eax, 8
and eax, ecx
rol esi, 8
and esi, 0xff00ff
mov ecx, 0x5112a0
or eax, esi
xor eax, dword [edi + 0xc]
xor esi, esi
mov dword [ebp - 0x14], eax
push 0x20
pop edx
and esi, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x486786
cmp ecx, 0x5122a0
jl 0x486783
shr eax, 0x10
or ebx, esi
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x14]
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 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [edi + 0x14]
shr eax, 0x10
mov dword [ebp - 0xc], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr edx, 8
mov ebx, dword [ecx*4 + 0x5116a0]
mov ecx, dword [ebp - 0x1c]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [edi + 0x18]
movzx eax, dl
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor edx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [edi + 0x1c]
mov edi, dword [ebp - 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + 0x20]
mov eax, edx
mov dword [ebp - 0x1c], ecx
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0xc]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0x10], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0x10], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x5116a0]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor ebx, dword [edx*4 + 0x5112a0]
mov edx, dword [ebp - 0x20]
movzx eax, al
mov edi, dword [ebp - 0x1c]
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [esi + 0x2c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, ebx
xor ecx, dword [esi + 0x30]
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x10]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0xc], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0xc], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x38]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor edx, dword [ebx*4 + 0x5112a0]
movzx eax, al
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [esi + 0x3c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [esi + 0x40]
shr eax, 8
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0xc]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0x10], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0x10], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr ebx, 0x10
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x48]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x5116a0]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor ebx, dword [edx*4 + 0x5112a0]
movzx eax, al
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [esi + 0x4c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, ebx
xor ecx, dword [esi + 0x50]
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x10]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0xc], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0xc], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x58]
mov eax, dword [ebp - 0x10]
shr eax, 8
mov dword [ebp - 0x20], ecx
movzx ecx, dl
movzx eax, al
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor edx, dword [ebx*4 + 0x5112a0]
movzx eax, al
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [esi + 0x5c]
mov ebx, dword [ebp - 0x20]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edi, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [esi + 0x60]
shr eax, 8
mov dword [ebp - 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0xc]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0x10], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0x10], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x68]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x5116a0]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor ebx, dword [edx*4 + 0x5112a0]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
movzx eax, al
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [esi + 0x6c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, ebx
xor ecx, dword [esi + 0x70]
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x10]
mov esi, ecx
shr eax, 0x18
mov dword [ebp - 0xc], ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0xc], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x78]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x20], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor edx, dword [ebx*4 + 0x5112a0]
mov ebx, dword [ebp - 0x20]
movzx eax, al
mov edi, dword [ebp - 8]
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [esi + 0x7c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [esi + 0x80]
shr eax, 8
mov dword [ebp - 0x20], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
shr eax, 0x18
mov esi, ecx
xor esi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor esi, dword [eax*4 + 0x511ea0]
mov dword [ebp - 0x14], esi
mov eax, esi
mov esi, dword [ebp - 4]
xor eax, dword [esi + 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [esi + 0x88]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x1c], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x5116a0]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, edi
xor ebx, dword [edx*4 + 0x5112a0]
movzx eax, al
mov edx, dword [ebp - 0x1c]
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [esi + 0x8c]
mov esi, dword [ebp - 0x20]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + 0x90]
mov eax, ebx
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x511aa0]
xor edi, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor edi, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor edi, dword [eax*4 + 0x511ea0]
mov eax, dword [ebp - 4]
xor edi, dword [eax + 0x94]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [ebp - 0x1c], edi
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov edi, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0x98]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
shr eax, 8
movzx ecx, dl
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
xor ecx, dword [ebx*4 + 0x5112a0]
mov esi, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0x9c]
mov dword [ebp - 0xc], ecx
cmp esi, 5
jbe 0x48749a
mov ebx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x5116a0]
mov edx, dword [ebp - 0x1c]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xa0]
mov eax, dword [ebp - 0xc]
shr eax, 8
mov dword [ebp - 0x20], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [edi + 0xa4]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr edx, 8
mov ebx, dword [ecx*4 + 0x5116a0]
mov ecx, dword [ebp - 0x10]
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [edi + 0xa8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor edx, dword [eax*4 + 0x5112a0]
mov eax, esi
movzx eax, al
mov esi, dword [ebp - 0x20]
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [edi + 0xac]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [edi + 0xb0]
mov dword [ebp - 8], ecx
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x511aa0]
xor edi, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor edi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor edi, dword [eax*4 + 0x511ea0]
mov eax, dword [ebp - 4]
xor edi, dword [eax + 0xb4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [ebp - 0x1c], edi
mov ecx, dword [ecx*4 + 0x5116a0]
mov edi, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xb8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
shr eax, 8
movzx ecx, bl
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
xor ecx, dword [edx*4 + 0x5112a0]
mov esi, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xbc]
mov dword [ebp - 0xc], ecx
cmp esi, 6
jbe 0x48749a
mov ebx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xc0]
mov eax, dword [ebp - 0xc]
shr eax, 8
mov dword [ebp - 0x20], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x511aa0]
mov esi, dword [ebp - 0x20]
xor ecx, dword [eax*4 + 0x5116a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [edi + 0xc4]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x5116a0]
mov ecx, dword [ebp - 0x10]
shr edx, 8
xor ebx, dword [eax*4 + 0x511aa0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ebx, dword [eax*4 + 0x511ea0]
xor ebx, dword [edi + 0xc8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x5116a0]
xor edx, dword [eax*4 + 0x511aa0]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor edx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + 0x511ea0]
xor edx, dword [edi + 0xcc]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5112a0]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
mov eax, edx
xor ecx, dword [edi + 0xd0]
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov edi, dword [ecx*4 + 0x511aa0]
mov eax, esi
shr eax, 0x10
movzx eax, al
xor edi, dword [eax*4 + 0x5116a0]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor edi, dword [eax*4 + 0x5112a0]
movzx eax, bl
xor edi, dword [eax*4 + 0x511ea0]
mov eax, dword [ebp - 4]
xor edi, dword [eax + 0xd4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [ebp - 0x1c], edi
mov ecx, dword [ecx*4 + 0x5116a0]
mov edi, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x5112a0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xd8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
shr eax, 8
movzx ecx, bl
movzx eax, al
mov ecx, dword [ecx*4 + 0x5116a0]
xor ecx, dword [eax*4 + 0x511aa0]
mov eax, esi
xor ecx, dword [edx*4 + 0x5112a0]
mov esi, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x511ea0]
xor ecx, dword [edi + 0xdc]
mov dword [ebp - 0xc], ecx
shl esi, 5
add esi, edi
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov edx, ebx
movzx eax, byte [edx + 0x510178]
add edx, 0x20
and ebx, eax
cmp edx, 0x100
jl 0x4874a6
mov edx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x10
or edx, ebx
movzx eax, al
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
movzx ecx, byte [eax + 0x510178]
mov eax, edx
shr eax, 0x18
mov edx, dword [ebp - 0x10]
movzx eax, byte [eax + 0x510178]
shl eax, 8
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x510178]
xor ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x510178]
xor ecx, eax
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi]
movzx edi, byte [eax + 0x510178]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x510178]
xor edi, eax
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x510178]
xor edi, eax
movzx eax, dl
shl edi, 8
movzx eax, byte [eax + 0x510178]
xor edi, eax
mov eax, edx
xor edi, dword [esi + 4]
shr eax, 0x18
mov edx, dword [ebp - 0xc]
movzx esi, byte [eax + 0x510178]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl esi, 8
shr ebx, 8
movzx eax, byte [eax + 0x510178]
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x510178]
xor esi, eax
movzx eax, dl
shl esi, 8
shr edx, 0x18
movzx eax, byte [eax + 0x510178]
xor esi, eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [edx + 0x510178]
shl edx, 8
xor esi, dword [eax + 8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x510178]
xor edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + 0x510178]
xor edx, eax
shl edx, 8
mov eax, dword [ebp - 8]
mov ebx, 0xff00ff00
movzx eax, al
movzx eax, byte [eax + 0x510178]
xor edx, eax
mov eax, dword [ebp - 0x18]
xor edx, dword [eax + 0xc]
mov eax, ecx
ror eax, 8
and eax, ebx
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edi
ror eax, 8
and eax, ebx
rol edi, 8
and edi, 0xff00ff
or eax, edi
mov edi, 0xff00ff
mov dword [ecx + 4], eax
mov eax, esi
ror eax, 8
and eax, ebx
rol esi, 8
and esi, edi
or eax, esi
mov dword [ecx + 8], eax
mov eax, edx
ror eax, 8
rol edx, 8
and eax, ebx
and edx, edi
or eax, edx
mov dword [ecx + 0xc], eax
xor eax, eax
pop ebx
jmp 0x48764d
mov eax, 0xffffff1e
pop edi
pop esi
leave
ret