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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx ecx, byte [edx]
shl ecx, 8
mov dword [ebp - 0x1c], eax
push ebx
push esi
lea esi, [eax + 0x100]
movzx ebx, byte [edx + 0xc]
movzx eax, byte [edx + 1]
or ecx, eax
shl ebx, 8
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
xor ecx, dword [esi]
mov dword [ebp - 0x14], 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 - 0x18], 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 - 0x10], ecx
movzx eax, byte [edx + 0xf]
mov edx, dword [ebp - 0x10]
shl ebx, 8
or ebx, eax
xor ebx, dword [esi + 0xc]
add esi, 0x10
mov eax, ebx
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
push edi
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
movzx eax, cl
xor edi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 0xc], edi
mov eax, edi
mov edi, dword [ebp - 8]
xor eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
shr ecx, 0x18
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x10], eax
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, dl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x10], ecx
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, esi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, bl
shr ebx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 8]
movzx eax, dl
mov edx, dword [ebx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
add edi, 0x10
mov eax, edx
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 8]
xor eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x14], eax
mov eax, edi
mov ecx, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, edi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [esi + 8]
movzx eax, bl
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [esi + 0xc]
add esi, 0x10
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 0x10
mov esi, dword [ebp - 4]
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
movzx eax, cl
shr ecx, 0x18
xor edi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 0xc], edi
mov eax, edi
mov edi, dword [ebp - 8]
xor eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, esi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
shr ebx, 0x10
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [edi + 8]
movzx eax, bl
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
add edi, 0x10
mov eax, edx
mov dword [ebp - 8], edi
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edi, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 8]
xor eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x14], eax
mov eax, edi
mov ecx, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, edi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [esi + 8]
movzx eax, bl
mov dword [ebp - 0x18], ecx
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
movzx eax, al
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [esi + 0xc]
add esi, 0x10
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [ebp - 4]
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
movzx eax, cl
shr ecx, 0x18
xor edi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 0xc], edi
mov eax, edi
mov edi, dword [ebp - 8]
xor eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x10], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, esi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [edi + 8]
movzx eax, bl
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
add edi, 0x10
mov eax, edx
mov dword [ebp - 8], edi
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
shr eax, 8
movzx eax, al
mov edi, dword [ebp - 0xc]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 8]
xor eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x14], eax
mov eax, edi
mov ecx, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [esi + 4]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, edi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [esi + 8]
movzx eax, bl
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp - 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [esi + 0xc]
add esi, 0x10
mov eax, edx
mov dword [ebp - 8], esi
mov esi, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
movzx eax, cl
xor edi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 0xc], edi
mov eax, edi
mov edi, dword [ebp - 8]
shr ecx, 0x18
xor eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
mov ecx, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, esi
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [edi + 8]
movzx eax, bl
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp - 0x10]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
add edi, 0x10
mov eax, edx
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
movzx eax, cl
shr ecx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 0x10], esi
mov eax, esi
mov esi, dword [ebp - 8]
xor eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0x14], eax
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [esi + 4]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, edi
shr eax, 8
mov edi, esi
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [edi + 8]
movzx eax, bl
mov dword [ebp - 8], ecx
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
add edi, 0x10
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 4]
movzx eax, cl
shr ecx, 0x18
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, ebx
mov dword [ebp - 4], ebx
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, edx
mov ebx, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr eax, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
movzx eax, al
shr ebx, 0x10
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 8]
shr eax, 8
movzx eax, al
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov eax, esi
xor eax, dword [edi + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 8], eax
movzx eax, bl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, cl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, dword [ebp - 0x1c]
xor edx, dword [edi + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x200]
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jle 0x57e5a5
mov esi, dword [ebp - 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov ebx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, edx
xor ecx, dword [edi + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, ebx
shr ecx, 0x18
mov edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
shr eax, 0x10
xor edx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, ebx
xor edx, dword [edi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
mov ebx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, esi
mov ecx, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, cl
shr ecx, 0x18
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
movzx eax, dl
mov edx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ebx, dword [edi + 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0x1c]
add edi, 0x20
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
movzx eax, cl
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov dword [ebp - 4], esi
mov eax, esi
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov esi, dword [ebp - 8]
shr eax, 8
movzx eax, al
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov eax, esi
xor eax, dword [edi + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 8], eax
movzx eax, bl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, cl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
cmp eax, 0xc
jle 0x57e7aa
mov ebx, dword [ebp - 0xc]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, edx
xor ecx, dword [edi + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, ebx
shr ecx, 0x18
mov edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 4]
xor edx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, ebx
xor edx, dword [edi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
mov ebx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, cl
shr ecx, 0x18
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
movzx eax, dl
mov edx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ebx, dword [edi + 0x18]
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0x1c]
add edi, 0x20
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
movzx eax, cl
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov eax, esi
mov dword [ebp - 4], esi
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
mov eax, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
xor eax, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor ecx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov esi, dword [ebp - 8]
shr eax, 8
movzx eax, al
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, dl
shr edx, 0x18
xor esi, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable2]
mov eax, esi
xor eax, dword [edi + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 8], eax
movzx eax, bl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable1]
movzx eax, cl
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_InverseTable3]
xor edx, dword [edi + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
shr eax, 0x18
mov ebx, dword [ebp - 0xc]
mov ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov edx, dword [ebp - 8]
shl ecx, 8
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
shl ecx, 8
movzx eax, bl
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, ebx
xor ecx, dword [edi + 0x10]
shr eax, 0x18
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
shl ecx, 8
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
movzx eax, dl
shl ecx, 8
xor ecx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, edx
xor ecx, dword [edi + 0x14]
shr eax, 0x18
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl ebx, 8
shr ecx, 8
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl ebx, 8
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
movzx eax, dl
shr edx, 0x18
shl ebx, 8
xor ebx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov edx, dword [edx*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, dword [ebp - 8]
xor ebx, dword [edi + 0x18]
shr eax, 0x10
movzx eax, al
shl edx, 8
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
movzx eax, cl
mov ecx, dword [sym.P_Interface.bpl__Skht30_wg_myresult]
shl edx, 8
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
mov eax, dword [ebp - 4]
movzx eax, al
shl edx, 8
xor edx, dword [eax*4 + sym.P_Interface.bpl__Skht30_wg_LastInverseTable]
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
mov byte [ecx + 0xb], bl
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 + 0xe], al
mov byte [ecx + 0xf], dl
pop ebx
mov esp, ebp
pop ebp
ret