Function at 0x404b60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x18], edx
push esi
mov esi, dword [esp + 0x28]
push edi
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
xor ecx, eax
movzx edx, byte [esi + 8]
movzx eax, byte [esi + 2]
shl ecx, 8
xor ecx, eax
movzx ebx, byte [esi + 0xc]
movzx eax, byte [esi + 3]
shl ecx, 8
xor ecx, eax
shl edx, 8
xor ecx, dword [ebp]
movzx eax, byte [esi + 5]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
xor ecx, eax
shl ebx, 8
movzx eax, byte [esi + 6]
shl ecx, 8
xor ecx, eax
mov edi, dword [esp + 0x1c]
movzx eax, byte [esi + 7]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 9]
xor edx, eax
xor ecx, dword [ebp + 4]
movzx eax, byte [esi + 0xa]
shl edx, 8
xor edx, eax
mov dword [esp + 0x18], ecx
movzx eax, byte [esi + 0xb]
shl edx, 8
xor edx, eax
movzx eax, byte [esi + 0xd]
xor ebx, eax
xor edx, dword [ebp + 8]
movzx eax, byte [esi + 0xe]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
xor ebx, eax
xor ebx, dword [ebp + 0xc]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, ebx
xor ecx, dword [ebp + 0x10]
shr eax, 8
mov dword [esp + 0x10], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
shr eax, 0x18
mov esi, ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, dl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x2c], esi
xor eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor edx, dword [ebx*4 + 0x468df0]
movzx eax, al
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0x1c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x2c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0x20]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x2c]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x14], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x14], esi
xor eax, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr ebx, 0x10
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x2c]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x4685f0]
xor ebx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor ebx, dword [edx*4 + 0x468df0]
movzx eax, al
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0x2c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, ebx
xor ecx, dword [ebp + 0x30]
shr eax, 8
mov dword [esp + 0x18], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x14]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x2c], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, dl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x2c], esi
xor eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
movzx ecx, dl
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
xor edx, dword [ebx*4 + 0x468df0]
mov ebx, dword [esp + 0x24]
mov eax, edi
movzx eax, al
mov edi, dword [esp + 0x18]
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0x3c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x2c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0x40]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x2c]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x14], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x14], esi
xor eax, dword [ebp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x48]
mov eax, dword [esp + 0x2c]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x4685f0]
xor ebx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor ebx, dword [edx*4 + 0x468df0]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
movzx eax, al
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0x4c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, ebx
xor ecx, dword [ebp + 0x50]
shr eax, 8
mov dword [esp + 0x18], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x14]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x2c], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, dl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x2c], esi
xor eax, dword [ebp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x58]
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor edx, dword [ebx*4 + 0x468df0]
mov ebx, dword [esp + 0x24]
movzx eax, al
mov edi, dword [esp + 0x18]
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0x5c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x2c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0x60]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
shr eax, 0x18
mov esi, ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x14], esi
xor eax, dword [ebp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x68]
mov eax, dword [esp + 0x2c]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, bl
mov ebx, dword [ecx*4 + 0x4685f0]
xor ebx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor ebx, dword [edx*4 + 0x468df0]
movzx eax, al
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0x6c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, ebx
xor ecx, dword [ebp + 0x70]
shr eax, 8
mov dword [esp + 0x18], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x14]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x2c], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, dl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x2c], esi
xor eax, dword [ebp + 0x74]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x78]
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, dl
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
mov eax, edi
xor edx, dword [ebx*4 + 0x468df0]
movzx eax, al
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0x7c]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x2c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0x80]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x2c]
mov esi, ecx
shr eax, 0x18
mov dword [esp + 0x10], ecx
xor esi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor esi, dword [eax*4 + 0x4689f0]
mov eax, esi
mov dword [esp + 0x10], esi
xor eax, dword [ebp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x88]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4685f0]
xor ebx, dword [eax*4 + 0x4691f0]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x468df0]
mov eax, edi
movzx eax, al
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0x8c]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, ebx
xor ecx, dword [ebp + 0x90]
shr eax, 8
mov dword [esp + 0x2c], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x4691f0]
xor edi, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor edi, dword [eax*4 + 0x468df0]
movzx eax, dl
xor edi, dword [eax*4 + 0x4689f0]
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
xor edi, dword [ebp + 0x94]
mov ecx, dword [ecx*4 + 0x4685f0]
mov dword [esp + 0x18], edi
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x98]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
shr eax, 8
movzx eax, al
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
xor ecx, dword [ebx*4 + 0x468df0]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0x9c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp eax, 0xa
jle 0x405962
mov ebx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x10
mov edx, edi
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [esp + 0x2c]
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xa0]
mov eax, dword [esp + 0x10]
shr eax, 8
mov dword [esp + 0x24], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0xa4]
shr eax, 0x10
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr edx, 8
mov ebx, dword [ecx*4 + 0x4685f0]
mov ecx, dword [esp + 0x14]
xor ebx, dword [eax*4 + 0x4691f0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0xa8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x468df0]
mov eax, esi
movzx eax, al
mov esi, dword [esp + 0x24]
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0xac]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0xb0]
mov dword [esp + 0x2c], ecx
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x4691f0]
xor edi, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor edi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor edi, dword [eax*4 + 0x4689f0]
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
xor edi, dword [ebp + 0xb4]
mov ecx, dword [ecx*4 + 0x4685f0]
mov dword [esp + 0x18], edi
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xb8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
shr eax, 8
movzx eax, al
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
xor ecx, dword [edx*4 + 0x468df0]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xbc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp eax, 0xc
jle 0x405962
mov ebx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x10
mov edx, edi
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, dword [esp + 0x2c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xc0]
mov eax, dword [esp + 0x10]
shr eax, 8
mov dword [esp + 0x24], ecx
movzx ecx, al
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4691f0]
mov esi, dword [esp + 0x24]
xor ecx, dword [eax*4 + 0x4685f0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0xc4]
shr eax, 0x10
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, dword [esp + 0x2c]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4685f0]
mov ecx, dword [esp + 0x14]
shr edx, 8
xor ebx, dword [eax*4 + 0x4691f0]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebx, dword [eax*4 + 0x4689f0]
xor ebx, dword [ebp + 0xc8]
movzx eax, dl
mov edx, dword [ecx*4 + 0x4685f0]
xor edx, dword [eax*4 + 0x4691f0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x2c]
movzx eax, al
xor edx, dword [eax*4 + 0x4689f0]
xor edx, dword [ebp + 0xcc]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x468df0]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
mov eax, edx
xor ecx, dword [ebp + 0xd0]
shr eax, 8
mov dword [esp + 0x2c], ecx
movzx ecx, al
mov edi, dword [ecx*4 + 0x4691f0]
mov eax, esi
shr eax, 0x10
movzx eax, al
xor edi, dword [eax*4 + 0x4685f0]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor edi, dword [eax*4 + 0x468df0]
movzx eax, bl
xor edi, dword [eax*4 + 0x4689f0]
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
xor edi, dword [ebp + 0xd4]
mov ecx, dword [ecx*4 + 0x4685f0]
mov dword [esp + 0x18], edi
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x468df0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xd8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
shr eax, 8
movzx eax, al
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x4685f0]
xor ecx, dword [eax*4 + 0x4691f0]
mov eax, esi
xor ecx, dword [edx*4 + 0x468df0]
movzx eax, al
xor ecx, dword [eax*4 + 0x4689f0]
xor ecx, dword [ebp + 0xdc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
shl eax, 4
add ebp, eax
mov ebx, dword [esp + 0x18]
mov eax, ecx
mov edx, dword [esp + 0x30]
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x4695f0]
mov eax, dword [esp + 0x14]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 0x2c]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff000000
xor ecx, eax
movzx eax, bl
movzx eax, byte [eax*4 + 0x4695f0]
xor ecx, eax
xor ecx, dword [ebp]
mov eax, ecx
mov byte [edx + 3], cl
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x4695f0]
mov eax, dword [esp + 0x10]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff00
xor ecx, eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
movzx eax, byte [eax*4 + 0x4695f0]
xor ecx, eax
xor ecx, dword [ebp + 4]
mov eax, ecx
mov byte [edx + 7], cl
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
mov eax, ecx
shr eax, 8
mov byte [edx + 6], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x4695f0]
mov eax, dword [esp + 0x2c]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
shr ebx, 8
pop edi
pop esi
movzx eax, byte [eax*4 + 0x4695f0]
xor ecx, eax
xor ecx, dword [ebp + 8]
mov eax, ecx
mov byte [edx + 0xb], cl
shr eax, 0x18
mov byte [edx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 9], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xa], al
mov eax, dword [esp + 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x4695f0]
movzx eax, bl
and ecx, 0xff0000
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 8]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4695f0]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [esp + 0x24]
movzx eax, al
movzx eax, byte [eax*4 + 0x4695f0]
xor ecx, eax
xor ecx, dword [ebp + 0xc]
mov eax, ecx
mov byte [edx + 0xf], cl
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
pop ebp
mov byte [edx + 0xe], al
pop ebx
add esp, 0x18
ret