Function at 0x409af6
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
add eax, 0
mov eax, dword [eax]
bswap eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
bswap eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, ecx
shr eax, 4
xor eax, esi
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x10
xor eax, esi
and eax, 0xffff
xor esi, eax
shl eax, 0x10
xor ecx, eax
mov eax, esi
shr eax, 2
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
shl eax, 2
xor esi, eax
mov edx, esi
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor ecx, edx
shl edx, 8
xor edx, esi
rol edx, 1
mov esi, edx
xor esi, ecx
and esi, 0xaaaaaaaa
xor edx, esi
xor esi, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
push 0x3f
pop eax
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
rol esi, 1
xor esi, ebx
add ecx, 4
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor edx, ebx
mov edi, esi
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
and edi, eax
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
xor esi, ebx
mov edi, dword [ecx]
xor edi, esi
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor edx, ebx
mov edi, esi
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov dword [ebp + 0xc], edi
mov ebx, edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor edx, ebx
mov edi, esi
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
add ecx, 4
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
mov edi, esi
xor edx, ebx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
and edi, eax
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
add ecx, 4
and ebx, eax
and edi, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
mov edi, esi
xor edx, ebx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
shr ebx, 0x18
mov dword [ebp + 0xc], edi
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
and edi, eax
add ecx, 4
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
mov edi, esi
xor edx, ebx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
and edi, eax
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
add ecx, 4
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
mov edi, esi
xor edx, ebx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp + 0xc], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d308]
xor ebx, dword [edi*4 + 0x40d508]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d708]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40d908]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0xc], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x40d408]
and edi, eax
xor ebx, dword [edi*4 + 0x40d608]
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x40d808]
mov edi, dword [ebp + 0xc]
and edi, eax
xor ebx, dword [edi*4 + 0x40da08]
xor edx, ebx
mov edi, esi
ror edi, 4
xor edi, dword [ecx + 4]
mov ecx, edi
shr ecx, 0x18
and ecx, eax
mov ecx, dword [ecx*4 + 0x40d308]
mov ebx, edi
shr ebx, 0x10
and ebx, eax
xor ecx, dword [ebx*4 + 0x40d508]
mov ebx, edi
and edi, eax
shr ebx, 8
and ebx, eax
xor ecx, dword [ebx*4 + 0x40d708]
xor ecx, dword [edi*4 + 0x40d908]
xor ecx, edx
ror ecx, 1
mov eax, ecx
xor eax, esi
and eax, 0xaaaaaaaa
xor ecx, eax
xor eax, esi
ror eax, 1
mov edx, eax
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor ecx, edx
shl edx, 8
xor eax, edx
mov edx, eax
shr edx, 2
xor edx, ecx
and edx, 0x33333333
xor ecx, edx
shl edx, 2
xor eax, edx
mov edx, ecx
shr edx, 0x10
xor edx, eax
and edx, 0xffff
xor eax, edx
shl edx, 0x10
xor ecx, edx
mov edx, ecx
shr edx, 4
xor edx, eax
and edx, 0xf0f0f0f
xor eax, edx
shl edx, 4
xor ecx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
bswap eax
push eax
mov eax, dword [ebp + 0x10]
add eax, 0
pop dword [eax]
mov eax, dword [ebp - 8]
bswap eax
push eax
mov eax, dword [ebp + 0x10]
add eax, 4
pop dword [eax]
pop edi
pop esi
pop ebx
leave
ret 0xc