Function at 0x415920
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
mov dh, byte [eax]
push ebx
push esi
movzx esi, byte [eax + 2]
push edi
mov dl, byte [eax + 1]
push 0x3f
shl edx, 8
or edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
mov edi, edx
xor edx, edx
mov dh, byte [eax + 4]
mov dl, byte [eax + 5]
movzx eax, byte [eax + 7]
shl edx, 8
or edx, esi
shl edx, 8
or edx, eax
mov eax, edi
shr eax, 4
mov esi, edx
xor eax, esi
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
and eax, 0xffff
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov edx, esi
shr edx, 8
xor edx, edi
and edx, 0xff00ff
xor edi, edx
shl edx, 8
xor edx, esi
rol edx, 1
mov esi, edx
xor esi, edi
and esi, 0xaaaaaaaa
xor edx, esi
xor esi, edi
mov edi, dword [ecx]
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr ebx, 0x18
shr edi, 0x10
pop eax
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
rol esi, 1
mov edi, edx
add ecx, 4
xor esi, ebx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov dword [ebp - 4], edi
mov ebx, edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
and edi, eax
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
shr ebx, 0x18
mov dword [ebp - 4], edi
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
and edi, eax
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
shr ebx, 0x18
mov dword [ebp - 4], edi
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
and edi, eax
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
add ecx, 4
mov ebx, edi
shr ebx, 0x18
mov dword [ebp - 4], edi
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
and edi, eax
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
xor esi, ebx
mov edi, dword [ecx]
xor edi, esi
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp - 4], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
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 - 4], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ac28]
xor ebx, dword [edi*4 + 0x50ae28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b028]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b228]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov dword [ebp - 4], edi
mov ebx, edi
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x50ad28]
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x50af28]
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x50b128]
mov edi, dword [ebp - 4]
and edi, eax
xor ebx, dword [edi*4 + 0x50b328]
mov edi, esi
xor edx, ebx
ror edi, 4
xor edi, dword [ecx + 4]
mov ecx, edi
shr ecx, 0x18
and ecx, eax
mov ecx, dword [ecx*4 + 0x50ac28]
mov ebx, edi
shr ebx, 0x10
and ebx, eax
xor ecx, dword [ebx*4 + 0x50ae28]
mov ebx, edi
and edi, eax
shr ebx, 8
and ebx, eax
xor ecx, dword [ebx*4 + 0x50b028]
xor ecx, dword [edi*4 + 0x50b228]
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 eax, 8
xor eax, ecx
and eax, 0xff00ff
xor ecx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
shl eax, 2
xor edx, eax
mov eax, ecx
shr eax, 0x10
xor eax, edx
and eax, 0xffff
xor edx, eax
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor ecx, eax
mov eax, dword [ebp + 8]
mov ebx, ecx
shr ebx, 0x18
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
mov byte [eax + 1], bl
mov ebx, ecx
mov byte [eax + 3], cl
shr ebx, 8
mov ecx, edx
mov byte [eax + 2], bl
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
pop edi
mov ecx, edx
shr ecx, 8
pop esi
mov byte [eax + 6], cl
mov byte [eax + 7], dl
pop ebx
leave
ret