Function at 0x545140
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 + 0x742fec]
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 + 0x742f54], cl
je 0x5451a9
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
lea edx, [ebp + edx - 0x1c]
mov cl, byte [ecx + 0x742f54]
and byte [edx], cl
mov dl, byte [eax + 0x743008]
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 + 0x742f54], cl
je 0x5451e7
mov edx, eax
mov ecx, eax
shr edx, 7
and ecx, 7
lea edx, [ebp + edx - 0x1c]
mov cl, byte [ecx + 0x742f54]
and byte [edx], cl
inc eax
dec esi
jne 0x54516b
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0x742fdc
mov dword [ebp - 0x10], 0x10
mov edx, dword [ebp - 4]
mov al, byte [edx]
test al, al
jbe 0x5452af
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 0x545227
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 0x54523a
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 0x54524d
inc byte [ebp - 0x1a]
mov dl, byte [ebp - 0x19]
shl dl, 1
test al, al
mov byte [ebp - 0x19], dl
je 0x545260
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 0x545277
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 0x54528a
inc byte [ebp - 0x17]
mov dl, byte [ebp - 0x16]
shl dl, 1
test cl, 0x80
mov byte [ebp - 0x16], dl
je 0x54529c
inc dl
mov byte [ebp - 0x16], dl
shl cl, 1
test al, al
je 0x5452a5
add cl, 0x10
dec esi
jne 0x545210
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 + 0x743024]
dec al
cmp al, 0x1c
mov byte [ebp + 8], al
jae 0x5452ec
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 + 0x742f54], dl
je 0x54533b
jmp 0x54530d
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 + 0x742f54], dl
je 0x54533b
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 + 0x742f54]
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 0x5452bf
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 0x5451fc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4