Function at 0x542300
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov edx, dword [ecx + 4]
mov esi, 0x1c
mov dword [ebp - 0x10], edx
mov dl, byte [eax + str.91__]
dec dl
mov byte [ebp + 8], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov ecx, edx
and edx, 7
shr ecx, 3
mov cl, byte [ebp + ecx - 0x14]
test byte [edx + 0x73eebc], cl
je 0x542369
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
lea edx, [ebp + edx - 0x1c]
mov cl, byte [ecx + 0x73eebc]
and byte [edx], cl
mov dl, byte [eax + 0x73ef70]
dec dl
mov byte [ebp + 8], dl
mov edx, dword [ebp + 8]
and edx, 0xff
mov ecx, edx
and edx, 7
shr ecx, 3
mov cl, byte [ebp + ecx - 0x14]
test byte [edx + 0x73eebc], cl
je 0x5423a7
mov edx, eax
mov ecx, eax
shr edx, 7
and ecx, 7
lea edx, [ebp + edx - 0x1c]
mov cl, byte [ecx + 0x73eebc]
and byte [edx], cl
inc eax
dec esi
jne 0x54232b
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0x73ef44
mov dword [ebp - 0x10], 0x10
mov edx, dword [ebp - 4]
mov al, byte [edx]
test al, al
jbe 0x54246f
and eax, 0xff
mov esi, eax
mov dl, byte [ebp - 0x1c]
mov al, dl
shl dl, 1
mov byte [ebp - 0x1c], dl
mov dl, byte [ebp - 0x1b]
and al, 0x80
test dl, 0x80
je 0x5423e7
inc byte [ebp - 0x1c]
mov dl, byte [ebp - 0x1b]
shl dl, 1
mov byte [ebp - 0x1b], dl
mov dl, byte [ebp - 0x1a]
test dl, 0x80
je 0x5423fa
inc byte [ebp - 0x1b]
mov dl, byte [ebp - 0x1a]
shl dl, 1
mov byte [ebp - 0x1a], dl
mov dl, byte [ebp - 0x19]
test dl, 0x80
je 0x54240d
inc byte [ebp - 0x1a]
mov dl, byte [ebp - 0x19]
shl dl, 1
test al, al
mov byte [ebp - 0x19], dl
je 0x542420
mov al, dl
add al, 0x10
mov byte [ebp - 0x19], al
mov dl, byte [ebp - 0x18]
mov al, dl
shl dl, 1
mov byte [ebp - 0x18], dl
mov dl, byte [ebp - 0x17]
and al, 0x80
test dl, 0x80
je 0x542437
inc byte [ebp - 0x18]
mov dl, byte [ebp - 0x17]
shl dl, 1
mov byte [ebp - 0x17], dl
mov dl, byte [ebp - 0x16]
test dl, 0x80
je 0x54244a
inc byte [ebp - 0x17]
mov dl, byte [ebp - 0x16]
shl dl, 1
test cl, 0x80
mov byte [ebp - 0x16], dl
je 0x54245c
inc dl
mov byte [ebp - 0x16], dl
shl cl, 1
test al, al
je 0x542465
add cl, 0x10
dec esi
jne 0x5423d0
mov byte [ebp - 0x15], cl
xor esi, esi
mov dword [ebp - 0xc], 0x30
mov dword [ebx + edi], esi
mov dword [ebx + edi + 4], esi
mov al, byte [esi + 0x73ef8c]
dec al
cmp al, 0x1c
mov byte [ebp + 8], al
jae 0x5424ac
mov eax, dword [ebp + 8]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 3
mov dl, byte [ebp + edx - 0x1c]
test byte [eax + 0x73eebc], dl
je 0x5424fb
jmp 0x5424cd
add al, 0xe4
mov byte [ebp + 8], al
mov eax, dword [ebp + 8]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 7
mov dl, byte [ebp + edx - 0x1c]
test byte [eax + 0x73eebc], dl
je 0x5424fb
mov eax, 0x2aaaaaab
mov ecx, 6
imul esi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, esi
add edx, ebx
add edi, edx
cdq
idiv ecx
mov al, byte [edi]
mov cl, byte [ebp - 0x15]
mov dl, byte [edx + 0x73eebc]
or al, dl
mov byte [edi], al
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
inc esi
dec eax
mov dword [ebp - 0xc], eax
jne 0x54247f
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
inc esi
add ebx, 8
dec eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], eax
jne 0x5423bc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4