Function at 0x10174d74
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 8]
je 0x10174d86
add ecx, 0x80
mov eax, dword [ebp + 0xc]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
pop eax
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
rol esi, 1
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 + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
add ecx, 4
xor esi, ebx
mov edi, edx
ror edi, 4
xor edi, dword [ecx]
mov dword [ebp + 0x14], edi
mov ebx, edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
add ecx, 4
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
and edi, eax
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
and edi, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
and edi, eax
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
and edi, eax
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr edi, 0x10
and edi, eax
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor edx, ebx
xor edi, edx
mov ebx, edi
mov dword [ebp + 0x14], edi
shr edi, 0x10
shr ebx, 0x18
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x14], edi
shr ebx, 0x18
shr edi, 0x10
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0a38]
xor ebx, dword [edi*4 + 0x101a0c38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0e38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1038]
mov edi, dword [ecx]
xor esi, ebx
xor edi, esi
mov ebx, edi
shr ebx, 0x18
and ebx, eax
mov ebx, dword [ebx*4 + 0x101a0b38]
mov dword [ebp + 0x14], edi
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x101a0d38]
mov edi, dword [ebp + 0x14]
shr edi, 8
and edi, eax
xor ebx, dword [edi*4 + 0x101a0f38]
mov edi, dword [ebp + 0x14]
and edi, eax
xor ebx, dword [edi*4 + 0x101a1138]
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 + 0x101a0a38]
mov ebx, edi
shr ebx, 0x10
and ebx, eax
xor ecx, dword [ebx*4 + 0x101a0c38]
mov ebx, edi
and edi, eax
shr ebx, 8
and ebx, eax
xor ecx, dword [ebx*4 + 0x101a0e38]
xor ecx, dword [edi*4 + 0x101a1038]
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 + 0x10]
mov ebx, ecx
shr ebx, 0x18
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 3], cl
mov byte [eax + 2], bl
mov ecx, edx
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
pop ebp
ret